public interface ConfigurationItem
extends java.io.Serializable
BaseConfigurationItem or one of the types
derived from it (e.g. BaseDeployable, BaseDeployed
or BaseContainer).
The following contract is required: - The Type of a ConfigurationItem should be stored in a field called 'type'.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SYNTHETIC_PROPERTIES_FIELD |
static java.lang.String |
TYPE_FIELD |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ValidationMessage> |
get$validationMessages()
Gets the validation messages set on the ConfigurationItem.
|
java.lang.String |
getId() |
java.lang.String |
getName() |
<T> T |
getProperty(java.lang.String key) |
Type |
getType() |
boolean |
hasProperty(java.lang.String key) |
void |
setId(java.lang.String id)
Sets The id of the CI.
|
<T> void |
setProperty(java.lang.String key,
T value)
Adds a custom property of a generic type to the CI.
|
static final java.lang.String TYPE_FIELD
static final java.lang.String SYNTHETIC_PROPERTIES_FIELD
java.lang.String getId()
void setId(java.lang.String id)
java.lang.String getName()
Type getType()
<T> T getProperty(java.lang.String key)
T - The type of the property.key - The name of the property.boolean hasProperty(java.lang.String key)
key - The name of the property.<T> void setProperty(java.lang.String key,
T value)
T - The type of the property.key - The name of the property.value - The value of type T of the property.java.util.List<ValidationMessage> get$validationMessages()