Declaration

TnxFieldDescriptor = class(TnxLocalizedDictionaryItem)

 
Description

This descriptor class describes fields. For each field added to the Data Dictionary one instance is created.

 
Methods

AddDefaultValue

Sets the Default Value Descriptor class of the field. And instance of this descriptor will be used to generate the Default value of the field for every new record.

CheckValid

This method is called to check the validity of the item. If a descendant needs to validate settings, this method should be overridden and on error raise a an exception.

Destroy

destructor.

IsEqual

The IsEqual function should return true if the given aDictionaryItem is of the same type and has *exactly* the same settings. Should be overridden by all descendants.

LoadFromReader

The text for this method has been generated automatically. This means that it is not documented.

RemoveDefaultValue

This method sets the Default Value Descriptor class to nil thus disabling default values for this field.

SaveToWriter

The text for this method has been generated automatically. This means that it is not documented.

SetupField

This function returns the correct values for the various field types.

 
Properties

Name

This is the name of the field.

Number

The index in the list of fields of the ParentDataDictionary.

 
File

 
nxsdDataDictionary

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes