org.apache.pluto.portalImpl.util
Class ObjectID
java.lang.Object
org.apache.pluto.portalImpl.util.ObjectID
- All Implemented Interfaces:
- java.io.Serializable
public class ObjectID
- extends java.lang.Object
- implements java.io.Serializable
Wraps around the internal Object IDs. By holding both
the string and the integer version of an Object ID this class
helps speed up the internal processing.
- See Also:
- Serialized Form
Constructor Summary |
private |
ObjectID(int oid,
java.lang.String stringOID)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
stringOID
private java.lang.String stringOID
intOID
private int intOID
ObjectID
private ObjectID(int oid,
java.lang.String stringOID)
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
intValue
public int intValue()
createFromString
public static ObjectID createFromString(java.lang.String idStr)