ModificationField Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class ModificationField : FieldContainer, IObjectWithId, IObjectWithGuid, ICloneable
The ModificationField type exposes the following members.
Name | Description | |
---|---|---|
![]() | ModificationField(Int32, BaseProperty) | |
![]() | ModificationField(Int32, FixedField) | |
![]() | ModificationField(Int32, Int32) |
Name | Description | |
---|---|---|
![]() | AssignNewValue |
Denotes whether a new explicit value must be assigned for the field.
|
![]() | FixField |
Anvendes kun hvis PropertyId == 0
(Inherited from FieldContainer.) |
![]() | Id | |
![]() | ModifierOperator |
ModifierOperator is used if the datatype of the field is one of the following:
Number, Decimal, DateTime, Set(property).
|
![]() | ModifierValue |
ModifierValue is used if the datatype of the field is one of the following:
Number, Decimal, DateTime, Set(property).
If the datatype is DateTime ModifierValue is interpreted as a number of minutes.
|
![]() | NewValue |
Contains the new value to be explicitly assigned to the field.
NewValue must be defined (!= null) if AssignNewValue is true.
Otherwise it must be null.
The datatype of NewValue depends on the field's property/fixedfield:
* Value property (text) - string
* Value property (integer) - int
* Value property (datetime) - DateTime
* Value property (decimal) - double
* Value property (boolean) - bool
* Set property - int (id of the property value)
* FixedField.Assignee - int (id of the usergroup)
|
![]() | NewValueNow |
NewValueNow is used if the property/fixed field denotes a datetime field.
If true the value of the field is set to "now".
|
![]() | PropertyId |
Id of the property which the field represents.
Is zero if the field represents a fixed field.
(Inherited from FieldContainer.) |
![]() | PropertySystemName |
System name of the property which the field represents.
(Inherited from FieldContainer.) |
![]() | UId |
Name | Description | |
---|---|---|
![]() | Clone | (Inherited from FieldContainer.) |
![]() | ContainsFixedField | (Inherited from FieldContainer.) |
![]() | ContainsFixedField(FixedField) | (Inherited from FieldContainer.) |
![]() | ContainsProperty | (Inherited from FieldContainer.) |
![]() | ContainsProperty(Int32) | (Inherited from FieldContainer.) |
![]() | ContainsReferencePathFixedField | (Inherited from FieldContainer.) |
![]() | ContainsReferenceProperty | (Inherited from FieldContainer.) |
![]() | ContainsValueProperty | (Inherited from FieldContainer.) |
![]() | ContainsValuePropertyWithLog |
Returns whether the field contains a property with log.
If the property can't be located in the cache the method returns false.
(Inherited from FieldContainer.) |
![]() | GetDeleted | (Inherited from FieldContainer.) |
![]() | GetDescription | (Inherited from FieldContainer.) |
![]() | GetFieldDataType |
Returns the datatype of the modification field.
Field contains Method returns
-----------------------------------------------
* Value property (text) - string
* Value property (integer) - int
* Value property (datetime) - DateTime
* Value property (decimal) - double
* Value property (boolean) - bool
* Set property - int (id of the property value)
* FixedField.Assignee - int (id of the usergroup)
|
![]() | GetFieldType | (Inherited from FieldContainer.) |
![]() | GetId |
Returns the id of the field property if m_property != null, else return fixfield id
(Inherited from FieldContainer.) |
![]() | GetKey | (Inherited from FieldContainer.) |
![]() | GetModifierTime | |
![]() | GetModifierTimeUnit | |
![]() | GetName | (Inherited from FieldContainer.) |
![]() | GetName(Boolean) |
Returns the name of the field
(Inherited from FieldContainer.) |
![]() | GetNegId |
Returns the id of the field property if m_propertyId != 0,
else return fixfield id negated.
(Inherited from FieldContainer.) |
![]() | GetProperty | (Inherited from FieldContainer.) |
![]() | GetPropertyType | (Inherited from FieldContainer.) |
![]() | GetValue(DataObjectVersion) |
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.) |
![]() | GetValue(DataObjectVersion, AppFormatInfo) |
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.) |
![]() | GetValue(DataObjectVersion, String) |
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.) |
![]() | GetValue(DataObjectVersion, AppFormatInfo, String) |
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.) |
![]() | GetValue(DataObjectVersion, String, Boolean) |
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.) |
![]() | GetValue(DataObjectVersion, AppFormatInfo, String, Boolean) |
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.) |
![]() | GetValueUrl(DataObject) | (Inherited from FieldContainer.) |
![]() | GetValueUrl(DataObjectVersion) |
Returns a URL as the value.
It can be a URL if the field contains value property with the data type hyperlink.
(Inherited from FieldContainer.) |
![]() | 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.
(Inherited from FieldContainer.) |
![]() | IsEqualTo |
Method can determine whether two fields contains the same two
fixed fields or the same two properties based on their ID's.
(Inherited from FieldContainer.) |
![]() | IsValueType | (Inherited from FieldContainer.) |
![]() | PassesFilter | (Inherited from FieldContainer.) |
![]() | ResetAll |
Resets the id etc. of the object.
The method is used when making a copy of an existing object.
|
![]() | SetModifierTime | |
![]() | SetupPropertyFormatter | (Inherited from FieldContainer.) |
![]() | ToString | (Inherited from FieldContainer.) |
Name | Description | |
---|---|---|
![]() | AllowsMultipleValues |
Is always false for a fixed field.
(Inherited from FieldContainer.) |
![]() | FieldName |
Name of property or fixed field (in the active user's language)
(Inherited from FieldContainer.) |
![]() | FieldNameShort |
Short name of property or fixed field (in the active user's language).
Note: for properties FieldName and FieldNameShort are always the same.
(Inherited from FieldContainer.) |
![]() | 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.
(Inherited from FieldContainer.) |
![]() | PropertyType | (Inherited from FieldContainer.) |
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.) |
Name | Description | |
---|---|---|
![]() ![]() | IObjectWithGuid.GetGuid | |
![]() ![]() | IObjectWithId.GetId |