Class ConstraintGroupModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.validation.model.constraints.ConstraintGroupModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CoverageConstraintGroupModel

public class ConstraintGroupModel extends ItemModel
Generated model class for type ConstraintGroup first defined at extension validation.

Constraint group definition.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation ConstraintGroup2AbstractConstraintRelation defining source attribute constraints in extension validation.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of ConstraintGroup.constraints attribute defined at extension validation.
    static final String
    Generated constant - Attribute key of ConstraintGroup.id attribute defined at extension validation.
    static final String
    Generated constant - Attribute key of ConstraintGroup.interfaceName attribute defined at extension validation.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    ConstraintGroupModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the ConstraintGroup.constraints attribute defined at extension validation.
    Generated method - Getter of the ConstraintGroup.id attribute defined at extension validation.
    Generated method - Getter of the ConstraintGroup.interfaceName attribute defined at extension validation.
    void
    Generated method - Setter of ConstraintGroup.constraints attribute defined at extension validation.
    void
    setId(String value)
    Generated method - Setter of ConstraintGroup.id attribute defined at extension validation.
    void
    Generated method - Setter of ConstraintGroup.interfaceName attribute defined at extension validation.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION
      Generated relation code constant for relation ConstraintGroup2AbstractConstraintRelation defining source attribute constraints in extension validation.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of ConstraintGroup.id attribute defined at extension validation.
      See Also:
    • INTERFACENAME

      public static final String INTERFACENAME
      Generated constant - Attribute key of ConstraintGroup.interfaceName attribute defined at extension validation.
      See Also:
    • CONSTRAINTS

      public static final String CONSTRAINTS
      Generated constant - Attribute key of ConstraintGroup.constraints attribute defined at extension validation.
      See Also:
  • Constructor Details

    • ConstraintGroupModel

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

      public ConstraintGroupModel(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
    • ConstraintGroupModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConstraintGroupModel(String _id)
      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:
      _id - initial attribute declared by type ConstraintGroup at extension validation
    • ConstraintGroupModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConstraintGroupModel(String _id, 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:
      _id - initial attribute declared by type ConstraintGroup at extension validation
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getConstraints

      @Accessor(qualifier="constraints", type=GETTER) public Set<AbstractConstraintModel> getConstraints()
      Generated method - Getter of the ConstraintGroup.constraints attribute defined at extension validation. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the constraints
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the ConstraintGroup.id attribute defined at extension validation.
      Returns:
      the id - Constraint group identifier
    • getInterfaceName

      @Accessor(qualifier="interfaceName", type=GETTER) public String getInterfaceName()
      Generated method - Getter of the ConstraintGroup.interfaceName attribute defined at extension validation.
      Returns:
      the interfaceName
    • setConstraints

      @Accessor(qualifier="constraints", type=SETTER) public void setConstraints(Set<AbstractConstraintModel> value)
      Generated method - Setter of ConstraintGroup.constraints attribute defined at extension validation.
      Parameters:
      value - the constraints
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of ConstraintGroup.id attribute defined at extension validation.
      Parameters:
      value - the id - Constraint group identifier
    • setInterfaceName

      @Accessor(qualifier="interfaceName", type=SETTER) public void setInterfaceName(String value)
      Generated method - Setter of ConstraintGroup.interfaceName attribute defined at extension validation.
      Parameters:
      value - the interfaceName