|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.object.IeAttributeIdentifier
Field Summary | |
private static String |
_serialVersion
|
protected TypeInstanceIdentifier |
context
|
protected DefinitionIdentifier |
definitionIdentifier
|
private String |
externalForm
|
private int |
hashcode
|
protected InstanceIdentifier |
instanceIdentifier
|
private static String |
RESOURCE
|
Fields inherited from interface com.ptc.core.meta.common.Identifier |
CONTEXT_SEPARATOR, INSTANCE_DATA_SEPARATOR, PROTOCOL_SEPARATOR |
Constructor Summary | |
IeAttributeIdentifier()
default no arg constructor to be used for de-serialization |
|
IeAttributeIdentifier(TypeInstanceIdentifier context,
AttributeTypeIdentifier defnId,
InstanceIdentifier instanceId)
Constructor. |
Method Summary | |
int |
compareFreshness(ElementIdentifier elementId)
The compareFreshness() method computes the "freshness distance" between the two objects (the one the method is applied on and the one provided in parameters). |
boolean |
equals(Object object)
Indicates whether some other object is "equal to" this one. |
TypeInstanceIdentifier |
getContext()
Returns the type instance identifier associated with this attribute identifier. |
DefinitionIdentifier |
getDefinitionIdentifier()
Returns the definition identifier associated with this attribute identifier. |
String |
getInstanceDataExternalForm()
Return a string that represents the Instance Data's external form. |
InstanceIdentifier |
getInstanceIdentifier()
Returns the instance identifier associated with this attribute identifier. |
TypeInstanceIdentifier |
getRootContext()
Supported API: false |
AttributeIdentifier |
getWithNewContext(TypeInstanceIdentifier ctx)
Supported API: false |
ElementIdentifier |
getWithNewInstanceIdentifier(InstanceIdentifier instanceId)
Returns a copy of this attribute identifier with a new instance identifier. |
AttributeIdentifier |
getWithTailContext()
Supported API: false |
AttributeIdentifier |
getWithTrimmedContext(AssociationIdentifier context)
Supported API: false |
int |
hashCode()
Returns a hash code value for the object. |
void |
initialize(ElementIdentifier elementId)
|
boolean |
isEquivalentAttributeIdentifier(AttributeIdentifier attrId)
Supported API: false |
boolean |
isInitialized()
This method will return true when this ElementIdentifier instance contains a InstanceIdentifier. |
boolean |
isInstanceOf(DefinitionIdentifier defnId)
Returns true if this attribute identifier is an instance of a specific definition identifier. |
void |
readExternal(ObjectInput in)
|
ElementIdentifier |
replace(TypeInstanceIdentifier old_id,
TypeInstanceIdentifier new_id)
Supported API: false |
String |
toExternalForm()
Return the external form of this Identifier. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
protected TypeInstanceIdentifier context
protected DefinitionIdentifier definitionIdentifier
protected InstanceIdentifier instanceIdentifier
private String externalForm
private int hashcode
private static final String _serialVersion
Constructor Detail |
public IeAttributeIdentifier()
public IeAttributeIdentifier(TypeInstanceIdentifier context, AttributeTypeIdentifier defnId, InstanceIdentifier instanceId)
context
- defnId
- instanceId
- Method Detail |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean isEquivalentAttributeIdentifier(AttributeIdentifier attrId)
AttributeIdentifier
isEquivalentAttributeIdentifier
in interface AttributeIdentifier
attrId
-
public AttributeIdentifier getWithNewContext(TypeInstanceIdentifier ctx)
AttributeIdentifier
getWithNewContext
in interface AttributeIdentifier
ctx
-
public void initialize(ElementIdentifier elementId)
elementId
- public ElementIdentifier getWithNewInstanceIdentifier(InstanceIdentifier instanceId)
getWithNewInstanceIdentifier
in interface ElementIdentifier
instanceId
- The new instance identifier.
public AttributeIdentifier getWithTrimmedContext(AssociationIdentifier context)
AttributeIdentifier
getWithTrimmedContext
in interface AttributeIdentifier
context
-
public TypeInstanceIdentifier getContext()
getContext
in interface AttributeIdentifier
public int compareFreshness(ElementIdentifier elementId) throws ComparisonImpossibleException
compareFreshness
in interface ElementIdentifier
elementId
-
ComparisonImpossibleException
public boolean isInstanceOf(DefinitionIdentifier defnId)
isInstanceOf
in interface ElementIdentifier
defnId
- The definition identifier.
public boolean isInitialized()
isInitialized
in interface ElementIdentifier
public String getInstanceDataExternalForm()
getInstanceDataExternalForm
in interface ElementIdentifier
public DefinitionIdentifier getDefinitionIdentifier()
getDefinitionIdentifier
in interface ElementIdentifier
public InstanceIdentifier getInstanceIdentifier()
getInstanceIdentifier
in interface ElementIdentifier
public String toExternalForm()
toExternalForm
in interface Identifier
public boolean equals(Object object)
equals
in interface Identifier
object
-
public int hashCode()
hashCode
in interface Identifier
public String toString()
public TypeInstanceIdentifier getRootContext()
AttributeIdentifier
getRootContext
in interface AttributeIdentifier
public AttributeIdentifier getWithTailContext()
AttributeIdentifier
getWithTailContext
in interface AttributeIdentifier
public ElementIdentifier replace(TypeInstanceIdentifier old_id, TypeInstanceIdentifier new_id) throws IllegalFormatException
AttributeIdentifier
replace
in interface AttributeIdentifier
old_id
- new_id
-
IllegalFormatException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |