Class MongoProgressId

java.lang.Object
dev.getelements.elements.dao.mongo.model.mission.MongoProgressId
All Implemented Interfaces:
HexableId

@Entity(useDiscriminator=false) public class MongoProgressId extends Object implements HexableId
  • Constructor Details

    • MongoProgressId

      public MongoProgressId()
    • MongoProgressId

      public MongoProgressId(String hexString)
    • MongoProgressId

      public MongoProgressId(MongoProfile mongoProfile, MongoMission mongoMission)
    • MongoProgressId

      public MongoProgressId(org.bson.types.ObjectId profileId, org.bson.types.ObjectId missionId)
  • Method Details

    • toByteArray

      public byte[] toByteArray()
    • 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.
    • 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

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

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

      public String toString()
      Overrides:
      toString in class Object
    • parseOrThrowNotFoundException

      public static MongoProgressId parseOrThrowNotFoundException(String inventoryItemId)