Previous Table of Contents Next


7.3.1 Field


   A Field is the fundamental information container within a RecordDef. It holds one piece of information, which may itself have structure. The inherited associations StructuralFeatureType and ElementOwnership provide access to a Field instance’s type and owning classifier, respectively.

   Superclasses

   Attribute

   Attributes

   length

The length of a fixed length character or byte string field.

type:

multiplicity:

Integer
zero or one

   precision

The total number of digits in a numeric field.

type:

multiplicity:

Integer
zero or one

   scale

The number of digits on the right of the decimal separator in a numeric field.

type:

multiplicity:

Integer
zero or one

   Constraints

   Owner and type cannot refer to the same Classifier. [C-1]The scale attribute is valid only if the precision attribute is specified. [C-2]The precision attribute is valid only if the length attribute is not specified. [C-3]