Class <<CodeList>> ImportanceCode

 

Local Subclasses: (none)

Attributes

Name Type Bounds From Class Notes
major 1..1 ImportanceCode
minor 1..1 ImportanceCode
 

Outbound Associations

Name Type Multiplicity From Class Notes
 

Constraints

Constraint Type Status Weight
 

Tagged values

Tag Value Notes
asDictionary false Values: true,false
Default: false
Description: implement as a dictionary instead of enumeration
byValuePropertyType false Values: true,false
Default: false
Description: enforce the 'by value' property pattern without xl
isCollection false Values: true,false
Default: false
Description: attribute group gml:AggregationAttributeGroup is a
noPropertyType false Values: true,false
Default: false
Description: suppress automatic creation of *PropertyType compl
 

GML-conformant XML Implementation Details

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ImportanceCodeType">
    <xs:union memberTypes="er:ImportanceCodeEnumerationType er:ImportanceCodeOtherType"/>
</xs:simpleType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ImportanceCodeEnumerationType">
    <xs:restriction base="string">
        <xs:enumeration value="major"/>
        <xs:enumeration value="minor"/>
    </xs:restriction>
</xs:simpleType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ImportanceCodeOtherType">
    <xs:restriction base="string">
        <xs:pattern value="other: \w{2,}"/>
    </xs:restriction>
</xs:simpleType>