Class MongoProgressId
java.lang.Object
dev.getelements.elements.dao.mongo.model.mission.MongoProgressId
- All Implemented Interfaces:
HexableId
-
Constructor Summary
ConstructorsConstructorDescriptionMongoProgressId(MongoProfile mongoProfile, MongoMission mongoMission) MongoProgressId(String hexString) MongoProgressId(org.bson.types.ObjectId profileId, org.bson.types.ObjectId missionId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.bson.types.ObjectIdorg.bson.types.ObjectIdinthashCode()static MongoProgressIdparseOrThrowNotFoundException(String inventoryItemId) voidsetMissionId(org.bson.types.ObjectId missionId) voidsetProfileId(org.bson.types.ObjectId profileId) byte[]Converts the object to a Hex string.toString()
-
Constructor Details
-
MongoProgressId
public MongoProgressId() -
MongoProgressId
-
MongoProgressId
-
MongoProgressId
public MongoProgressId(org.bson.types.ObjectId profileId, org.bson.types.ObjectId missionId)
-
-
Method Details
-
toByteArray
public byte[] toByteArray() -
toHexString
Description copied from interface:HexableIdConverts the object to a Hex string.- Specified by:
toHexStringin interfaceHexableId- Returns:
- the hex string representation.
-
getProfileId
public org.bson.types.ObjectId getProfileId() -
setProfileId
public void setProfileId(org.bson.types.ObjectId profileId) -
getMissionId
public org.bson.types.ObjectId getMissionId() -
setMissionId
public void setMissionId(org.bson.types.ObjectId missionId) -
equals
-
hashCode
public int hashCode() -
toString
-
parseOrThrowNotFoundException
-