Class XorNullReferenceConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class XorNullReferenceConstraintModel
    extends TypeConstraintModel
    Generated model class for type XorNullReferenceConstraint first defined at extension validation.

    Custom constraint for presenting type scoped constraint.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String FIRSTFIELDNAME
        Generated constant - Attribute key of XorNullReferenceConstraint.firstFieldName attribute defined at extension validation.
        See Also:
        Constant Field Values
      • SECONDFIELDNAME

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

      • XorNullReferenceConstraintModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public XorNullReferenceConstraintModel​(java.lang.Class _annotation,
                                               java.lang.String _firstFieldName,
                                               java.lang.String _id,
                                               java.lang.String _secondFieldName)
        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 XorNullReferenceConstraint at extension validation
        _firstFieldName - initial attribute declared by type XorNullReferenceConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _secondFieldName - initial attribute declared by type XorNullReferenceConstraint at extension validation
      • XorNullReferenceConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public XorNullReferenceConstraintModel​(java.lang.Class _annotation,
                                               java.lang.String _firstFieldName,
                                               java.lang.String _id,
                                               ItemModel _owner,
                                               java.lang.String _secondFieldName)
        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 XorNullReferenceConstraint at extension validation
        _firstFieldName - initial attribute declared by type XorNullReferenceConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _owner - initial attribute declared by type Item at extension core
        _secondFieldName - initial attribute declared by type XorNullReferenceConstraint at extension validation
    • Method Detail

      • getFirstFieldName

        @Accessor(qualifier="firstFieldName",
                  type=GETTER)
        public java.lang.String getFirstFieldName()
        Generated method - Getter of the XorNullReferenceConstraint.firstFieldName attribute defined at extension validation.
        Returns:
        the firstFieldName - First field name for XOR null reference logic
      • getSecondFieldName

        @Accessor(qualifier="secondFieldName",
                  type=GETTER)
        public java.lang.String getSecondFieldName()
        Generated method - Getter of the XorNullReferenceConstraint.secondFieldName attribute defined at extension validation.
        Returns:
        the secondFieldName - Second field name for XOR null reference logic
      • setFirstFieldName

        @Accessor(qualifier="firstFieldName",
                  type=SETTER)
        public void setFirstFieldName​(java.lang.String value)
        Generated method - Setter of XorNullReferenceConstraint.firstFieldName attribute defined at extension validation.
        Parameters:
        value - the firstFieldName - First field name for XOR null reference logic
      • setSecondFieldName

        @Accessor(qualifier="secondFieldName",
                  type=SETTER)
        public void setSecondFieldName​(java.lang.String value)
        Generated method - Setter of XorNullReferenceConstraint.secondFieldName attribute defined at extension validation.
        Parameters:
        value - the secondFieldName - Second field name for XOR null reference logic