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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationConstraintGroup2AbstractConstraintRelationdefining source attributeconstraintsin extensionvalidation.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofConstraintGroup.constraintsattribute defined at extensionvalidation.static final StringGenerated constant - Attribute key ofConstraintGroup.idattribute defined at extensionvalidation.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.ConstraintGroupModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersConstraintGroupModel(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theConstraintGroup.constraintsattribute defined at extensionvalidation.getId()Generated method - Getter of theConstraintGroup.idattribute defined at extensionvalidation.Generated method - Getter of theConstraintGroup.interfaceNameattribute defined at extensionvalidation.voidsetConstraints(Set<AbstractConstraintModel> value) Generated method - Setter ofConstraintGroup.constraintsattribute defined at extensionvalidation.voidGenerated method - Setter ofConstraintGroup.idattribute defined at extensionvalidation.voidsetInterfaceName(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION
Generated relation code constant for relationConstraintGroup2AbstractConstraintRelationdefining source attributeconstraintsin extensionvalidation.- See Also:
-
ID
Generated constant - Attribute key ofConstraintGroup.idattribute defined at extensionvalidation.- See Also:
-
INTERFACENAME
Generated constant - Attribute key ofConstraintGroup.interfaceNameattribute defined at extensionvalidation.- See Also:
-
CONSTRAINTS
Generated constant - Attribute key ofConstraintGroup.constraintsattribute defined at extensionvalidation.- 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, 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(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 Details
-
getConstraints
@Accessor(qualifier="constraints", type=GETTER) public 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
Generated method - Getter of theConstraintGroup.idattribute defined at extensionvalidation.- Returns:
- the id - Constraint group identifier
-
getInterfaceName
Generated method - Getter of theConstraintGroup.interfaceNameattribute defined at extensionvalidation.- Returns:
- the interfaceName
-
setConstraints
@Accessor(qualifier="constraints", type=SETTER) public void setConstraints(Set<AbstractConstraintModel> value) Generated method - Setter ofConstraintGroup.constraintsattribute defined at extensionvalidation.- Parameters:
value- the constraints
-
setId
Generated method - Setter ofConstraintGroup.idattribute defined at extensionvalidation.- Parameters:
value- the id - Constraint group identifier
-
setInterfaceName
Generated method - Setter ofConstraintGroup.interfaceNameattribute defined at extensionvalidation.- Parameters:
value- the interfaceName
-