Class XorNullReferenceConstraintModel

All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • FIRSTFIELDNAME

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

      public static final String SECONDFIELDNAME
      Generated constant - Attribute key of XorNullReferenceConstraint.secondFieldName attribute defined at extension validation.
      See Also:
  • Constructor Details

    • 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(Class _annotation, String _firstFieldName, String _id, 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(Class _annotation, String _firstFieldName, String _id, ItemModel _owner, 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 Details

    • getFirstFieldName

      @Accessor(qualifier="firstFieldName", type=GETTER) public 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 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(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(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