Package project35.mda.model

This package describes Project35's native data structures that are used to manage an in-memory representation of an XML document.

See:
          Description

Interface Summary
FieldOperatorProvider an abstract interface for classes that can provide a set of field operators given a given data type from FieldDataType.
NumericComparator this is an interface that defines the behaviour of IntegerComparator, FloatComparator, DoubleComparator.
 

Class Summary
BooleanFieldModel a group field model where the choices are constrained to be true or false.
ChangeObject Object that carries information about events governing record creation.
ClonedRecordModelRegistry used to maintain knowledge of copies of original record model instances
DataFieldModel Project35's model data structure for describing a data field.
DefaultFieldOperatorProvider generates strings that represent the kinds of operators that would be appropriate for comparing values of a given primitive type such as string, int, double, etc.
DoubleComparator used to compare two values that are supplied as string.
EditFieldModel A model data structure that represents an editable field.
FieldDataType An enumerator class used to describe the type of a field.
FieldOperator describes a comparison operation.
FieldViewType An enumerator class used to describe a family of UI rendering hints.
FloatComparator used to compare two values that are supplied as string.
GroupFieldModel A model data structure representing edit fields whose domain is characterised by a collection of terms.
IDFieldModel IDFieldModel is a marker class that indicates the field is meant to have an XML ID value.
IntegerComparator used to compare two values that are supplied as string.
ListFieldModel Model data structure that describes a list field.
ModelObjectCommentRegistry this associates comments with record model objects.
ProxyListFieldModel Project35 was originally developed to read a model from an XML Schema.
RecordFieldFactory Convenience factory for producing field models; this allows developers to use the model facilities without requiring them to use an XML Schema
RecordModel The main model data structure Project35 uses to describe model record types.
RecordModelFactory Factory responsible for creating instances of record structures that are derived from XML schema structures.
RecordModelReference holds a reference to a record model object.
RecordModelUtility This class was designed to offload some of the functionality in RecordModel that didn't relate to holding data.
RecordNameProvider base class which encapsulates methods common to both record models and record model references
TextFieldModel holds data for a text field.
 

Package project35.mda.model Description

This package describes Project35's native data structures that are used to manage an in-memory representation of an XML document. The tree is managed as a list of objects that include RecordModel, RecordModelReference, EditFieldModel and ListFieldModels. A RecordModel represents a single record and comprises a collection of EditFieldModel and ListFieldModel objects. EditFieldModel objects each contain a scalar value that is of some type such as text, integer, float, a URI etc. An AttributeFieldModel is a special kind of EditFieldModel that corresponds to XML Schema attribute definitions that are identified by "id=..." phrases. Each ListFieldModel object can contain a number of RecordModel objects. A ListFieldModel can also contain a RecordModelReference, which is a reference to another RecordModel object that is defined elsewhere in the document. RecordModelReference objects exist to support the "IDREF=..." structure found in XML Schema constructs.