FieldContainer Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class FieldContainer : IObjectWithKey, ICloneable
The FieldContainer type exposes the following members.
| Name | Description | |
|---|---|---|
| FieldContainer(Int32) | ||
| FieldContainer(BaseProperty) | ||
| FieldContainer(FieldContainer) | ||
| FieldContainer(FixedField) |
| Name | Description | |
|---|---|---|
| FixField |
Anvendes kun hvis PropertyId == 0
| |
| PropertyId |
Id of the property which the field represents.
Is zero if the field represents a fixed field.
| |
| PropertySystemName |
System name of the property which the field represents.
|
| Name | Description | |
|---|---|---|
| Clone | ||
| ContainsFixedField | ||
| ContainsFixedField(FixedField) | ||
| ContainsProperty | ||
| ContainsProperty(Int32) | ||
| ContainsReferencePathFixedField | ||
| ContainsReferenceProperty | ||
| ContainsValueProperty | ||
| ContainsValuePropertyWithLog |
Returns whether the field contains a property with log.
If the property can't be located in the cache the method returns false.
| |
| GetDeleted | ||
| GetDescription | ||
| GetFieldType | ||
| GetFieldTypeFromKey | ||
| GetId |
Returns the id of the field property if m_property != null, else return fixfield id
| |
| GetKey | ||
| GetName | ||
| GetName(Boolean) |
Returns the name of the field
| |
| GetNegId |
Returns the id of the field property if m_propertyId != 0,
else return fixfield id negated.
| |
| GetProperty | ||
| GetPropertyType | ||
| GetValue(DataObjectVersion) |
Returns the value for the field from the provided DataObjectVersion.
| |
| GetValue(DataObjectVersion, AppFormatInfo) |
Returns the value for the field from the provided DataObjectVersion.
| |
| GetValue(DataObjectVersion, String) |
Returns the value for the field from the provided DataObjectVersion.
| |
| GetValue(Int32, DataObjectVersion, String) | ||
| GetValue(DataObjectVersion, AppFormatInfo, String) |
Returns the value for the field from the provided DataObjectVersion.
| |
| GetValue(DataObjectVersion, String, Boolean) |
Returns the value for the field from the provided DataObjectVersion.
| |
| GetValue(DataObjectVersion, AppFormatInfo, String, Boolean) |
Returns the value for the field from the provided DataObjectVersion.
| |
| GetValueUrl(DataObject) | ||
| GetValueUrl(DataObjectVersion) |
Returns a URL as the value.
It can be a URL if the field contains value property with the data type hyperlink.
| |
| GetWidthFactor |
Returns a number between 1 and 5.
The number is used in views and indicates a relative width of the field.
1 = very narrow, 2 = narrow, 3 = normal, 4 = wide, 5 = very wide.
| |
| IsEqualTo |
Method can determine whether two fields contains the same two
fixed fields or the same two properties based on their ID's.
| |
| IsValueType | ||
| ParseKey | ||
| PassesFilter | ||
| SetupPropertyFormatter | ||
| ToString | (Overrides ObjectToString.) | |
| ValidateFixedFieldName |
Returns true if s matches with a fixed field name,
else return false.
|
| Name | Description | |
|---|---|---|
| AllowsMultipleValues |
Is always false for a fixed field.
| |
| FieldName |
Name of property or fixed field (in the active user's language)
| |
| FieldNameShort |
Short name of property or fixed field (in the active user's language).
Note: for properties FieldName and FieldNameShort are always the same.
| |
| PropertyDataType |
If the field contains a ValueProperty then PropertyDataType is the property's DataType.
If the field contains a SetProperty or ReferenceProperty then PropertyDataType is Text.
If the field contains a FixedField that can be mapped to a ValueProperty then the corresponding data type is returned.
Else then Text is returned.
| |
| PropertyType |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |