The PropertyValue class

 

Overview

class PropertyValue extends Element;

 

Value of a Property for a PropertyValueSet.  A PropertyValue belongs to its PropertyValueSet.

 

Detailed class diagram for PropertyValue

 

 

 

Detailed class diagram for enumerated PropertyValue

 

See also:              PropertyValueSet, Property, PropertySet, PropertyType, EnumeratedPropertyType, PropertyEnumerationLitteral

 

 

PropertyValue properties

The class has the following association:

·         Key:Property: valued property.

 

The class owns the following attribute:

·         Value:string: value of the key property.

 

 

PropertyValue consistency rules

Composition:

·         A PropertyValue must belong to a PropertyValueSet.

 

Value:

·         If the Key Property type is an EnumeratedPropertyType, the Value must be the same as one of the EnumeratedPropertyType literals' names (see PropertyEnumerationLitteral).

 

Key:

·         The Key association is mandatory, a PropertyValue must value a Property.

·         The Key PropertySet must be the same as the owner PropertyValueSet type.