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.String
ACTIVE
Qualifier of theAbstractConstraint.active
attributestatic java.lang.String
ANNOTATION
Qualifier of theAbstractConstraint.annotation
attributeprotected static java.lang.String
CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ConstraintGroup2AbstractConstraintRelation from ((validation))protected static java.lang.String
CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_SRC_ORDERED
Relation ordering override parameter constants for ConstraintGroup2AbstractConstraintRelation from ((validation))protected static java.lang.String
CONSTRAINTGROUP2ABSTRACTCONSTRAINTRELATION_TGT_ORDERED
static java.lang.String
CONSTRAINTGROUPS
Qualifier of theAbstractConstraint.constraintGroups
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
DEFAULTMESSAGE
Qualifier of theAbstractConstraint.defaultMessage
attributestatic java.lang.String
ID
Qualifier of theAbstractConstraint.id
attributestatic java.lang.String
MESSAGE
Qualifier of theAbstractConstraint.message
attributestatic java.lang.String
SEVERITY
Qualifier of theAbstractConstraint.severity
attributestatic java.lang.String
TARGET
Qualifier of theAbstractConstraint.target
attributestatic java.lang.String
TYPE
Qualifier of theAbstractConstraint.type
attributeprotected static BidirectionalOneToManyHandler<GeneratedAbstractConstraint>
TYPEHANDLER
BidirectionalOneToManyHandler
for 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 void
addToConstraintGroups(SessionContext ctx, ConstraintGroup value)
Generated method - Addsvalue
to constraintGroups.void
addToConstraintGroups(ConstraintGroup value)
Generated method - Addsvalue
to constraintGroups.protected Item
createItem(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.defaultMessage
attribute.abstract java.util.Map<Language,java.lang.String>
getAllDefaultMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.defaultMessage
attribute.java.util.Map<Language,java.lang.String>
getAllMessage()
Generated method - Getter of theAbstractConstraint.message
attribute.java.util.Map<Language,java.lang.String>
getAllMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.message
attribute.java.lang.Class
getAnnotation()
Generated method - Getter of theAbstractConstraint.annotation
attribute.java.lang.Class
getAnnotation(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.annotation
attribute.java.util.Set<ConstraintGroup>
getConstraintGroups()
Generated method - Getter of theAbstractConstraint.constraintGroups
attribute.java.util.Set<ConstraintGroup>
getConstraintGroups(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.constraintGroups
attribute.long
getConstraintGroupsCount()
long
getConstraintGroupsCount(SessionContext ctx)
protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.String
getDefaultMessage()
Generated method - Getter of theAbstractConstraint.defaultMessage
attribute.abstract java.lang.String
getDefaultMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.defaultMessage
attribute.java.lang.String
getId()
Generated method - Getter of theAbstractConstraint.id
attribute.java.lang.String
getId(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.id
attribute.java.lang.String
getMessage()
Generated method - Getter of theAbstractConstraint.message
attribute.java.lang.String
getMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.message
attribute.EnumerationValue
getSeverity()
Generated method - Getter of theAbstractConstraint.severity
attribute.EnumerationValue
getSeverity(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.severity
attribute.java.lang.Class
getTarget()
Generated method - Getter of theAbstractConstraint.target
attribute.java.lang.Class
getTarget(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.target
attribute.ComposedType
getType()
Generated method - Getter of theAbstractConstraint.type
attribute.ComposedType
getType(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.type
attribute.java.lang.Boolean
isActive()
Generated method - Getter of theAbstractConstraint.active
attribute.java.lang.Boolean
isActive(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.active
attribute.boolean
isActiveAsPrimitive()
Generated method - Getter of theAbstractConstraint.active
attribute.boolean
isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.active
attribute.boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromConstraintGroups(SessionContext ctx, ConstraintGroup value)
Generated method - Removesvalue
from constraintGroups.void
removeFromConstraintGroups(ConstraintGroup value)
Generated method - Removesvalue
from constraintGroups.void
setActive(boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.void
setActive(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.void
setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.void
setActive(java.lang.Boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.void
setAllMessage(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theAbstractConstraint.message
attribute.void
setAllMessage(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theAbstractConstraint.message
attribute.void
setAnnotation(SessionContext ctx, java.lang.Class value)
Generated method - Setter of theAbstractConstraint.annotation
attribute.void
setAnnotation(java.lang.Class value)
Generated method - Setter of theAbstractConstraint.annotation
attribute.void
setConstraintGroups(SessionContext ctx, java.util.Set<ConstraintGroup> value)
Generated method - Setter of theAbstractConstraint.constraintGroups
attribute.void
setConstraintGroups(java.util.Set<ConstraintGroup> value)
Generated method - Setter of theAbstractConstraint.constraintGroups
attribute.void
setId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractConstraint.id
attribute.void
setId(java.lang.String value)
Generated method - Setter of theAbstractConstraint.id
attribute.void
setMessage(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractConstraint.message
attribute.void
setMessage(java.lang.String value)
Generated method - Setter of theAbstractConstraint.message
attribute.void
setSeverity(EnumerationValue value)
Generated method - Setter of theAbstractConstraint.severity
attribute.void
setSeverity(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theAbstractConstraint.severity
attribute.void
setTarget(SessionContext ctx, java.lang.Class value)
Generated method - Setter of theAbstractConstraint.target
attribute.void
setTarget(java.lang.Class value)
Generated method - Setter of theAbstractConstraint.target
attribute.void
setType(SessionContext ctx, ComposedType value)
Generated method - Setter of theAbstractConstraint.type
attribute.void
setType(ComposedType value)
Generated method - Setter of theAbstractConstraint.type
attribute.-
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.id
attribute- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Qualifier of theAbstractConstraint.active
attribute- See Also:
- Constant Field Values
-
ANNOTATION
public static final java.lang.String ANNOTATION
Qualifier of theAbstractConstraint.annotation
attribute- See Also:
- Constant Field Values
-
SEVERITY
public static final java.lang.String SEVERITY
Qualifier of theAbstractConstraint.severity
attribute- See Also:
- Constant Field Values
-
DEFAULTMESSAGE
public static final java.lang.String DEFAULTMESSAGE
Qualifier of theAbstractConstraint.defaultMessage
attribute- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
Qualifier of theAbstractConstraint.message
attribute- See Also:
- Constant Field Values
-
TARGET
public static final java.lang.String TARGET
Qualifier of theAbstractConstraint.target
attribute- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Qualifier of theAbstractConstraint.type
attribute- See Also:
- Constant Field Values
-
CONSTRAINTGROUPS
public static final java.lang.String CONSTRAINTGROUPS
Qualifier of theAbstractConstraint.constraintGroups
attribute- 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
BidirectionalOneToManyHandler
for 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:
getDefaultAttributeModes
in classItem
-
isActive
public java.lang.Boolean isActive(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.active
attribute.- Returns:
- the active - Enabled flag for a constraint
-
isActive
public java.lang.Boolean isActive()
Generated method - Getter of theAbstractConstraint.active
attribute.- Returns:
- the active - Enabled flag for a constraint
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.active
attribute.- Returns:
- the active - Enabled flag for a constraint
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive()
Generated method - Getter of theAbstractConstraint.active
attribute.- Returns:
- the active - Enabled flag for a constraint
-
setActive
public void setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.- Parameters:
value
- the active - Enabled flag for a constraint
-
setActive
public void setActive(java.lang.Boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.- Parameters:
value
- the active - Enabled flag for a constraint
-
setActive
public void setActive(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.- Parameters:
value
- the active - Enabled flag for a constraint
-
setActive
public void setActive(boolean value)
Generated method - Setter of theAbstractConstraint.active
attribute.- Parameters:
value
- the active - Enabled flag for a constraint
-
getAnnotation
public java.lang.Class getAnnotation(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.annotation
attribute.- Returns:
- the annotation - Full class name literal for a corresponding annotation
-
getAnnotation
public java.lang.Class getAnnotation()
Generated method - Getter of theAbstractConstraint.annotation
attribute.- 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.annotation
attribute.- 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.annotation
attribute.- 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.constraintGroups
attribute.- Returns:
- the constraintGroups
-
getConstraintGroups
public java.util.Set<ConstraintGroup> getConstraintGroups()
Generated method - Getter of theAbstractConstraint.constraintGroups
attribute.- 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.constraintGroups
attribute.- Parameters:
value
- the constraintGroups
-
setConstraintGroups
public void setConstraintGroups(java.util.Set<ConstraintGroup> value)
Generated method - Setter of theAbstractConstraint.constraintGroups
attribute.- Parameters:
value
- the constraintGroups
-
addToConstraintGroups
public void addToConstraintGroups(SessionContext ctx, ConstraintGroup value)
Generated method - Addsvalue
to constraintGroups.- Parameters:
value
- the item to add to constraintGroups
-
addToConstraintGroups
public void addToConstraintGroups(ConstraintGroup value)
Generated method - Addsvalue
to constraintGroups.- Parameters:
value
- the item to add to constraintGroups
-
removeFromConstraintGroups
public void removeFromConstraintGroups(SessionContext ctx, ConstraintGroup value)
Generated method - Removesvalue
from constraintGroups.- Parameters:
value
- the item to remove from constraintGroups
-
removeFromConstraintGroups
public void removeFromConstraintGroups(ConstraintGroup value)
Generated method - Removesvalue
from 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:Item
Has 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:
createItem
in 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.defaultMessage
attribute.- Returns:
- the defaultMessage - Localized resource bundle evaluated error message
-
getDefaultMessage
public java.lang.String getDefaultMessage()
Generated method - Getter of theAbstractConstraint.defaultMessage
attribute.- 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.defaultMessage
attribute.- 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.defaultMessage
attribute.- Returns:
- the localized defaultMessage - Localized resource bundle evaluated error message
-
getId
public java.lang.String getId(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.id
attribute.- Returns:
- the id - Constraint identifier
-
getId
public java.lang.String getId()
Generated method - Getter of theAbstractConstraint.id
attribute.- Returns:
- the id - Constraint identifier
-
setId
public void setId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractConstraint.id
attribute.- Parameters:
value
- the id - Constraint identifier
-
setId
public void setId(java.lang.String value)
Generated method - Setter of theAbstractConstraint.id
attribute.- Parameters:
value
- the id - Constraint identifier
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classItem
-
getMessage
public java.lang.String getMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.message
attribute.- Returns:
- the message - Localized error message
-
getMessage
public java.lang.String getMessage()
Generated method - Getter of theAbstractConstraint.message
attribute.- Returns:
- the message - Localized error message
-
getAllMessage
public java.util.Map<Language,java.lang.String> getAllMessage(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.message
attribute.- Returns:
- the localized message - Localized error message
-
getAllMessage
public java.util.Map<Language,java.lang.String> getAllMessage()
Generated method - Getter of theAbstractConstraint.message
attribute.- Returns:
- the localized message - Localized error message
-
setMessage
public void setMessage(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractConstraint.message
attribute.- Parameters:
value
- the message - Localized error message
-
setMessage
public void setMessage(java.lang.String value)
Generated method - Setter of theAbstractConstraint.message
attribute.- 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.message
attribute.- Parameters:
value
- the message - Localized error message
-
setAllMessage
public void setAllMessage(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theAbstractConstraint.message
attribute.- Parameters:
value
- the message - Localized error message
-
getSeverity
public EnumerationValue getSeverity(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.severity
attribute.- Returns:
- the severity - Severity level
-
getSeverity
public EnumerationValue getSeverity()
Generated method - Getter of theAbstractConstraint.severity
attribute.- Returns:
- the severity - Severity level
-
setSeverity
public void setSeverity(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theAbstractConstraint.severity
attribute.- Parameters:
value
- the severity - Severity level
-
setSeverity
public void setSeverity(EnumerationValue value)
Generated method - Setter of theAbstractConstraint.severity
attribute.- Parameters:
value
- the severity - Severity level
-
getTarget
public java.lang.Class getTarget(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.target
attribute.- Returns:
- the target - Target class for covered with validation logic
-
getTarget
public java.lang.Class getTarget()
Generated method - Getter of theAbstractConstraint.target
attribute.- 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.target
attribute.- Parameters:
value
- the target - Target class for covered with validation logic
-
setTarget
public void setTarget(java.lang.Class value)
Generated method - Setter of theAbstractConstraint.target
attribute.- Parameters:
value
- the target - Target class for covered with validation logic
-
getType
public ComposedType getType(SessionContext ctx)
Generated method - Getter of theAbstractConstraint.type
attribute.- Returns:
- the type
-
getType
public ComposedType getType()
Generated method - Getter of theAbstractConstraint.type
attribute.- Returns:
- the type
-
setType
public void setType(SessionContext ctx, ComposedType value)
Generated method - Setter of theAbstractConstraint.type
attribute.- Parameters:
value
- the type
-
setType
public void setType(ComposedType value)
Generated method - Setter of theAbstractConstraint.type
attribute.- Parameters:
value
- the type
-
-