Click or drag to resize

ModificationField Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelFieldContainer
    Omada.OE.ModelModificationField

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class ModificationField : FieldContainer, 
	IObjectWithId, IObjectWithGuid, ICloneable

The ModificationField type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAssignNewValue
Denotes whether a new explicit value must be assigned for the field.
Public propertyFixField
Anvendes kun hvis PropertyId == 0
(Inherited from FieldContainer.)
Public propertyId
Public propertyModifierOperator
ModifierOperator is used if the datatype of the field is one of the following: Number, Decimal, DateTime, Set(property).
Public propertyModifierValue
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.
Public propertyNewValue
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)
Public propertyNewValueNow
NewValueNow is used if the property/fixed field denotes a datetime field. If true the value of the field is set to "now".
Public propertyPropertyId
Id of the property which the field represents. Is zero if the field represents a fixed field.
(Inherited from FieldContainer.)
Public propertyPropertySystemName
System name of the property which the field represents.
(Inherited from FieldContainer.)
Public propertyUId
Top
Methods
  NameDescription
Public methodClone (Inherited from FieldContainer.)
Public methodContainsFixedField
(Inherited from FieldContainer.)
Public methodContainsFixedField(FixedField)
(Inherited from FieldContainer.)
Public methodContainsProperty
(Inherited from FieldContainer.)
Public methodContainsProperty(Int32)
(Inherited from FieldContainer.)
Public methodContainsReferencePathFixedField
(Inherited from FieldContainer.)
Public methodContainsReferenceProperty
(Inherited from FieldContainer.)
Public methodContainsValueProperty
(Inherited from FieldContainer.)
Public methodContainsValuePropertyWithLog
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.)
Public methodGetDeleted
(Inherited from FieldContainer.)
Public methodGetDescription
(Inherited from FieldContainer.)
Public methodGetFieldDataType
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)
Public methodGetFieldType
(Inherited from FieldContainer.)
Public methodGetId
Returns the id of the field property if m_property != null, else return fixfield id
(Inherited from FieldContainer.)
Public methodGetKey
(Inherited from FieldContainer.)
Public methodGetModifierTime
Public methodGetModifierTimeUnit
Public methodGetName
(Inherited from FieldContainer.)
Public methodGetName(Boolean)
Returns the name of the field
(Inherited from FieldContainer.)
Public methodGetNegId
Returns the id of the field property if m_propertyId != 0, else return fixfield id negated.
(Inherited from FieldContainer.)
Public methodGetProperty
(Inherited from FieldContainer.)
Public methodGetPropertyType
(Inherited from FieldContainer.)
Public methodGetValue(DataObjectVersion)
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.)
Public methodGetValue(DataObjectVersion, AppFormatInfo)
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.)
Public methodGetValue(DataObjectVersion, String)
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.)
Public methodGetValue(DataObjectVersion, AppFormatInfo, String)
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.)
Public methodGetValue(DataObjectVersion, String, Boolean)
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.)
Public methodGetValue(DataObjectVersion, AppFormatInfo, String, Boolean)
Returns the value for the field from the provided DataObjectVersion.
(Inherited from FieldContainer.)
Public methodGetValueUrl(DataObject)
(Inherited from FieldContainer.)
Public methodGetValueUrl(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.)
Public methodGetWidthFactor
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.)
Public methodIsEqualTo
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.)
Public methodIsValueType
(Inherited from FieldContainer.)
Public methodPassesFilter
(Inherited from FieldContainer.)
Public methodResetAll
Resets the id etc. of the object. The method is used when making a copy of an existing object.
Public methodSetModifierTime
Protected methodSetupPropertyFormatter
(Inherited from FieldContainer.)
Public methodToString
(Inherited from FieldContainer.)
Top
Fields
  NameDescription
Public fieldAllowsMultipleValues
Is always false for a fixed field.
(Inherited from FieldContainer.)
Public fieldFieldName
Name of property or fixed field (in the active user's language)
(Inherited from FieldContainer.)
Public fieldFieldNameShort
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.)
Public fieldPropertyDataType
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.)
Public fieldPropertyType
(Inherited from FieldContainer.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also