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:
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
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATIONGenerated relation code constant for relationConstraintGroup2AbstractConstraintRelationdefining source attributeconstraintsin extensionvalidation.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCONSTRAINTSGenerated constant - Attribute key ofConstraintGroup.constraintsattribute defined at extensionvalidation.static java.lang.StringIDGenerated constant - Attribute key ofConstraintGroup.idattribute defined at extensionvalidation.static java.lang.StringINTERFACENAMEGenerated constant - Attribute key ofConstraintGroup.interfaceNameattribute defined at extensionvalidation.-
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 ConstraintGroupModel()Generated constructor - Default constructor for generic creation.ConstraintGroupModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextConstraintGroupModel(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 parametersConstraintGroupModel(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 theConstraintGroup.constraintsattribute defined at extensionvalidation.java.lang.StringgetId()Generated method - Getter of theConstraintGroup.idattribute defined at extensionvalidation.java.lang.StringgetInterfaceName()Generated method - Getter of theConstraintGroup.interfaceNameattribute defined at extensionvalidation.voidsetConstraints(java.util.Set<AbstractConstraintModel> value)Generated method - Setter ofConstraintGroup.constraintsattribute defined at extensionvalidation.voidsetId(java.lang.String value)Generated method - Setter ofConstraintGroup.idattribute defined at extensionvalidation.voidsetInterfaceName(java.lang.String value)Generated method - Setter ofConstraintGroup.interfaceNameattribute defined at extensionvalidation.-
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
-
-
-
-
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 relationConstraintGroup2AbstractConstraintRelationdefining source attributeconstraintsin extensionvalidation.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofConstraintGroup.idattribute defined at extensionvalidation.- See Also:
- Constant Field Values
-
INTERFACENAME
public static final java.lang.String INTERFACENAME
Generated constant - Attribute key ofConstraintGroup.interfaceNameattribute defined at extensionvalidation.- See Also:
- Constant Field Values
-
CONSTRAINTS
public static final java.lang.String CONSTRAINTS
Generated constant - Attribute key ofConstraintGroup.constraintsattribute defined at extensionvalidation.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConstraintGroupModel
public ConstraintGroupModel()
Generated constructor - Default constructor for generic creation.
-
ConstraintGroupModel
public ConstraintGroupModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeConstraintGroupat extensionvalidation
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeConstraintGroupat extensionvalidation_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getConstraints
@Accessor(qualifier="constraints", type=GETTER) public java.util.Set<AbstractConstraintModel> getConstraints()
Generated method - Getter of theConstraintGroup.constraintsattribute defined at extensionvalidation. 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 theConstraintGroup.idattribute defined at extensionvalidation.- Returns:
- the id - Constraint group identifier
-
getInterfaceName
@Accessor(qualifier="interfaceName", type=GETTER) public java.lang.String getInterfaceName()
Generated method - Getter of theConstraintGroup.interfaceNameattribute defined at extensionvalidation.- Returns:
- the interfaceName
-
setConstraints
@Accessor(qualifier="constraints", type=SETTER) public void setConstraints(java.util.Set<AbstractConstraintModel> value)
Generated method - Setter ofConstraintGroup.constraintsattribute defined at extensionvalidation.- Parameters:
value- the constraints
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Generated method - Setter ofConstraintGroup.idattribute defined at extensionvalidation.- Parameters:
value- the id - Constraint group identifier
-
-