com.ibm.itim.common
Class ValueObject
java.lang.Object
|
+--com.ibm.itim.common.ValueObject
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- AttributeChangeOperation, AttributeValue
- public class ValueObject
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
This class is the base class for all value oriented objects
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
clone()
Creates a new object of the same class as this object. |
boolean |
equals(java.lang.Object obj)
Overwrite the equals() method of Object |
int |
hashCode()
Overwrite the hashCode() method of Object |
java.lang.String |
toString()
Overwrite the default implementation of Object.toString() |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ValueObject
public ValueObject()
toString
public java.lang.String toString()
- Overwrite the default implementation of Object.toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overwrite the equals() method of Object
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overwrite the hashCode() method of Object
- Overrides:
hashCode
in class java.lang.Object
clone
public java.lang.Object clone()
- Creates a new object of the same class as this object.
- Returns:
- a new Object if successful, null otherwise.