ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.id
Class ObjectIdentifierId

java.lang.Object
  extended by ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.id.ObjectIdentifierId
All Implemented Interfaces:
IObjectId, java.io.Serializable
Direct Known Subclasses:
ExperimentIdentifierId, MetaprojectIdentifierId, ProjectIdentifierId, SampleIdentifierId

@JsonObject(value="ObjectIdentifierId")
public abstract class ObjectIdentifierId
extends java.lang.Object
implements IObjectId

Base class for ids that identify objects by identifier.

See Also:
Serialized Form

Constructor Summary
ObjectIdentifierId(java.lang.String identifier)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getIdentifier()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectIdentifierId

public ObjectIdentifierId(java.lang.String identifier)
Method Detail

getIdentifier

public java.lang.String getIdentifier()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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