Click or drag to resize

CodeAttributeConstraintTObject Class

Validates the code in a "code" field.
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.Domain.BusinessLogicBusinessRule
    Aloe.SystemFrameworks.Domain.ValidationConstraintTObject
      Aloe.SystemFrameworks.Domain.ValidationValidationConstraintTObject
        Aloe.EnterpriseOne.Model.Core.SpecialTypesCodeAttributeConstraintTObject

Namespace:  Aloe.EnterpriseOne.Model.Core.SpecialTypes
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class CodeAttributeConstraint<TObject> : ValidationConstraint<TObject>
where TObject : EditableDomainObject

Type Parameters

TObject
The type of the object.

The CodeAttributeConstraintTObject type exposes the following members.

Constructors
  NameDescription
Public methodCodeAttributeConstraintTObject
Initializes a new instance of the CodeAttributeConstraintTObject class.
Top
Properties
  NameDescription
Public propertyAttribute
The data attribute for which the constraint is defined or null if the constraint is not for specific attribute.
(Inherited from ConstraintTObject.)
Public propertyCode
Gets the unique rule code.
(Inherited from BusinessRule.)
Public propertyDefaultExecutionPriority
Gets the default execution priority of the rule. It is used when priority is not specified when registering the rule for events.
(Inherited from ConstraintTObject.)
Public propertyExecuteForDeletedObject
Gets a value indicating whether to execute the rule for deleted object. The default is false. Inheritors can override it.
(Inherited from BusinessRule.)
Public propertyGetAttribute
Gets the function that returns the attribute of the constraint. The attribute is specified for constraints, which constrain a specific attribute.
(Inherited from ConstraintTObject.)
Public propertyGetMessage
Gets the message getter function. The function is called to create and format a message in case of constraint violation.
(Inherited from ValidationConstraintTObject.)
Public propertyIsActivated
Gets a value indicating whether this constraint has already been activated.
(Inherited from ConstraintTObject.)
Public propertyLocalizedName
Gets the localized name of the constraint.
(Overrides BusinessRuleLocalizedName.)
Public propertyName
Gets the constraint name.
(Overrides BusinessRuleName.)
Top
Methods
See Also