Class ObjectIdentifier

  • All Implemented Interfaces:
    Direct Known Subclasses:
    ExperimentIdentifier, ProjectIdentifier, SampleIdentifier

    public abstract class ObjectIdentifier
    extends java.lang.Object
    implements IObjectId
    Base class for ids that identify objects by identifiers. An identifier is a mutable user-defined string. An identifier is assigned to an object during the object creation but can change afterwards. An object's identifier is not guaranteed to be always the same, e.g. a sample identifier changes when the sample is moved to a different space.
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectIdentifier

        public ObjectIdentifier​(java.lang.String identifier)
      • ObjectIdentifier

        protected ObjectIdentifier()
    • Method Detail

      • getIdentifier

        public java.lang.String getIdentifier()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

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