com.intersys.objects
Class Oid
java.lang.Object
com.intersys.objects.Oid
- All Implemented Interfaces:
- Comparable, Serializable
- public class Oid
- extends Object
- implements Serializable, Comparable
- See Also:
Id
,
Serialized Form
Oid
public Oid(String id,
String classname)
Oid
public Oid(String id)
Oid
public Oid(Id id,
String classname)
Oid
public Oid(int id,
String classname)
Oid
public Oid(int id)
Oid
public Oid(Object list)
Oid
public Oid(byte[] binarydata)
getData
public byte[] getData()
getClassName
public String getClassName()
throws CacheException
- Throws:
CacheException
getId
public Id getId()
throws CacheException
- Returns object identity for this object without it's class name.
- Returns:
com.intersys.objects.Id
object,
corresponding to this object Oid.
- Throws:
CacheException
toIdString
public String toIdString()
- Deprecated. Please use getId().toString() instead.
undefined
public boolean undefined()
throws SystemError
- Throws:
SystemError
toString
public String toString()
equals
public boolean equals(Object obj)
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
hashCode
public int hashCode()