Class ClientProperty

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Auditable, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

@CacheGroups("CONFIG") public class ClientProperty extends _ClientProperty implements Auditable
Provides a property value associated with a specific client.
See Also:
  • Constructor Details

    • ClientProperty

      public ClientProperty()
  • Method Details

    • getTextValue

      @Deprecated public String getTextValue()
      Deprecated.
      there is no longer a distinction between value and longValue - just use getValue() throughout. This method may be removed in a future TM version.
      Return the text value, either the underlying long value or the value depending upon the property type.
      Returns:
      the text value, either the underlying long value or the value depending upon the property type.
    • setLongValue

      @Deprecated public void setLongValue(String longValue)
      Deprecated.
      - use setValue(String) instead. This method may be removed in a future TM version.
      Parameters:
      longValue - deprecated
    • getLongValue

      @Deprecated public String getLongValue()
      Deprecated.
      - use getValue() instead. This method may be removed in a future TM version.
      Returns:
      deprecated
    • isTypeCSV

      public boolean isTypeCSV()
      Returns:
      true if the property type is 'CSV'
      Since:
      5.1.4
    • isTypeLongText

      public boolean isTypeLongText()
      Returns:
      true if the property type is 'LongText'
    • isTypeImage

      public boolean isTypeImage()
      Returns:
      true if the property type is 'Image'
      Since:
      3.6.4
    • isTypeHTML

      public boolean isTypeHTML()
      Returns:
      true if the property type is 'HTML'
      Since:
      4.0.0
    • isTypeJSON

      public boolean isTypeJSON()
      Returns:
      true if the property type is 'JSON'
      Since:
      4.0.0
    • isTypeList

      public boolean isTypeList()
      Returns:
      true if the property type is 'List'
      Since:
      4.0.0