Class MorphiaModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class MorphiaModel
    extends java.lang.Object
    implements java.io.Serializable
    Convenient Superclass for mapping MongoDB Morphia models
    Author:
    svenkubiak
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.bson.types.ObjectId objectId  
    • Constructor Summary

      Constructors 
      Constructor Description
      MorphiaModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bson.types.ObjectId getId()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • objectId

        @Id
        protected org.bson.types.ObjectId objectId
    • Constructor Detail

      • MorphiaModel

        public MorphiaModel()
    • Method Detail

      • getId

        public org.bson.types.ObjectId getId()