FieldBaseFieldType Class |
Namespace: CMS.DataEngine
public abstract class FieldBase<FieldType> : AbstractDataContainer<FieldType>, IField, IDataDefinitionItem where FieldType : FieldBase<FieldType>
The FieldBaseFieldType type exposes the following members.
Name | Description | |
---|---|---|
FieldBaseFieldType |
Constructor.
|
Name | Description | |
---|---|---|
AllowEmpty |
Indicates whether field allows null values.
| |
Caption |
Column caption.
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
DataType |
Data type.
| |
DefaultValue |
Field default value.
| |
External |
Indicates if field is external, if so it represents column from another table which is included in CMS_Tree_View_Joined (CMS_Document, CMS_Node, ...).
| |
Guid |
Field unique identifier.
| |
IsDummyField |
Indicates that field has no representation in database.
| |
IsDummyFieldFromMainForm |
If true the field was added into the main form else it was added into the alt.form (expects IsDummyField property to be true).
| |
IsExtraField |
Indicates that field is extra field (field is not in original form definition).
| |
IsInherited |
If true, the field is inherited from parent class.
| |
IsUnique |
Indicates whether field is unique.
| |
Item |
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainerTObject.) | |
Name |
Column name.
| |
Precision |
Precision of the field
| |
PrimaryKey |
Indicates whether field is a primary key.
| |
Properties |
Properties of the field
| |
PropertiesMacroTable |
Macro table for the field properties.
| |
ReferenceToObjectType |
ObjectType to which the given field refers (for example as a foreign key).
| |
ReferenceType |
Type of the reference (used only when ReferenceToObjectType is set).
| |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
Size |
Size of the field.
| |
System |
Indicates if field is a system field.
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) |
Name | Description | |
---|---|---|
Clone |
Clones the object.
| |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
GetXmlNode |
Returns the XML node representing the FormFieldInfo object.
| |
LoadFromTableData |
Loads the field info from plain database structure data.
| |
LoadFromXmlNode |
Loads the field info from XML node
| |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object for resolving data macros.
(Overrides AbstractSimpleDataContainerTObjectRegisterColumns.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
ToString |
Returns field name value.
(Overrides ObjectToString.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |