Class <<Union>> CGI_Numeric
A union class that allows the value to either be a CGI_NumericValue or a CGI_NumericRange
Local Subclasses: (none)Attributes
| Name | Type | Bounds | From Class | Notes | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| range | CGI_NumericRange | 1..1 | CGI_Numeric | The attribute that allows the CGI_NumericRange data type | ||||||
|
||||||||||
| value | CGI_NumericValue | 1..1 | CGI_Numeric | The attribute that allows the CGI_NumericValue data type | ||||||
|
||||||||||
Outbound Associations
| Name | Type | Multiplicity | From Class | Notes |
|---|
Constraints
| Constraint | Type | Status | Weight |
|---|
Tagged values
| Tag | Value | Notes |
|---|---|---|
| byValuePropertyType | true | Values: true,false Default: false Description: enforce the 'by value' property pattern without xl |
| hasXmlLang | false | Values: true | false Default: false Description: axml attribute xml:lang shall be generated for the type representing the class |
| 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:group xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CGI_Numeric">
<xs:annotation>
<xs:documentation>A union class that allows the value to either be a CGI_NumericValue or a CGI_NumericRange</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element ref="gsml:CGI_NumericRange">
<xs:annotation>
<xs:documentation>The attribute that allows the CGI_NumericRange data type</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="gsml:CGI_NumericValue">
<xs:annotation>
<xs:documentation>The attribute that allows the CGI_NumericValue data type</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:group>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CGI_NumericUnionSemantics">
<xs:restriction base="string">
<xs:enumeration value="range"/>
<xs:enumeration value="value"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CGI_NumericPropertyType">
<xs:sequence minOccurs="0">
<xs:group ref="gsml:CGI_Numeric"/>
</xs:sequence>
<xs:attributeGroup ref="gml:AssociationAttributeGroup"/>
<xs:attribute name="unionSemantics" type="gsml:CGI_NumericUnionSemantics"/>
</xs:complexType>
|