net.sf.gilead.core.serialization
Class SerializableId
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SerializableId
public SerializableId()
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