3 BaseTypes

Topic Version1Published09/11/2015
For StandardECOM2 v2.0

Contains the common re-usable structures and types commonly used by EnergyML schemas.

XD Simple type

Description

TypeEnum

The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined. This type should not be used directly except to derive another type. It should also be used for uncontrolled strings that are candidates to become enumerations at a future date.

String

The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level. This type should not be used directly except to derive another type.

UidString

The intended abstract supertype of all locally unique identifiers.

The value is not intended to convey any semantic content (e.g., it may be computer generated).

The value is only required to be unique within a context in a document (e.g., defined via key and keyref).

There is no guarantee that the same data in multiple documents will use the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.

UuidString

 

UomEnum

The intended abstract supertype of all "units of measure" (UOM).

This abstract type allows the maximum length of a UOM enumeration to be centrally defined. This type is abstract in the sense that it should not be used directly except to derive another type.

DescriptionString

A textual description of something.

CommentString

The intended abstract supertype of all comments or remarks intended for human consumption.

There should be no assumption that semantics can be extracted from the field by a computer.

Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).

MaximumLengthString

This defines the maximum acceptable length of a string that can be stored in a database.

NameString

The intended abstract supertype of all user assigned human recognizable contextual name types.

There should be no assumption that (interoperable) semantic information will be extracted from the name by a third party.

This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an enumeration.

Measure

The intended abstract supertype of all quantities that have a value with a unit of measure (UOM). The unit of measure is in the uom attribute of the subtypes. This type allows all quantities to be profiled as a 'float' instead of a 'double'.