Class MinConstraintModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class MinConstraintModel extends AttributeConstraintModel
Generated model class for type MinConstraint first defined at extension validation.

Minimal JSR 303 compatible constraint class.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String VALUE
      Generated constant - Attribute key of MinConstraint.value attribute defined at extension validation.
      See Also:
  • Constructor Details

    • MinConstraintModel

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

      public MinConstraintModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • MinConstraintModel

      @Deprecated(since="4.1.1", forRemoval=true) public MinConstraintModel(Class _annotation, String _id, Long _value)
      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 MinConstraint at extension validation
      _id - initial attribute declared by type AbstractConstraint at extension validation
      _value - initial attribute declared by type MinConstraint at extension validation
    • MinConstraintModel

      @Deprecated(since="4.1.1", forRemoval=true) public MinConstraintModel(Class _annotation, String _id, ItemModel _owner, Long _value)
      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 MinConstraint at extension validation
      _id - initial attribute declared by type AbstractConstraint at extension validation
      _owner - initial attribute declared by type Item at extension core
      _value - initial attribute declared by type MinConstraint at extension validation
  • Method Details

    • getValue

      @Accessor(qualifier="value", type=GETTER) public Long getValue()
      Generated method - Getter of the MinConstraint.value attribute defined at extension validation.
      Returns:
      the value - Minimal value
    • setValue

      @Accessor(qualifier="value", type=SETTER) public void setValue(Long value)
      Generated method - Setter of MinConstraint.value attribute defined at extension validation.
      Parameters:
      value - the value - Minimal value