Class MembershipEntity

    • Field Detail

      • id

        protected String id
        To handle a MemberhipEntity in the cache, an id is necessary. Even though it is not going to be persisted in the database.
    • Constructor Detail

      • MembershipEntity

        public MembershipEntity()
    • Method Detail

      • getPersistentState

        public Object getPersistentState()
        Description copied from interface: DbEntity
        Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
        Specified by:
        getPersistentState in interface DbEntity
      • setUser

        public void setUser​(UserEntity user)
      • setGroup

        public void setGroup​(GroupEntity group)
      • getUserId

        public String getUserId()
      • getGroupId

        public String getGroupId()