Class MongoSaveDataDocumentId

java.lang.Object
dev.getelements.elements.dao.mongo.model.savedata.MongoSaveDataDocumentId
All Implemented Interfaces:
HexableId

@Embedded public class MongoSaveDataDocumentId extends Object implements HexableId
  • Field Details

    • SIZE

      public static int SIZE
  • Constructor Details

    • MongoSaveDataDocumentId

      public MongoSaveDataDocumentId()
    • MongoSaveDataDocumentId

      public MongoSaveDataDocumentId(String hex)
    • MongoSaveDataDocumentId

      public MongoSaveDataDocumentId(byte[] bytes)
    • MongoSaveDataDocumentId

      public MongoSaveDataDocumentId(ByteBuffer byteBuffer)
    • MongoSaveDataDocumentId

      public MongoSaveDataDocumentId(org.bson.types.ObjectId owner, int slot)
  • Method Details

    • getSlot

      public int getSlot()
    • setSlot

      public void setSlot(int slot)
    • getOwner

      public org.bson.types.ObjectId getOwner()
    • setOwner

      public void setOwner(org.bson.types.ObjectId owner)
    • toHexString

      public String toHexString()
      Description copied from interface: HexableId
      Converts the object to a Hex string.
      Specified by:
      toHexString in interface HexableId
      Returns:
      the hex string representation.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object