Class <<FeatureType>> Commodity
The material of economic interest in the EarthResource
Local Subclasses: (none)Attributes
Name | Type | Bounds | From Class | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|---|
commodityGroup | ScopedName | 0..* | Commodity | The group the commodity belongs to (eg base metal, precious metal, industrial mineral, energy). |
||||||
|
||||||||||
commodityName | ScopedName | 1..1 | Commodity | The earth resource commodity (eg Cu, Au, Dimension Stone) |
||||||
|
||||||||||
commodityImportance | ImportanceCode | 0..1 | Commodity | The importance of the commodity to the earth resource. A subjective classification (eg minor, major) | ||||||
|
||||||||||
commodityRank | Integer | 0..1 | Commodity | The rank the commodity has in the order of commodities that are part of the earth reource (eg 1, 2, 3) |
||||||
|
||||||||||
Outbound Associations
Name | Type | Multiplicity | From Class | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|---|
source | EarthResource | 1 | Commodity | |||||||
|
||||||||||
Constraints
Constraint | Type | Status | Weight |
---|
Tagged values
Tag | Value | Notes |
---|---|---|
byValuePropertyType | false | 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 |
xsdCanonicalElement | #NOTES#Description: no element shall be generated for the class, but the given type or element referenced | Description: no element shall be generated for the class, but the given type or element referenced |
xsdCanonicalPropertyGroup | #NOTES#Description: group to be referenced if the class is used as a type of a property | Description: group to be referenced if the class is used as a type of a property |
xsdCanonicalPropertyType | #NOTES#Description: type to be referenced if the class is used as a type of a property | Description: type to be referenced if the class is used as a type of a property |
xsdCanonicalType | #NOTES#Description: no type shall be generated for the class, but the given type or element referenced | Description: no type shall be generated for the class, but the given type or element referenced |
xsdDerivation | true | Values: true | false Default: true Description: class implemented as new type + element, or by applying constraints only |
xsdName | #NOTES#Description: value to be used for the schema conversion instead of the UML name | Description: value to be used for the schema conversion instead of the UML name |
GML-conformant XML Implementation Details
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Commodity" substitutionGroup="gml:_Feature" type="er:CommodityType"> <xs:annotation> <xs:documentation>The material of economic interest in the EarthResource</xs:documentation> </xs:annotation> </xs:element> <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommodityType"> <xs:complexContent> <xs:extension base="gml:AbstractFeatureType"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="commodityGroup" type="cgu:CodeWithAuthorityType"> <xs:annotation> <xs:documentation>The group the commodity belongs to (eg base metal, precious metal, industrial mineral, energy).</xs:documentation> </xs:annotation> </xs:element> <xs:element name="commodityName" type="cgu:CodeWithAuthorityType"> <xs:annotation> <xs:documentation>The earth resource commodity (eg Cu, Au, Dimension Stone)</xs:documentation> </xs:annotation> </xs:element> <xs:element maxOccurs="1" minOccurs="0" name="commodityImportance" type="er:ImportanceCodeType"> <xs:annotation> <xs:documentation>The importance of the commodity to the earth resource. A subjective classification (eg minor, major)</xs:documentation> </xs:annotation> </xs:element> <xs:element maxOccurs="1" minOccurs="0" name="commodityRank" type="integer"> <xs:annotation> <xs:documentation>The rank the commodity has in the order of commodities that are part of the earth reource (eg 1, 2, 3)</xs:documentation> </xs:annotation> </xs:element> <xs:element name="source" type="er:EarthResourcePropertyType"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommodityPropertyType"> <xs:sequence minOccurs="0"> <xs:element ref="er:Commodity"/> </xs:sequence> <xs:attributeGroup ref="gml:AssociationAttributeGroup"/> </xs:complexType> |