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.lang.String |
getId() |
java.lang.String |
getName() |
<T> T |
getProperty(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.Object> |
getSyntheticProperties()
Deprecated.
|
<T> T |
getSyntheticProperty(java.lang.String key)
Deprecated.
|
Type |
getType() |
boolean |
hasProperty(java.lang.String key) |
<T> void |
putSyntheticProperty(java.lang.String key,
T value)
Deprecated.
|
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()
@Deprecated java.util.Map<java.lang.String,java.lang.Object> getSyntheticProperties()
@Deprecated <T> T getSyntheticProperty(java.lang.String key)
@Deprecated
<T> void putSyntheticProperty(java.lang.String key,
T value)
<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.