FieldBaseFieldType Class |
Namespace: CMS.DataEngine
public abstract class FieldBase<FieldType> : AbstractDataContainer<FieldType>, IField where FieldType : FieldBase<FieldType>
The FieldBaseFieldType type exposes the following members.
Name | Description | |
---|---|---|
FieldBaseFieldType |
Constructor.
|
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.
| |
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.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
AllowEmpty |
Indicates whether field allow empty 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 if field has no representation in database.
| |
IsDummyFieldFromMainForm |
Indicates if dummy field is in main or alternative form
| |
IsExtraField |
Indicates if field is extra field (field is not in orignal 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.) |