public abstract class AbstractInfoObject extends ImmutableDataObject
equals()
, hashCode()
and toString()
are defined in terms of the information object's name.Constructor and Description |
---|
AbstractInfoObject(java.lang.String protocolName,
java.lang.String apiName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares some other Object to this one for equality.
|
int |
hashCode()
Returns a hash code value for this object.
|
java.lang.String |
toString()
Stringize this AbstractInfoObject to the name of the object.
|
clone, isReadOnly, setReadOnly
public AbstractInfoObject(java.lang.String protocolName, java.lang.String apiName)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object