Class ConstraintGroupModel

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • 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 java.lang.String _CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION
      Generated relation code constant for relation ConstraintGroup2AbstractConstraintRelation defining source attribute constraints in extension validation.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CONSTRAINTS
      Generated constant - Attribute key of ConstraintGroup.constraints attribute defined at extension validation.
      static java.lang.String ID
      Generated constant - Attribute key of ConstraintGroup.id attribute defined at extension validation.
      static java.lang.String INTERFACENAME
      Generated constant - Attribute key of ConstraintGroup.interfaceName attribute defined at extension validation.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<AbstractConstraintModel> getConstraints()
      Generated method - Getter of the ConstraintGroup.constraints attribute defined at extension validation.
      java.lang.String getId()
      Generated method - Getter of the ConstraintGroup.id attribute defined at extension validation.
      java.lang.String getInterfaceName()
      Generated method - Getter of the ConstraintGroup.interfaceName attribute defined at extension validation.
      void setConstraints​(java.util.Set<AbstractConstraintModel> value)
      Generated method - Setter of ConstraintGroup.constraints attribute defined at extension validation.
      void setId​(java.lang.String value)
      Generated method - Setter of ConstraintGroup.id attribute defined at extension validation.
      void setInterfaceName​(java.lang.String value)
      Generated method - Setter of ConstraintGroup.interfaceName attribute defined at extension validation.
      • 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 Detail

      • _TYPECODE

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

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

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

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

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

      • 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​(java.lang.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​(java.lang.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 Detail

      • getConstraints

        @Accessor(qualifier="constraints",
                  type=GETTER)
        public java.util.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 java.lang.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 java.lang.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​(java.util.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​(java.lang.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​(java.lang.String value)
        Generated method - Setter of ConstraintGroup.interfaceName attribute defined at extension validation.
        Parameters:
        value - the interfaceName