DiscoveryDataDescription

TextMapping inherited from CDIFManifest

DiscoveryDataDescription::Classes::TextMapping

Definition

Documentation

Original
Reference

cdi:TextMapping

Definition

Definition

The physical characteristics of an instance variable which appears in a data set using a text-based encoding and having a tabular structure (a tabular text data set).

CDIF
Definition

Per-field mapping specialized for delimited or fixed-width text data sets.

Diagram

Inheritance

Generalizes: AbstractMapping

Attributes

NameTypeMultiplicityDescription
indexinteger[0..1]

Documentation

Original
Reference

cdi:TextMapping-index

CDIF
Definition

Non-negative integer that orders the fields in the data structure (column number).

Scope

cdif:index - column index of this variable.

isFixedWidthboolean[0..1]

Documentation

Original
Reference

cdi:TextMapping-isFixedWidth

CDIF
Definition

cdi:isFixedWidth - whether this is a fixed-width text column.

lengthinteger[0..1]

Documentation

Original
Reference

cdi:TextMapping-length

Definition

Length in characters of the physical representation of the value. From the W3C Recommendation "Metadata Vocabulary for Tabular Data" (https://www.w3.org/TR/tabular-metadata/) 5.11.2 "length: A numeric atomic property that contains a single integer that is the exact length of the value. The value of this property becomes the length annotation for the described datatype. See Length Constraints in [tabular-data-model] for details." Corresponds to DDI2.5 var/location/width and DDI 3.2 PhysicalLocation/Width.

CDIF
Definition

The column width if the tabular text is fixed width (TextMapping.length).

Scope

cdi:length - column width for fixed-width data.

Associations

No associations.