public final class StructuredReference
extends com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReference
IStructuredReferenceProvider.
Supporting Structured References of the StructuredReference can be used to build a relation between Structured References.
IStructuredReferenceProvider| Modifier and Type | Class and Description |
|---|---|
static class |
StructuredReference.StructuredReferenceIterator
A StructuredReference may contain supporting StructuredReference objects.
|
com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReference.InternalStructuredReferenceIterator, com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReference.StructuredReference6_0Parser, com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReference.StructuredReferenceParser| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
An
obj is equal to this, if and only if
its object instances are equal or its an instanceof StructuredReference with
same handlerId, same props and same supportingStructuredReferences. |
protected static com.ibm.xtools.mmi.core.internal.ref.IStructuredReferenceFactory |
getFactory() |
java.lang.String[] |
getProperties()
Returns an array of all the properties for this
StructuredReference. |
java.lang.String |
getProperty(java.lang.String name)
Returns the value of a specified property for this
StructuredReference. |
java.lang.String |
getProviderId()
Returns the id of the provider managing this
StructuredReference |
StructuredReference |
getSupportingStructuredReference(int index)
Return the supporting
StructuredReference at the specified index. |
int |
getSupportingStructuredReferenceCount()
Return the number of supporting
StructuredReferences. |
StructuredReference[] |
getSupportingStructuredReferences()
Returns an array of Supporting
StructuredReferences. |
int |
hashCode()
Hashcode of a
StructuredReference is defined as sum of hash of
handlerId, props and supportingStructuredReferences. |
static void |
init() |
java.lang.String |
toString()
Returns the serialized form of this
StructuredReference |
equalsFastCompareSupportingRefs, getIsolatedCopy, getSerializedForm, internalGetSupportingStructuredReference, internalReplaceSupportingStructuredReference, isolatedFromString, isolatedFromString6_0, memoryOptimizedFromString, setFactory, setSerializedFormprotected static com.ibm.xtools.mmi.core.internal.ref.IStructuredReferenceFactory getFactory()
public static void init()
public StructuredReference[] getSupportingStructuredReferences()
StructuredReferences.public StructuredReference getSupportingStructuredReference(int index)
StructuredReference at the specified index.index - Index of the supporting StructuredReferenceStructuredReference.java.lang.ArrayIndexOutOfBoundsException - if specified index is out of boundspublic java.lang.String[] getProperties()
StructuredReference.getProperties in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceStructuredReferencepublic java.lang.String getProperty(java.lang.String name)
StructuredReference.getProperty in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferencename - Name of the propertynull if this property doesn't exist in the StructuredReferencepublic int getSupportingStructuredReferenceCount()
StructuredReferences.getSupportingStructuredReferenceCount in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceStructuredReferencespublic java.lang.String getProviderId()
StructuredReferencegetProviderId in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferencepublic java.lang.String toString()
com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceStructuredReferencetoString in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceObject.toString()public boolean equals(java.lang.Object obj)
com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceobj is equal to this, if and only if
its object instances are equal or its an instanceof StructuredReference with
same handlerId, same props and same supportingStructuredReferences.equals in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceObject.equals(java.lang.Object)public int hashCode()
com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceStructuredReference is defined as sum of hash of
handlerId, props and supportingStructuredReferences.hashCode in class com.ibm.xtools.mmi.core.internal.ref.InternalStructuredReferenceObject.hashCode()