Class DynamicConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class DynamicConstraintModel
    extends TypeConstraintModel
    Generated model class for type DynamicConstraint first defined at extension validation.

    Dynamic constraint definition.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • LANGUAGE

        public static final java.lang.String LANGUAGE
        Generated constant - Attribute key of DynamicConstraint.language attribute defined at extension validation.
        See Also:
        Constant Field Values
      • EXPRESSION

        public static final java.lang.String EXPRESSION
        Generated constant - Attribute key of DynamicConstraint.expression attribute defined at extension validation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DynamicConstraintModel

        public DynamicConstraintModel()
        Generated constructor - Default constructor for generic creation.
      • DynamicConstraintModel

        public DynamicConstraintModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • DynamicConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DynamicConstraintModel​(java.lang.Class _annotation,
                                      java.lang.String _expression,
                                      java.lang.String _id,
                                      ValidatorLanguage _language)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _annotation - initial attribute declared by type DynamicConstraint at extension validation
        _expression - initial attribute declared by type DynamicConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _language - initial attribute declared by type DynamicConstraint at extension validation
      • DynamicConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DynamicConstraintModel​(java.lang.Class _annotation,
                                      java.lang.String _expression,
                                      java.lang.String _id,
                                      ValidatorLanguage _language,
                                      ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _annotation - initial attribute declared by type DynamicConstraint at extension validation
        _expression - initial attribute declared by type DynamicConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _language - initial attribute declared by type DynamicConstraint at extension validation
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getExpression

        @Accessor(qualifier="expression",
                  type=GETTER)
        public java.lang.String getExpression()
        Generated method - Getter of the DynamicConstraint.expression attribute defined at extension validation.
        Returns:
        the expression - Expression to evaluate in assigned language type
      • getLanguage

        @Accessor(qualifier="language",
                  type=GETTER)
        public ValidatorLanguage getLanguage()
        Generated method - Getter of the DynamicConstraint.language attribute defined at extension validation.
        Returns:
        the language - Type of the dynamic script language
      • setExpression

        @Accessor(qualifier="expression",
                  type=SETTER)
        public void setExpression​(java.lang.String value)
        Generated method - Setter of DynamicConstraint.expression attribute defined at extension validation.
        Parameters:
        value - the expression - Expression to evaluate in assigned language type
      • setLanguage

        @Accessor(qualifier="language",
                  type=SETTER)
        public void setLanguage​(ValidatorLanguage value)
        Generated method - Setter of DynamicConstraint.language attribute defined at extension validation.
        Parameters:
        value - the language - Type of the dynamic script language