Class TypeConstraintModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.validation.model.constraints.AbstractConstraintModel
-
- de.hybris.platform.validation.model.constraints.TypeConstraintModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbstractBundleRuleTargetProductsAssignedConstraintModel
,AdvancedShippingNoticeValidConstraintModel
,BundleTemplateProductsAssignedConstraintModel
,ConsignmentTrackingIdValidConstraintModel
,DynamicConstraintModel
,EventMappingConstraintModel
,XorNullReferenceConstraintModel
public class TypeConstraintModel extends AbstractConstraintModel
Generated model class for type TypeConstraint first defined at extension validation.Type constraint 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
_TYPECODE
Generated model type code constant.-
Fields inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
ACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE
-
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 TypeConstraintModel()
Generated constructor - Default constructor for generic creation.TypeConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextTypeConstraintModel(java.lang.Class _annotation, 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 parametersTypeConstraintModel(java.lang.Class _annotation, 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
-
Methods inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
getAnnotation, getConstraintGroups, getDefaultMessage, getDefaultMessage, getId, getMessage, getMessage, getSeverity, getTarget, getType, isActive, isNeedReload, setActive, setAnnotation, setConstraintGroups, setId, setMessage, setMessage, setSeverity, setTarget, setType
-
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
-
-
Constructor Detail
-
TypeConstraintModel
public TypeConstraintModel()
Generated constructor - Default constructor for generic creation.
-
TypeConstraintModel
public TypeConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
TypeConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public TypeConstraintModel(java.lang.Class _annotation, 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:
_annotation
- initial attribute declared by typeAbstractConstraint
at extensionvalidation
_id
- initial attribute declared by typeAbstractConstraint
at extensionvalidation
-
TypeConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public TypeConstraintModel(java.lang.Class _annotation, 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:
_annotation
- initial attribute declared by typeAbstractConstraint
at extensionvalidation
_id
- initial attribute declared by typeAbstractConstraint
at extensionvalidation
_owner
- initial attribute declared by typeItem
at extensioncore
-
-