Class MongoSaveDataDocumentId
java.lang.Object
dev.getelements.elements.dao.mongo.model.savedata.MongoSaveDataDocumentId
- All Implemented Interfaces:
HexableId
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMongoSaveDataDocumentId
(byte[] bytes) MongoSaveDataDocumentId
(ByteBuffer byteBuffer) MongoSaveDataDocumentId
(org.bson.types.ObjectId owner, int slot) -
Method Summary
-
Field Details
-
SIZE
public static int SIZE
-
-
Constructor Details
-
MongoSaveDataDocumentId
public MongoSaveDataDocumentId() -
MongoSaveDataDocumentId
-
MongoSaveDataDocumentId
public MongoSaveDataDocumentId(byte[] bytes) -
MongoSaveDataDocumentId
-
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
Description copied from interface:HexableId
Converts the object to a Hex string.- Specified by:
toHexString
in interfaceHexableId
- Returns:
- the hex string representation.
-
equals
-
hashCode
public int hashCode() -
toString
-