Class ConfigurationPropertyImpl

java.lang.Object
org.identityconnectors.framework.impl.api.ConfigurationPropertyImpl
All Implemented Interfaces:
ConfigurationProperty

public class ConfigurationPropertyImpl extends Object implements ConfigurationProperty
  • Constructor Details

    • ConfigurationPropertyImpl

      public ConfigurationPropertyImpl()
  • Method Details

    • getOrder

      public int getOrder()
    • setOrder

      public void setOrder(int order)
    • setConfidential

      public void setConfidential(boolean confidential)
    • setName

      public void setName(String name)
    • getHelpMessageKey

      public String getHelpMessageKey()
    • setHelpMessageKey

      public void setHelpMessageKey(String key)
    • getDisplayMessageKey

      public String getDisplayMessageKey()
    • setDisplayMessageKey

      public void setDisplayMessageKey(String key)
    • getGroupMessageKey

      public String getGroupMessageKey()
    • setGroupMessageKey

      public void setGroupMessageKey(String key)
    • setType

      public void setType(Class<?> type)
    • getParent

      public ConfigurationPropertiesImpl getParent()
    • setParent

      public void setParent(ConfigurationPropertiesImpl parent)
    • getOperations

      public Set<Class<? extends APIOperation>> getOperations()
      Description copied from interface: ConfigurationProperty
      Set of operations for which this property must be specified. This is used for the case where a connector may or may not implement certain operations depending in the configuration. The default value of "empty array" is special in that it means that this property is applicable to all operations.
      Specified by:
      getOperations in interface ConfigurationProperty
    • isRequired

      public boolean isRequired()
      Description copied from interface: ConfigurationProperty
      Is this a required property
      Specified by:
      isRequired in interface ConfigurationProperty
      Returns:
      True if the property is required
    • setRequired

      public void setRequired(boolean v)
    • setOperations

      public void setOperations(Set<Class<? extends APIOperation>> set)
    • setAllowedValues

      public void setAllowedValues(SuggestedValues allowedValues)
    • isConfidential

      public boolean isConfidential()
      Is this a confidential property whose value should be encrypted by the application when persisted?
      Specified by:
      isConfidential in interface ConfigurationProperty
    • getName

      public String getName()
      Get the unique name of the configuration property.
      Specified by:
      getName in interface ConfigurationProperty
    • getType

      public Class<?> getType()
      Get the type of the property.
      Specified by:
      getType in interface ConfigurationProperty
    • getValue

      public Object getValue()
      Get the value from the property. This value should be the default value.
      Specified by:
      getValue in interface ConfigurationProperty
    • setValue

      public void setValue(Object value)
      Set the value of the property.
      Specified by:
      setValue in interface ConfigurationProperty
    • getHelpMessage

      public String getHelpMessage(String def)
      Get the help message from the message catalog.
      Specified by:
      getHelpMessage in interface ConfigurationProperty
    • getDisplayName

      public String getDisplayName(String def)
      Get the display name for this configuration property.
      Specified by:
      getDisplayName in interface ConfigurationProperty
    • getGroup

      public String getGroup(String def)
      Get name of the group for this configuration property.
      Specified by:
      getGroup in interface ConfigurationProperty
    • getAllowedValues

      public SuggestedValues getAllowedValues()
      Returns list of allowed values for the property. If a closed list is returned, values specified in the list are the only valid values for the property. Any other value is invalid. If an open list is returned, the values specified in the list should be considered suggestions only. Even an unlisted value can be specified as a valid value of the property. If null is returned, there are no restrictions or suggestions for this property.
      Specified by:
      getAllowedValues in interface ConfigurationProperty
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object