The SEDRIS Data Representation Model
APPENDIX A - Classes
Enumeration Axis

Class Name: Enumeration Axis

Superclass - <Axis>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class is an <Axis> instance that uses EECs as the meanings for the tick marks.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

This class appears on only one page of the DRM class diagram.

Example

  1. Consider a <Property Grid> instance containing data that varies by ocean bottom material composition. The <Property Grid> instance therefore has an <Enumeration Axis> component of axis_type = EAC_WATERBODY_FLOOR_MATERIAL_TYPE. The axis_value_array contains corresponding values such as EEC_WTRBDFLRMATTY_CLAY_AND_SILT.

  2. Consider a <Property Table> instance containing data that varies by season of the year. The <Property Table> instance therefore has an <Enumeration Axis> component of axis_type = EAC_SEASON. The axis_value_array contains some or all of the values: EEC_SEASON_WINTER, EEC_SEASON_SPRING, EEC_SEASON_SUMMER, or EEC_SEASON_AUTUMN.

FAQs

How should a data provider decide between using an <Enumeration Axis> instance with one <Table Property Description> instance per axis entry, and using multiple <Table Property Description> instances, with each <Table Property Description> instance replacing a value on the <Enumeration Axis> instance?

If the values on the <Enumeration Axis> instance represent different values of some variable (days of the week, colours, seasons, states), the data provider should use an <Enumeration Axis> instance (request a new EAC enumeration if justified). Multiple <Table Property Description> instances should be used when the <Data Table> instance contains different kinds of dependent data, such as temperature, pressure, and humidity.

Constraints

Component of (two-way) (inherited)

Inherited Field Elements

EDCS_Attribute_Code axis_type; 1
SE_Short_Integer_Positive axis_value_count; 2

Field Elements

EDCS_Enumerant_Code axis_value_array[];

Notes

Fields Notes

axis_type

The axis_type field specifies the property being described by the <Axis> instance.

axis_value_count

The axis_value_count specifies the number of tick marks along the <Axis> instance.


Prev: Enclosing Volume. Next: Environment Root. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS