|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.XRTIObjectClassHandle
Type-safe handle for an object class. Generally these are created by the run-time infrastructure and passed to the user.
| Constructor Summary | |
protected |
XRTIObjectClassHandle(long pIdentifier)
Constructor. |
| Method Summary | |
void |
encode(byte[] buffer,
int offset)
Encodes this object handle, placing the result into the specified buffer. |
int |
encodedLength()
Returns the encoded length of this object class handle. |
boolean |
equals(java.lang.Object otherObjectClassHandle)
Checks this object class handle for equality with another. |
protected long |
getIdentifier()
Returns this handle's unique identifier. |
int |
hashCode()
Computes and returns a hash code corresponding to this object class handle. |
java.lang.String |
toString()
Returns a string representation of this object class handle. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected XRTIObjectClassHandle(long pIdentifier)
pIdentifier - the object class identifier| Method Detail |
protected long getIdentifier()
public boolean equals(java.lang.Object otherObjectClassHandle)
equals in interface ObjectClassHandleotherObjectClassHandle - the other object class handle
true if the object class handles refer
to the same object class, false otherwisepublic int hashCode()
hashCode in interface ObjectClassHandlepublic int encodedLength()
encodedLength in interface ObjectClassHandle
public void encode(byte[] buffer,
int offset)
encode in interface ObjectClassHandlebuffer - the buffer to contain the encoded valueoffset - the offset within the buffer at which to store
the encoded valuepublic java.lang.String toString()
toString in interface ObjectClassHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||