Class <<DataType>> CommodityMeasure
A measure of the amount of the commodity based on a Reserve, Resource or Endowment calculation.
Local Subclasses: (none)Attributes
| Name | Type | Bounds | From Class | Notes | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| commodityAmount | CGI_Numeric | 0..1 | CommodityMeasure | Amount of commodity | ||||||
|
||||||||||
| cutOffGrade | CGI_Numeric | 0..1 | CommodityMeasure | Cut off grade used for calculation | ||||||
|
||||||||||
| grade | CGI_Numeric | 0..1 | CommodityMeasure | grade of commodity Where OreMeasure is Resource or Reserve CommodityMeasure::grade is mandatory |
||||||
|
||||||||||
Outbound Associations
| Name | Type | Multiplicity | From Class | Notes | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| commodityOfInterest | Commodity | 1..* | CommodityMeasure | |||||||
|
||||||||||
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="CommodityMeasure" type="er:CommodityMeasureType">
<xs:annotation>
<xs:documentation>A measure of the amount of the commodity based on a Reserve, Resource or Endowment calculation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommodityMeasureType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="commodityAmount" type="gsml:CGI_NumericPropertyType">
<xs:annotation>
<xs:documentation>Amount of commodity</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="cutOffGrade" type="gsml:CGI_NumericPropertyType">
<xs:annotation>
<xs:documentation>Cut off grade used for calculation</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="grade" type="gsml:CGI_NumericPropertyType">
<xs:annotation>
<xs:documentation>grade of commodity
Where OreMeasure is Resource or Reserve CommodityMeasure::grade is mandatory</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="1" name="commodityOfInterest" type="er:CommodityPropertyType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommodityMeasurePropertyType">
<xs:sequence>
<xs:element ref="er:CommodityMeasure"/>
</xs:sequence>
</xs:complexType>
|