Interface ObjectConfigurationProperty

All Superinterfaces:
Map
All Known Implementing Classes:
ObjectConfigurationPropertyImpl, ValuesGeneratorObjectConfigurationProperty, XMLValuesObjectConfigurationProperty

public interface ObjectConfigurationProperty extends Map
This interface is a property of an Object Configuration and contains a name, description, default value and the type (ObjectConfigurationTypes) of this property. It can also contain a list of values if the type has values specified for it e.g. select list.
  • Method Details

    • init

      void init(Map params)
      Initialises the object so it can retrieve values dependant on the parameters in the Map
      Parameters:
      params -
    • getName

      String getName()
      Retrieves the name of this Property e.g. City
      Returns:
      Name of this Property
    • getDescription

      String getDescription()
      Retrieves the description of this Property e.g. Please enter you current location
      Returns:
      Description of the Property
    • getDefault

      String getDefault()
      Retreives the default value of this Property e.g. Sydney
      Returns:
      Default value of Property
    • getType

      int getType()
      Retrieves the type of the Property e.g. Text
      Returns:
      Type of property from ObjectConfigurationTypes
    • getTypeName

      String getTypeName()
      Retrieves the name of the type of the property, e.g. 'text'
      Returns:
      Type name of the property.
      Since:
      v7.2.0
    • isI18nValues

      boolean isI18nValues()
    • setI18nValues

      void setI18nValues(boolean i18nValues)
    • getCascadeFrom

      String getCascadeFrom()
    • setCascadeFrom

      void setCascadeFrom(String cascadeFrom)
    • isEnabled

      boolean isEnabled()
      Whether the property is enabled in the current context. It is up to the implementation to divine the context.
      Returns:
      true only if the property is enabled.
      Since:
      28 Aug 2007 for JIRA v3.11