Class PropertyEntity

java.lang.Object
mc.core.model.system.PropertyEntity
All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity
Direct Known Subclasses:
ConverterProperty, EntityToAttributeParam, ReportingProperty

@MappedSuperclass public abstract class PropertyEntity extends Object implements IBaseEntity
abstract base entity for storing key/value pairs with type info (see also mc.core.system.util.misc.Property
See Also:
  • Constructor Details

    • PropertyEntity

      public PropertyEntity()
    • PropertyEntity

      public PropertyEntity(String key, Serializable value, String valueClass)
    • PropertyEntity

      public PropertyEntity(PropertyEntity source)
  • Method Details

    • getId

      public long getId()
      Specified by:
      getId in interface IBaseEntity
    • setId

      public void setId(long id)
      Specified by:
      setId in interface IBaseEntity
    • setKey

      public void setKey(String key)
    • getValue

      public Serializable getValue()
    • setValue

      public void setValue(Serializable value)
    • getValueClass

      public String getValueClass()
    • setValueClass

      public void setValueClass(String valueClass)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object