Table of Contents

TXDataEnumType Class

Represents an enumerated type, a scalar type whose valid values are defined by a list of name/value pairs.

Syntax

Unit: XData.Model.Classes

TXDataEnumType = class(TXDataScalarType);

Constructors

Name Description
Create Creates an enumerated type with no members.

Methods

Name Description
AddMember Adds a name/value pair to the enumerated type.
QualifiedName Returns the name of the enumerated type, qualified by the schema it belongs to.

Properties

Name Description
Members Gets the name/value pairs that define the valid values of the type.
Schema Gets the schema the enumerated type belongs to.