net.sf.gilead.core.serialization
Class SerializableId

java.lang.Object
  extended by net.sf.gilead.core.serialization.SerializableId
All Implemented Interfaces:
java.io.Serializable

public class SerializableId
extends java.lang.Object
implements java.io.Serializable

Id / Class structure for proxy information collection handling

Author:
bruno.marchesson
See Also:
Serialized Form

Field Summary
protected  java.lang.String className
          The associated class name
protected  java.lang.Integer hashCode
          Hash code for non persistent and transient values
protected  java.io.Serializable id
          The underlying id
 
Constructor Summary
SerializableId()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getClassName()
           
 java.lang.Integer getHashCode()
           
 java.io.Serializable getId()
           
 void setClassName(java.lang.String className)
           
 void setHashCode(java.lang.Integer hashCode)
           
 void setId(java.io.Serializable id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.io.Serializable id
The underlying id


hashCode

protected java.lang.Integer hashCode
Hash code for non persistent and transient values


className

protected java.lang.String className
The associated class name

Constructor Detail

SerializableId

public SerializableId()
Method Detail

getId

public java.io.Serializable getId()
Returns:
the id

setId

public void setId(java.io.Serializable id)
Parameters:
id - the id to set

getHashCode

public java.lang.Integer getHashCode()
Returns:
the hashCode

setHashCode

public void setHashCode(java.lang.Integer hashCode)
Parameters:
hashCode - the hashCode to set

getClassName

public java.lang.String getClassName()
Returns:
the className

setClassName

public void setClassName(java.lang.String className)
Parameters:
className - the className to set

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object