Class PropertyEntity

All Implemented Interfaces:
Serializable, DbEntity, HasDbRevision

public class PropertyEntity extends Object implements DbEntity, HasDbRevision, Serializable
Tom Baeyens
See Also:
  • Field Details

  • Constructor Details

    • PropertyEntity

      public PropertyEntity()
    • PropertyEntity

      public PropertyEntity(String name, String value)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getRevision

      public int getRevision()
      Specified by:
      getRevision in interface HasDbRevision
    • setRevision

      public void setRevision(int revision)
      Specified by:
      setRevision in interface HasDbRevision
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getId

      public String getId()
      Specified by:
      getId in interface DbEntity
    • 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
    • setId

      public void setId(String id)
      Specified by:
      setId in interface DbEntity
    • getRevisionNext

      public int getRevisionNext()
      Specified by:
      getRevisionNext in interface HasDbRevision
    • toString

      public String toString()
      toString in class Object