|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.object.IeInstanceIdentifier
Field Summary | |
private static String |
_serialVersion
|
private String |
externalForm
|
private int |
hashcode
|
static String |
PROTOCOL
|
Fields inherited from interface com.ptc.core.meta.common.Identifier |
CONTEXT_SEPARATOR, INSTANCE_DATA_SEPARATOR, PROTOCOL_SEPARATOR |
Constructor Summary | |
IeInstanceIdentifier()
default no arg constructor to be used for de-serialization |
|
IeInstanceIdentifier(String id)
Constructor. |
Method Summary | |
int |
compareFreshness(InstanceIdentifier instanceId)
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. |
String |
getId()
Returns the current identifier value. |
int |
hashCode()
Returns a hash code value for the object. |
void |
readExternal(ObjectInput in)
|
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 |
public static final String PROTOCOL
private String externalForm
private int hashcode
private static final String _serialVersion
Constructor Detail |
public IeInstanceIdentifier()
public IeInstanceIdentifier(String id)
id
- The identifier value.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 String getId()
public int compareFreshness(InstanceIdentifier instanceId) throws ComparisonImpossibleException
compareFreshness
in interface InstanceIdentifier
instanceId
-
ComparisonImpossibleException
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()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |