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 TypeMethodDescriptionboolean
org.bson.types.ObjectId
org.bson.types.ObjectId
int
hashCode()
static MongoProgressId
parseOrThrowNotFoundException
(String inventoryItemId) void
setMissionId
(org.bson.types.ObjectId missionId) void
setProfileId
(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:HexableId
Converts the object to a Hex string.- Specified by:
toHexString
in 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
-