- getAppliedConstraint(String) - Method in ConstrainedProperty
-
Obtain an applied constraint
- getAppliedConstraint(String) - Method in DefaultConstrainedProperty
-
Obtains an applied constraint by name.
- getAppliedConstraints() - Method in ConstrainedProperty
-
@return Returns the appliedConstraints.
- getAppliedConstraints() - Method in DefaultConstrainedProperty
-
@return Returns the appliedConstraints.
- getAttributes() - Method in DefaultConstrainedProperty
-
- getConstrainedProperties() - Method in ConstrainedEntity
-
@return The constrained property instances
- getConstrainedProperties() - Method in ConstrainedPropertyBuilder
-
- getDefaultConstraints() - Method in ConstraintsEvaluator
-
The default constraints to use
- getDefaultConstraints() - Method in DefaultConstraintEvaluator
-
- getDefaultMessage(String) - Method in AbstractConstraint
-
Returns the default message for the given message code in the
current locale.
- getFormat() - Method in Constrained
-
@return The format of the value
- getInList() - Method in Constrained
-
@return Constrains the be within the list of given values
- getInList() - Method in DefaultConstrainedProperty
-
@return Returns the inList.
- getList() - Method in InListConstraint
-
@return Returns the list.
- getMatches() - Method in Constrained
-
@return The string this constrained matches
- getMatches() - Method in DefaultConstrainedProperty
-
@return Returns the matches.
- getMax() - Method in Constrained
-
@return Returns the maximum possible value.
- getMax() - Method in DefaultConstrainedProperty
-
@return Returns the max.
- getMaxSize() - Method in Constrained
-
@return The maximum size
- getMaxSize() - Method in DefaultConstrainedProperty
-
@return Returns the maxSize.
- getMaxSize() - Method in MaxSizeConstraint
-
@return Returns the maxSize.
- getMaxValue() - Method in MaxConstraint
-
@return Returns the maxValue.
- getMetaConstraints() - Method in DefaultConstrainedProperty
-
@return Returns the metaConstraints.
- getMetaConstraintValue(String) - Method in DefaultConstrainedProperty
-
Obtains the value of the named meta constraint.
- getMin() - Method in Constrained
-
@return Returns the minimum possible value.
- getMin() - Method in DefaultConstrainedProperty
-
@return Returns the min.
- getMinSize() - Method in Constrained
-
@return The minimum size
- getMinSize() - Method in DefaultConstrainedProperty
-
@return Returns the minSize.
- getMinSize() - Method in MinSizeConstraint
-
@return Returns the minSize.
- getMinValue() - Method in MinConstraint
-
@return Returns the minValue.
- getName() - Method in BlankConstraint
-
- getName() - Method in Constraint
-
@return The name of the constraint
- getName() - Method in ConstraintFactory
-
@return The name of the constraint
- getName() - Method in CreditCardConstraint
-
- getName() - Method in EmailConstraint
-
- getName() - Method in InListConstraint
-
- getName() - Method in MatchesConstraint
-
- getName() - Method in MaxConstraint
-
- getName() - Method in MaxSizeConstraint
-
- getName() - Method in MinConstraint
-
- getName() - Method in MinSizeConstraint
-
- getName() - Method in NotEqualConstraint
-
- getName() - Method in NullableConstraint
-
- getName() - Method in RangeConstraint
-
- getName() - Method in ScaleConstraint
-
- getName() - Method in SizeConstraint
-
- getName() - Method in UrlConstraint
-
- getName() - Method in ValidatorConstraint
-
- getNotEqual() - Method in Constrained
-
@return The value this constrained should not be equal to
- getNotEqual() - Method in DefaultConstrainedProperty
-
@return Returns the notEqual.
- getNotEqualTo() - Method in NotEqualConstraint
-
@return Returns the notEqualTo.
- getOrder() - Method in Constrained
-
@return The order of the value
- getOwner() - Method in Constrained
-
@return The owning class
- getOwner() - Method in ConstrainedProperty
-
@return The owner
- getOwner() - Method in DefaultConstrainedProperty
-
- getParameter() - Method in AbstractConstraint
-
- getParameter() - Method in BlankConstraint
-
- getParameter() - Method in Constraint
-
@return The parameter to the constraint
- getProperty(String) - Method in ConstrainedPropertyBuilder
-
- getPropertyName() - Method in AbstractConstraint
-
- getPropertyName() - Method in ConstrainedProperty
-
@return The name of the property constrained
- getPropertyName() - Method in Constraint
-
@return The property name of the constraint
- getPropertyType() - Method in ConstrainedProperty
-
@return Returns the propertyType.
- getRange() - Method in Constrained
-
@return Constrains the be within the range of given values
- getRange() - Method in DefaultConstrainedProperty
-
@return Returns the range.
- getRange() - Method in RangeConstraint
-
@return Returns the range.
- getRange() - Method in SizeConstraint
-
@return Returns the range.
- getRegex() - Method in MatchesConstraint
-
@return Returns the regex.
- getScale() - Method in Constrained
-
@return The scale for decimal values
- getScale() - Method in DefaultConstrainedProperty
-
@return The scale, if defined for this property; null, otherwise
- getScale() - Method in ScaleConstraint
-
@return the scale
- getSharedConstraint(String) - Method in ConstrainedPropertyBuilder
-
- getSize() - Method in Constrained
-
@return A range which represents the size constraints from minimum to maximum value
- getSize() - Method in DefaultConstrainedProperty
-
@return Returns the size.
- getType() - Method in ConstraintFactory
-
@return The type of the constraint
- getValidator(PersistentEntity) - Method in DefaultValidatorRegistry
-
- getWidget() - Method in Constrained
-
@return The widget of the property
- ScaleConstraint - Class in org.grails.datastore.gorm.validation.constraints
Manages the scale for floating point numbers (i.e., the
number of digits to the right of the decimal point).
- ScaleConstraint(Class<?>, String, Object, MessageSource) - Constructor in ScaleConstraint
-
- setAllowDynamic(boolean) - Method in ConstrainedPropertyBuilder
-
- setAttributes(Map) - Method in DefaultConstrainedProperty
-
- setBlank(boolean) - Method in DefaultConstrainedProperty
-
@param blank The blank to set.
- setConstraintFactories(ConstraintFactory) - Method in DefaultConstraintRegistry
-
- setCreditCard(boolean) - Method in DefaultConstrainedProperty
-
@param creditCard The creditCard to set.
- setDefaultNullable(boolean) - Method in ConstrainedPropertyBuilder
-
- setEmail(boolean) - Method in DefaultConstrainedProperty
-
@param email The email to set.
- setInList(List) - Method in DefaultConstrainedProperty
-
@param inList The inList to set.
- setInvertBooleanReturnValue(boolean) - Method in EventTriggerCaller
-
- setMatches(String) - Method in DefaultConstrainedProperty
-
@param regex The matches to set.
- setMax(Comparable) - Method in DefaultConstrainedProperty
-
@param max The max to set.
- setMaxSize(Integer) - Method in DefaultConstrainedProperty
-
@param maxSize The maxSize to set.
- setMin(Comparable) - Method in DefaultConstrainedProperty
-
@param min The min to set.
- setMinSize(Integer) - Method in DefaultConstrainedProperty
-
@param minSize The minLength to set.
- setNotEqual(Object) - Method in DefaultConstrainedProperty
-
@param notEqual The notEqual to set.
- setNullable(boolean) - Method in DefaultConstrainedProperty
-
@param nullable The nullable to set.
- setParent(Object, Object) - Method in ConstrainedPropertyBuilder
-
- setProperty(String, Object) - Method in ConstrainedPropertyBuilder
-
- setRange(Range) - Method in DefaultConstrainedProperty
-
@param range The range to set.
- setSize(Range) - Method in DefaultConstrainedProperty
-
@param size The size to set.
- setUrl(boolean) - Method in DefaultConstrainedProperty
-
@param url The url to set.
- SizeConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates size of the property, for strings and arrays
this is the length, collections the size and numbers the value.
- SizeConstraint(Class<?>, String, Object, MessageSource) - Constructor in SizeConstraint
-
- skipBlankValues() - Method in AbstractConstraint
-
- skipBlankValues() - Method in BlankConstraint
-
- skipBlankValues() - Method in ValidatorConstraint
-
- skipNullValues() - Method in AbstractConstraint
-
- skipNullValues() - Method in NullableConstraint
-
- skipNullValues() - Method in ValidatorConstraint
-
- supports(Class) - Method in BlankConstraint
-
- supports(Class) - Method in Constraint
-
Returns whether the constraint supports being applied against the specified type;
- supports(Class) - Method in ConstraintFactory
-
The target type this factory supports
- supports(Class) - Method in CreditCardConstraint
-
- supports(Class) - Method in DefaultConstraintFactory
-
- supports(Class) - Method in EmailConstraint
-
- supports(Class) - Method in InListConstraint
-
- supports(Class) - Method in MatchesConstraint
-
- supports(Class) - Method in MaxConstraint
-
- supports(Class) - Method in MaxSizeConstraint
-
- supports(Class) - Method in MinConstraint
-
- supports(Class) - Method in MinSizeConstraint
-
- supports(Class) - Method in NotEqualConstraint
-
- supports(Class) - Method in NullableConstraint
-
- supports(Class<?>) - Method in PersistentEntityValidator
-
- supports(Class) - Method in RangeConstraint
-
- supports(Class) - Method in ScaleConstraint
-
- supports(Class) - Method in SizeConstraint
-
- supports(Class) - Method in UrlConstraint
-
- supports(Class) - Method in ValidatorConstraint
-
- supportsContraint(String) - Method in ConstrainedProperty
-
Check whether a given constraint type is supported
- supportsContraint(String) - Method in DefaultConstrainedProperty
-
Checks with this ConstraintedProperty instance supports applying the specified constraint.