org.eclipse.mat.inspections.osgi.model.eclipse
Class Extension

java.lang.Object
  extended by org.eclipse.mat.inspections.osgi.model.eclipse.Extension

public class Extension
extends java.lang.Object


Constructor Summary
Extension(int objectId, java.lang.Integer extensionId, java.lang.String[] properties)
           
 
Method Summary
 void addConfigurationElement(ConfigurationElement configurationElement)
           
 boolean equals(java.lang.Object obj)
           
 java.util.List<ConfigurationElement> getConfigurationElements()
           
 BundleDescriptor getContributedBy()
          Get descriptor of the bundle contributing this extension
 java.lang.String getContributorId()
          Get unique id of the bundle contributing this extension
 java.lang.Integer getExtensionId()
          Get extension's unique identifier.
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 int getObjectId()
          Get objectId of the Extension in the heap dump
 int hashCode()
           
 void setContributedBy(BundleDescriptor contributedBy)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extension

public Extension(int objectId,
                 java.lang.Integer extensionId,
                 java.lang.String[] properties)
Method Detail

getObjectId

public int getObjectId()
Get objectId of the Extension in the heap dump

Returns:
int objectId

getExtensionId

public java.lang.Integer getExtensionId()
Get extension's unique identifier. This extension is assigned a unique identifier by the Framework.

Returns:
Integer extension's unique identifier

getName

public java.lang.String getName()
Returns:
String extension's fully qualified name

getLabel

public java.lang.String getLabel()
Returns:
String human readable name of the extension

getContributorId

public java.lang.String getContributorId()
Get unique id of the bundle contributing this extension

Returns:
String unique id of the bundle contributing this extension

setContributedBy

public void setContributedBy(BundleDescriptor contributedBy)

getContributedBy

public BundleDescriptor getContributedBy()
Get descriptor of the bundle contributing this extension

Returns:
BundleDescriptor of the bundle contributing this extension

getConfigurationElements

public java.util.List<ConfigurationElement> getConfigurationElements()

addConfigurationElement

public void addConfigurationElement(ConfigurationElement configurationElement)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object