public interface Property extends BusinessRuleChangeDetector, java.io.Serializable
Property
object will never be null. A property with a null value is
defined to be the same as the an undefined property. Hence, null is not allowed as the
value of a property. If you want to make a property undefined, the property should be
removed from the property list that contains it.
Two types of properties are supported: system-defined properties and user-defined
properties. System-defined properties are defined by the system and their value cannot be
changed. User-defined properties are defined by the user of the API. A user-defined
property's value is completely defined by the user and can be changed. Other than checking
for null, no validation is performed on the value when it is changed. System-defined
properties are represented by subclass SystemDefinedProperty
.
User-defined properties are represented by subclass
UserDefinedProperty
.
There are several system-defined properties. The property names for all system-defined properties are defined in constants in this interface. The javadoc for each constant gives a description of the property. In general, property names beginning with the string "IBMSystem" are reserved for future system-defined properties and should not be used as names for user-defined properties.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
PROPERTY_NAME__DISPLAY_NAME
The name of the system-defined property containing the display name of the object.
|
static java.lang.String |
PROPERTY_NAME__NAME
The name of the system-defined property containing the name of the object.
|
static java.lang.String |
PROPERTY_NAME__SHELL
The name of the system-defined property containing the value on whether the object
is a shell object or not.
|
static java.lang.String |
PROPERTY_NAME__TARGET_NAME_SPACE
The name of the system-defined property containing the target namespace of the object.
|
static java.lang.String |
PROPERTY_NAME__UUID
The name of the system-defined property containing the universally unique
identifier of the object.
|
static java.lang.String |
PROPERTY_NAME__VERSION
The name of the system-defined property containing the version of the object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this property.
|
java.lang.String |
getValue()
Get the value of this property.
|
hasChanges
static final java.lang.String COPYRIGHT
static final java.lang.String PROPERTY_NAME__TARGET_NAME_SPACE
static final java.lang.String PROPERTY_NAME__NAME
static final java.lang.String PROPERTY_NAME__DISPLAY_NAME
static final java.lang.String PROPERTY_NAME__VERSION
static final java.lang.String PROPERTY_NAME__SHELL
static final java.lang.String PROPERTY_NAME__UUID