public class ConfigurationPropertyImpl extends Object implements ConfigurationProperty
Constructor and Description |
---|
ConfigurationPropertyImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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 property
|
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.
|
public int getOrder()
public void setOrder(int order)
public void setConfidential(boolean confidential)
public void setName(String name)
public String getHelpMessageKey()
public void setHelpMessageKey(String key)
public String getDisplayMessageKey()
public void setDisplayMessageKey(String key)
public String getGroupMessageKey()
public void setGroupMessageKey(String key)
public void setType(Class<?> type)
public ConfigurationPropertiesImpl getParent()
public void setParent(ConfigurationPropertiesImpl parent)
public Set<Class<? extends APIOperation>> getOperations()
ConfigurationProperty
getOperations
in interface ConfigurationProperty
public boolean isRequired()
ConfigurationProperty
isRequired
in interface ConfigurationProperty
public void setRequired(boolean v)
public void setOperations(Set<Class<? extends APIOperation>> set)
public boolean isConfidential()
isConfidential
in interface ConfigurationProperty
public String getName()
getName
in interface ConfigurationProperty
public Class<?> getType()
getType
in interface ConfigurationProperty
public Object getValue()
getValue
in interface ConfigurationProperty
public void setValue(Object value)
setValue
in interface ConfigurationProperty
public String getHelpMessage(String def)
getHelpMessage
in interface ConfigurationProperty
public String getDisplayName(String def)
getDisplayName
in interface ConfigurationProperty
public String getGroup(String def)
getGroup
in interface ConfigurationProperty
Copyright © 2019. All rights reserved.