Class ConfigurationPropertyImpl
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.ConfigurationPropertyImpl
-
- All Implemented Interfaces:
ConfigurationProperty
public class ConfigurationPropertyImpl extends Object implements ConfigurationProperty
-
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
SuggestedValues
getAllowedValues()
Returns list of allowed values for the property.String
getDisplayMessageKey()
String
getDisplayName(String def)
Get the display name for this configuration property.String
getGroup(String def)
Get name of the group for this configuration property.String
getGroupMessageKey()
String
getHelpMessage(String def)
Get the help message from the message catalog.String
getHelpMessageKey()
String
getName()
Get the unique name of the configuration property.Set<Class<? extends APIOperation>>
getOperations()
Set of operations for which this property must be specified.int
getOrder()
ConfigurationPropertiesImpl
getParent()
Class<?>
getType()
Get the type of the property.Object
getValue()
Get the value from the property.int
hashCode()
boolean
isConfidential()
Is this a confidential property whose value should be encrypted by the application when persisted?boolean
isRequired()
Is this a required propertyvoid
setAllowedValues(SuggestedValues allowedValues)
void
setConfidential(boolean confidential)
void
setDisplayMessageKey(String key)
void
setGroupMessageKey(String key)
void
setHelpMessageKey(String key)
void
setName(String name)
void
setOperations(Set<Class<? extends APIOperation>> set)
void
setOrder(int order)
void
setParent(ConfigurationPropertiesImpl parent)
void
setRequired(boolean v)
void
setType(Class<?> type)
void
setValue(Object value)
Set the value of the property.
-
-
-
Method Detail
-
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 interfaceConfigurationProperty
-
isRequired
public boolean isRequired()
Description copied from interface:ConfigurationProperty
Is this a required property- Specified by:
isRequired
in interfaceConfigurationProperty
- 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 interfaceConfigurationProperty
-
getName
public String getName()
Get the unique name of the configuration property.- Specified by:
getName
in interfaceConfigurationProperty
-
getType
public Class<?> getType()
Get the type of the property.- Specified by:
getType
in interfaceConfigurationProperty
-
getValue
public Object getValue()
Get the value from the property. This value should be the default value.- Specified by:
getValue
in interfaceConfigurationProperty
-
setValue
public void setValue(Object value)
Set the value of the property.- Specified by:
setValue
in interfaceConfigurationProperty
-
getHelpMessage
public String getHelpMessage(String def)
Get the help message from the message catalog.- Specified by:
getHelpMessage
in interfaceConfigurationProperty
-
getDisplayName
public String getDisplayName(String def)
Get the display name for this configuration property.- Specified by:
getDisplayName
in interfaceConfigurationProperty
-
getGroup
public String getGroup(String def)
Get name of the group for this configuration property.- Specified by:
getGroup
in interfaceConfigurationProperty
-
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 interfaceConfigurationProperty
-
-