org.jboss.serial.objectmetamodel
Class ObjectReference
java.lang.Object
org.jboss.serial.objectmetamodel.DataExport
org.jboss.serial.objectmetamodel.ObjectReference
- public class ObjectReference
- extends DataExport
Class used as a tag to the ObjectId used as a reference.
- Author:
- clebert suconic
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ObjectReference
public ObjectReference()
ObjectReference
public ObjectReference(int hashUniqueId,
java.lang.String className)
ObjectReference
public ObjectReference(java.lang.Object obj)
ObjectReference
public ObjectReference(java.lang.Object obj,
java.lang.String className)
getHashUniqueId
public int getHashUniqueId()
- Returns:
- Returns the hashUniqueId.
setHashUniqueId
public void setHashUniqueId(int hashUniqueId)
- Parameters:
hashUniqueId
- The hashUniqueId to set.
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
toString
public java.lang.String toString()
writeMyself
public void writeMyself(java.io.DataOutput output)
throws java.io.IOException
- Throws:
java.io.IOException
readMyself
public void readMyself(java.io.DataInput input)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
JBoss Serialization, a new approach to java-serialization.