Class GeneratedAbstractConstraint
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.validation.jalo.constraints.GeneratedAbstractConstraint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
AbstractConstraint
public abstract class GeneratedAbstractConstraint extends GenericItem
Generated class for typeAbstractConstraint.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTIVEQualifier of theAbstractConstraint.activeattributestatic java.lang.StringANNOTATIONQualifier of theAbstractConstraint.annotationattributeprotected static java.lang.StringCONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for ConstraintGroup2AbstractConstraintRelation from ((validation))protected static java.lang.StringCONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_SRC_ORDEREDRelation ordering override parameter constants for ConstraintGroup2AbstractConstraintRelation from ((validation))protected static java.lang.StringCONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_TGT_ORDEREDstatic java.lang.StringCONSTRAINTGROUPSQualifier of theAbstractConstraint.constraintGroupsattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringDEFAULTMESSAGEQualifier of theAbstractConstraint.defaultMessageattributestatic java.lang.StringIDQualifier of theAbstractConstraint.idattributestatic java.lang.StringMESSAGEQualifier of theAbstractConstraint.messageattributestatic java.lang.StringSEVERITYQualifier of theAbstractConstraint.severityattributestatic java.lang.StringTARGETQualifier of theAbstractConstraint.targetattributestatic java.lang.StringTYPEQualifier of theAbstractConstraint.typeattributeprotected static BidirectionalOneToManyHandler<GeneratedAbstractConstraint>TYPEHANDLERBidirectionalOneToManyHandlerfor handling 1:n TYPE's relation attributes from 'one' side.-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedAbstractConstraint()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddToConstraintGroups(SessionContext ctx, ConstraintGroup value)Generated method - Addsvalueto constraintGroups.voidaddToConstraintGroups(ConstraintGroup value)Generated method - Addsvalueto constraintGroups.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.util.Map<Language,java.lang.String>getAllDefaultMessage()Generated method - Getter of theAbstractConstraint.defaultMessageattribute.abstract java.util.Map<Language,java.lang.String>getAllDefaultMessage(SessionContext ctx)Generated method - Getter of theAbstractConstraint.defaultMessageattribute.java.util.Map<Language,java.lang.String>getAllMessage()Generated method - Getter of theAbstractConstraint.messageattribute.java.util.Map<Language,java.lang.String>getAllMessage(SessionContext ctx)Generated method - Getter of theAbstractConstraint.messageattribute.java.lang.ClassgetAnnotation()Generated method - Getter of theAbstractConstraint.annotationattribute.java.lang.ClassgetAnnotation(SessionContext ctx)Generated method - Getter of theAbstractConstraint.annotationattribute.java.util.Set<ConstraintGroup>getConstraintGroups()Generated method - Getter of theAbstractConstraint.constraintGroupsattribute.java.util.Set<ConstraintGroup>getConstraintGroups(SessionContext ctx)Generated method - Getter of theAbstractConstraint.constraintGroupsattribute.longgetConstraintGroupsCount()longgetConstraintGroupsCount(SessionContext ctx)protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.StringgetDefaultMessage()Generated method - Getter of theAbstractConstraint.defaultMessageattribute.abstract java.lang.StringgetDefaultMessage(SessionContext ctx)Generated method - Getter of theAbstractConstraint.defaultMessageattribute.java.lang.StringgetId()Generated method - Getter of theAbstractConstraint.idattribute.java.lang.StringgetId(SessionContext ctx)Generated method - Getter of theAbstractConstraint.idattribute.java.lang.StringgetMessage()Generated method - Getter of theAbstractConstraint.messageattribute.java.lang.StringgetMessage(SessionContext ctx)Generated method - Getter of theAbstractConstraint.messageattribute.EnumerationValuegetSeverity()Generated method - Getter of theAbstractConstraint.severityattribute.EnumerationValuegetSeverity(SessionContext ctx)Generated method - Getter of theAbstractConstraint.severityattribute.java.lang.ClassgetTarget()Generated method - Getter of theAbstractConstraint.targetattribute.java.lang.ClassgetTarget(SessionContext ctx)Generated method - Getter of theAbstractConstraint.targetattribute.ComposedTypegetType()Generated method - Getter of theAbstractConstraint.typeattribute.ComposedTypegetType(SessionContext ctx)Generated method - Getter of theAbstractConstraint.typeattribute.java.lang.BooleanisActive()Generated method - Getter of theAbstractConstraint.activeattribute.java.lang.BooleanisActive(SessionContext ctx)Generated method - Getter of theAbstractConstraint.activeattribute.booleanisActiveAsPrimitive()Generated method - Getter of theAbstractConstraint.activeattribute.booleanisActiveAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractConstraint.activeattribute.booleanisMarkModifiedDisabled(Item referencedItem)voidremoveFromConstraintGroups(SessionContext ctx, ConstraintGroup value)Generated method - Removesvaluefrom constraintGroups.voidremoveFromConstraintGroups(ConstraintGroup value)Generated method - Removesvaluefrom constraintGroups.voidsetActive(boolean value)Generated method - Setter of theAbstractConstraint.activeattribute.voidsetActive(SessionContext ctx, boolean value)Generated method - Setter of theAbstractConstraint.activeattribute.voidsetActive(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theAbstractConstraint.activeattribute.voidsetActive(java.lang.Boolean value)Generated method - Setter of theAbstractConstraint.activeattribute.voidsetAllMessage(SessionContext ctx, java.util.Map<Language,java.lang.String> value)Generated method - Setter of theAbstractConstraint.messageattribute.voidsetAllMessage(java.util.Map<Language,java.lang.String> value)Generated method - Setter of theAbstractConstraint.messageattribute.voidsetAnnotation(SessionContext ctx, java.lang.Class value)Generated method - Setter of theAbstractConstraint.annotationattribute.voidsetAnnotation(java.lang.Class value)Generated method - Setter of theAbstractConstraint.annotationattribute.voidsetConstraintGroups(SessionContext ctx, java.util.Set<ConstraintGroup> value)Generated method - Setter of theAbstractConstraint.constraintGroupsattribute.voidsetConstraintGroups(java.util.Set<ConstraintGroup> value)Generated method - Setter of theAbstractConstraint.constraintGroupsattribute.voidsetId(SessionContext ctx, java.lang.String value)Generated method - Setter of theAbstractConstraint.idattribute.voidsetId(java.lang.String value)Generated method - Setter of theAbstractConstraint.idattribute.voidsetMessage(SessionContext ctx, java.lang.String value)Generated method - Setter of theAbstractConstraint.messageattribute.voidsetMessage(java.lang.String value)Generated method - Setter of theAbstractConstraint.messageattribute.voidsetSeverity(EnumerationValue value)Generated method - Setter of theAbstractConstraint.severityattribute.voidsetSeverity(SessionContext ctx, EnumerationValue value)Generated method - Setter of theAbstractConstraint.severityattribute.voidsetTarget(SessionContext ctx, java.lang.Class value)Generated method - Setter of theAbstractConstraint.targetattribute.voidsetTarget(java.lang.Class value)Generated method - Setter of theAbstractConstraint.targetattribute.voidsetType(SessionContext ctx, ComposedType value)Generated method - Setter of theAbstractConstraint.typeattribute.voidsetType(ComposedType value)Generated method - Setter of theAbstractConstraint.typeattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
Qualifier of theAbstractConstraint.idattribute- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Qualifier of theAbstractConstraint.activeattribute- See Also:
- Constant Field Values
-
ANNOTATION
public static final java.lang.String ANNOTATION
Qualifier of theAbstractConstraint.annotationattribute- See Also:
- Constant Field Values
-
SEVERITY
public static final java.lang.String SEVERITY
Qualifier of theAbstractConstraint.severityattribute- See Also:
- Constant Field Values
-
DEFAULTMESSAGE
public static final java.lang.String DEFAULTMESSAGE
Qualifier of theAbstractConstraint.defaultMessageattribute- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
Qualifier of theAbstractConstraint.messageattribute- See Also:
- Constant Field Values
-
TARGET
public static final java.lang.String TARGET
Qualifier of theAbstractConstraint.targetattribute- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Qualifier of theAbstractConstraint.typeattribute- See Also:
- Constant Field Values
-
CONSTRAINTGROUPS
public static final java.lang.String CONSTRAINTGROUPS
Qualifier of theAbstractConstraint.constraintGroupsattribute- See Also:
- Constant Field Values
-
CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_SRC_ORDERED
protected static java.lang.String CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_SRC_ORDERED
Relation ordering override parameter constants for ConstraintGroup2AbstractConstraintRelation from ((validation))
-
CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_TGT_ORDERED
protected static java.lang.String CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_TGT_ORDERED
-
CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_MARKMODIFIED
protected static java.lang.String CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ConstraintGroup2AbstractConstraintRelation from ((validation))
-
TYPEHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedAbstractConstraint> TYPEHANDLER
BidirectionalOneToManyHandlerfor handling 1:n TYPE's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classItem
-
isActive
public java.lang.Boolean isActive(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.activeattribute.- Returns:
- the active - Enabled flag for a constraint
-
isActive
public java.lang.Boolean isActive()
Generated method - Getter of theAbstractConstraint.activeattribute.- Returns:
- the active - Enabled flag for a constraint
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.activeattribute.- Returns:
- the active - Enabled flag for a constraint
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive()
Generated method - Getter of theAbstractConstraint.activeattribute.- Returns:
- the active - Enabled flag for a constraint
-
setActive
public void setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractConstraint.activeattribute.- Parameters:
value- the active - Enabled flag for a constraint
-
setActive
public void setActive(java.lang.Boolean value)
Generated method - Setter of theAbstractConstraint.activeattribute.- Parameters:
value- the active - Enabled flag for a constraint
-
setActive
public void setActive(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractConstraint.activeattribute.- Parameters:
value- the active - Enabled flag for a constraint
-
setActive
public void setActive(boolean value)
Generated method - Setter of theAbstractConstraint.activeattribute.- Parameters:
value- the active - Enabled flag for a constraint
-
getAnnotation
public java.lang.Class getAnnotation(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.annotationattribute.- Returns:
- the annotation - Full class name literal for a corresponding annotation
-
getAnnotation
public java.lang.Class getAnnotation()
Generated method - Getter of theAbstractConstraint.annotationattribute.- Returns:
- the annotation - Full class name literal for a corresponding annotation
-
setAnnotation
public void setAnnotation(SessionContext ctx, java.lang.Class value)
Generated method - Setter of theAbstractConstraint.annotationattribute.- Parameters:
value- the annotation - Full class name literal for a corresponding annotation
-
setAnnotation
public void setAnnotation(java.lang.Class value)
Generated method - Setter of theAbstractConstraint.annotationattribute.- Parameters:
value- the annotation - Full class name literal for a corresponding annotation
-
getConstraintGroups
public java.util.Set<ConstraintGroup> getConstraintGroups(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.constraintGroupsattribute.- Returns:
- the constraintGroups
-
getConstraintGroups
public java.util.Set<ConstraintGroup> getConstraintGroups()
Generated method - Getter of theAbstractConstraint.constraintGroupsattribute.- Returns:
- the constraintGroups
-
getConstraintGroupsCount
public long getConstraintGroupsCount(SessionContext ctx)
-
getConstraintGroupsCount
public long getConstraintGroupsCount()
-
setConstraintGroups
public void setConstraintGroups(SessionContext ctx, java.util.Set<ConstraintGroup> value)
Generated method - Setter of theAbstractConstraint.constraintGroupsattribute.- Parameters:
value- the constraintGroups
-
setConstraintGroups
public void setConstraintGroups(java.util.Set<ConstraintGroup> value)
Generated method - Setter of theAbstractConstraint.constraintGroupsattribute.- Parameters:
value- the constraintGroups
-
addToConstraintGroups
public void addToConstraintGroups(SessionContext ctx, ConstraintGroup value)
Generated method - Addsvalueto constraintGroups.- Parameters:
value- the item to add to constraintGroups
-
addToConstraintGroups
public void addToConstraintGroups(ConstraintGroup value)
Generated method - Addsvalueto constraintGroups.- Parameters:
value- the item to add to constraintGroups
-
removeFromConstraintGroups
public void removeFromConstraintGroups(SessionContext ctx, ConstraintGroup value)
Generated method - Removesvaluefrom constraintGroups.- Parameters:
value- the item to remove from constraintGroups
-
removeFromConstraintGroups
public void removeFromConstraintGroups(ConstraintGroup value)
Generated method - Removesvaluefrom constraintGroups.- Parameters:
value- the item to remove from constraintGroups
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map).In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }- Overrides:
createItemin classGenericItem- Parameters:
ctx- the current session context which this item is created withintype- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getDefaultMessage
public abstract java.lang.String getDefaultMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.defaultMessageattribute.- Returns:
- the defaultMessage - Localized resource bundle evaluated error message
-
getDefaultMessage
public java.lang.String getDefaultMessage()
Generated method - Getter of theAbstractConstraint.defaultMessageattribute.- Returns:
- the defaultMessage - Localized resource bundle evaluated error message
-
getAllDefaultMessage
public abstract java.util.Map<Language,java.lang.String> getAllDefaultMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.defaultMessageattribute.- Returns:
- the localized defaultMessage - Localized resource bundle evaluated error message
-
getAllDefaultMessage
public java.util.Map<Language,java.lang.String> getAllDefaultMessage()
Generated method - Getter of theAbstractConstraint.defaultMessageattribute.- Returns:
- the localized defaultMessage - Localized resource bundle evaluated error message
-
getId
public java.lang.String getId(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.idattribute.- Returns:
- the id - Constraint identifier
-
getId
public java.lang.String getId()
Generated method - Getter of theAbstractConstraint.idattribute.- Returns:
- the id - Constraint identifier
-
setId
public void setId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractConstraint.idattribute.- Parameters:
value- the id - Constraint identifier
-
setId
public void setId(java.lang.String value)
Generated method - Setter of theAbstractConstraint.idattribute.- Parameters:
value- the id - Constraint identifier
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabledin classItem
-
getMessage
public java.lang.String getMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.messageattribute.- Returns:
- the message - Localized error message
-
getMessage
public java.lang.String getMessage()
Generated method - Getter of theAbstractConstraint.messageattribute.- Returns:
- the message - Localized error message
-
getAllMessage
public java.util.Map<Language,java.lang.String> getAllMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.messageattribute.- Returns:
- the localized message - Localized error message
-
getAllMessage
public java.util.Map<Language,java.lang.String> getAllMessage()
Generated method - Getter of theAbstractConstraint.messageattribute.- Returns:
- the localized message - Localized error message
-
setMessage
public void setMessage(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractConstraint.messageattribute.- Parameters:
value- the message - Localized error message
-
setMessage
public void setMessage(java.lang.String value)
Generated method - Setter of theAbstractConstraint.messageattribute.- Parameters:
value- the message - Localized error message
-
setAllMessage
public void setAllMessage(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theAbstractConstraint.messageattribute.- Parameters:
value- the message - Localized error message
-
setAllMessage
public void setAllMessage(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theAbstractConstraint.messageattribute.- Parameters:
value- the message - Localized error message
-
getSeverity
public EnumerationValue getSeverity(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.severityattribute.- Returns:
- the severity - Severity level
-
getSeverity
public EnumerationValue getSeverity()
Generated method - Getter of theAbstractConstraint.severityattribute.- Returns:
- the severity - Severity level
-
setSeverity
public void setSeverity(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theAbstractConstraint.severityattribute.- Parameters:
value- the severity - Severity level
-
setSeverity
public void setSeverity(EnumerationValue value)
Generated method - Setter of theAbstractConstraint.severityattribute.- Parameters:
value- the severity - Severity level
-
getTarget
public java.lang.Class getTarget(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.targetattribute.- Returns:
- the target - Target class for covered with validation logic
-
getTarget
public java.lang.Class getTarget()
Generated method - Getter of theAbstractConstraint.targetattribute.- Returns:
- the target - Target class for covered with validation logic
-
setTarget
public void setTarget(SessionContext ctx, java.lang.Class value)
Generated method - Setter of theAbstractConstraint.targetattribute.- Parameters:
value- the target - Target class for covered with validation logic
-
setTarget
public void setTarget(java.lang.Class value)
Generated method - Setter of theAbstractConstraint.targetattribute.- Parameters:
value- the target - Target class for covered with validation logic
-
getType
public ComposedType getType(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.typeattribute.- Returns:
- the type
-
getType
public ComposedType getType()
Generated method - Getter of theAbstractConstraint.typeattribute.- Returns:
- the type
-
setType
public void setType(SessionContext ctx, ComposedType value)
Generated method - Setter of theAbstractConstraint.typeattribute.- Parameters:
value- the type
-
setType
public void setType(ComposedType value)
Generated method - Setter of theAbstractConstraint.typeattribute.- Parameters:
value- the type
-
-