Class ObjectIdImpl

  • All Implemented Interfaces:
    ObjectId, Writeable

    public final class ObjectIdImpl
    extends java.lang.Object
    implements ObjectId
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] id  
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectIdImpl​(byte[] id)  
    • Field Detail

      • id

        private byte[] id
    • Constructor Detail

      • ObjectIdImpl

        public ObjectIdImpl​(byte[] id)
    • Method Detail

      • equals

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

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

        public java.lang.String getIdString()
        Specified by:
        getIdString in interface ObjectId
      • toString

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

        public byte[] getId()
        Specified by:
        getId in interface ObjectId
      • write

        public void write​(OutputStream os)
        Description copied from interface: Writeable
        Write this object directly to the output stream.
        Specified by:
        write in interface Writeable
        Parameters:
        os - stream to write to