- getAppliedConstraint(String) - Method in ConstrainedProperty
-
Obtains an applied constraint by name.
- getAppliedConstraints() - Method in ConstrainedProperty
-
@return Returns the appliedConstraints.
- getAssociatedDomainClassFromApplication(Object) - Method in GrailsDomainClassValidator
-
- getAttributes() - Method in ConstrainedProperty
-
- getConstrainedProperties() - Method in ConstrainedPropertyBuilder
-
- getDefaultMessage(String) - Method in AbstractConstraint
-
Returns the default message for the given message code in the
current locale.
- getDomainClass() - Method in GrailsDomainClassValidator
-
- getFormat() - Method in ConstrainedProperty
-
- getInList() - Method in ConstrainedProperty
-
@return Returns the inList.
- getInstance() - Method in DomainValidator
-
Returns the singleton instance of this validator.
- getInstance() - Method in InetAddressValidator
-
Returns the singleton instance of this validator.
- getInstance() - Method in UrlValidator
-
Returns the singleton instance of this class with default schemes and options.
- getList() - Method in InListConstraint
-
@return Returns the list.
- getMatches() - Method in ConstrainedProperty
-
@return Returns the matches.
- getMax() - Method in ConstrainedProperty
-
@return Returns the max.
- getMaxSize() - Method in ConstrainedProperty
-
@return Returns the maxSize.
- getMaxSize() - Method in MaxSizeConstraint
-
@return Returns the maxSize.
- getMaxValue() - Method in MaxConstraint
-
@return Returns the maxValue.
- getMetaConstraintValue(String) - Method in ConstrainedProperty
-
Obtains the value of the named meta constraint.
- getMin() - Method in ConstrainedProperty
-
@return Returns the min.
- getMinSize() - Method in ConstrainedProperty
-
@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 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 ConstrainedProperty
-
@return Returns the notEqual.
- getNotEqualTo() - Method in NotEqualConstraint
-
@return Returns the notEqualTo.
- getObject() - Method in ConstraintsEvaluatorFactoryBean
-
- getObjectType() - Method in ConstraintsEvaluatorFactoryBean
-
- getOrder() - Method in ConstrainedProperty
-
@return Returns the order.
- getOwner() - Method in ConstrainedProperty
-
- getParameter() - Method in AbstractConstraint
-
- getParameter() - Method in BlankConstraint
-
- getParameter() - Method in Constraint
-
- getProperty(String) - Method in ConstrainedPropertyBuilder
-
- getPropertyName() - Method in AbstractConstraint
-
- getPropertyName() - Method in ConstrainedProperty
-
@return Returns the propertyName.
- getPropertyName() - Method in Constraint
-
@return The property name of the constraint
- getPropertyType() - Method in ConstrainedProperty
-
@return Returns the propertyType.
- getRange() - Method in ConstrainedProperty
-
@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 ConstrainedProperty
-
@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 ConstrainedProperty
-
@return Returns the size.
- getWidget() - Method in ConstrainedProperty
-
- grailsApplication - Field in GrailsDomainClassValidator
-
- GrailsDomainClassValidator - Class in org.grails.validation
A specialised Spring validator that validates a domain class instance using
the constraints defined in the static constraints closure.
- IN_LIST_CONSTRAINT - Field in ConstrainedProperty
-
- InetAddressValidator - Class in org.grails.validation.routines
- InListConstraint - Class in org.grails.validation
A constraint that validates the property is contained within the supplied list.
- INVALID_SUFFIX - Field in ConstrainedProperty
-
- isBlank() - Method in BlankConstraint
-
- isBlank() - Method in ConstrainedProperty
-
@return the blank.
- isCreditCard() - Method in ConstrainedProperty
-
@return Returns the creditCard.
- isDisplay() - Method in ConstrainedProperty
-
@return Returns the display.
- isEditable() - Method in ConstrainedProperty
-
@return Returns the editable.
- isEmail() - Method in ConstrainedProperty
-
@return Returns the email.
- isNullable() - Method in ConstrainedProperty
-
@return Returns the nullable.
- isNullable() - Method in NullableConstraint
-
- isPassword() - Method in ConstrainedProperty
-
- isSingleton() - Method in ConstraintsEvaluatorFactoryBean
-
- isUrl() - Method in ConstrainedProperty
-
@return Returns the url.
- isValid() - Method in AbstractConstraint
-
Return whether the constraint is valid for the owning class
- isValid() - Method in Constraint
-
Return whether the constraint is valid for the owning class
- isValid(String) - Method in DomainValidator
-
Returns true if the specified String
parses
as a valid domain name with a recognized top-level domain.
- isValid(String) - Method in InetAddressValidator
-
Checks if the specified string is a valid IP address.
- isValid(String) - Method in RegexValidator
-
Validate a value against the set of regular expressions.
- isValid(String) - Method in UrlValidator
-
- isValidAuthority(String) - Method in UrlValidator
-
Returns true if the authority is properly formatted.
- isValidCountryCodeTld(String) - Method in DomainValidator
-
Returns true if the specified String
matches any
IANA-defined country code top-level domain.
- isValidFragment(String) - Method in UrlValidator
-
Returns true if the given fragment is null or fragments are allowed.
- isValidGenericTld(String) - Method in DomainValidator
-
Returns true if the specified String
matches any
IANA-defined generic top-level domain.
- isValidInet4Address(String) - Method in InetAddressValidator
-
Validates an IPv4 address.
- isValidInfrastructureTld(String) - Method in DomainValidator
-
Returns true if the specified String
matches any
IANA-defined infrastructure top-level domain.
- isValidPath(String) - Method in UrlValidator
-
Returns true if the path is valid.
- isValidQuery(String) - Method in UrlValidator
-
Returns true if the query is null or it's a properly formatted query string.
- isValidScheme(String) - Method in UrlValidator
-
Validate scheme.
- isValidTld(String) - Method in DomainValidator
-
Returns true if the specified String
matches any
IANA-defined top-level domain.
- item - Field in ResultPair
-
- SCALE_CONSTRAINT - Field in ConstrainedProperty
-
- ScaleConstraint - Class in org.grails.validation
Manages the scale for floating point numbers (i.e., the
number of digits to the right of the decimal point).
- setAttributes(Map) - Method in ConstrainedProperty
-
- setBlank(boolean) - Method in ConstrainedProperty
-
@param blank The blank to set.
- setConstraintsEvaluatorClass(Class<?>) - Method in ConstraintsEvaluatorFactoryBean
-
- setCreditCard(boolean) - Method in ConstrainedProperty
-
@param creditCard The creditCard to set.
- setDefaultConstraints(Map) - Method in ConstraintsEvaluatorFactoryBean
-
- setDisplay(boolean) - Method in ConstrainedProperty
-
@param display The display to set.
- setDomainClass(GrailsDomainClass) - Method in GrailsDomainClassValidator
-
@param domainClass The domainClass to set.
- setEditable(boolean) - Method in ConstrainedProperty
-
@param editable The editable to set.
- setEmail(boolean) - Method in ConstrainedProperty
-
@param email The email to set.
- setFormat(String) - Method in ConstrainedProperty
-
- setGrailsApplication(GrailsApplication) - Method in GrailsDomainClassValidator
-
- setInList(List) - Method in ConstrainedProperty
-
@param inList The inList to set.
- setMatches(String) - Method in ConstrainedProperty
-
@param regex The matches to set.
- setMax(Comparable) - Method in ConstrainedProperty
-
@param max The max to set.
- setMaxSize(Integer) - Method in ConstrainedProperty
-
@param maxSize The maxSize to set.
- setMessageSource(MessageSource) - Method in AbstractConstraint
-
- setMessageSource(MessageSource) - Method in ConstrainedProperty
-
The message source used to evaluate error messages
- setMessageSource(MessageSource) - Method in Constraint
-
The message source to evaluate the default messages from
- setMessageSource(MessageSource) - Method in GrailsDomainClassValidator
-
@param messageSource The messageSource to set.
- setMin(Comparable) - Method in ConstrainedProperty
-
@param min The min to set.
- setMinSize(Integer) - Method in ConstrainedProperty
-
@param minSize The minLength to set.
- setNotEqual(Object) - Method in ConstrainedProperty
-
@param notEqual The notEqual to set.
- setNullable(boolean) - Method in ConstrainedProperty
-
@param nullable The nullable to set.
- setOrder(int) - Method in ConstrainedProperty
-
@param order The order to set.
- setOwningClass(Class) - Method in AbstractConstraint
-
{@inheritDoc}
- setOwningClass(Class) - Method in Constraint
-
The class the constraint applies to
- setParameter(Object) - Method in AbstractConstraint
-
@param constraintParameter The constraintParameter to set.
- setParameter(Object) - Method in BlankConstraint
-
- setParameter(Object) - Method in Constraint
-
The parameter which the constraint is validated against.
- setParameter(Object) - Method in CreditCardConstraint
-
- setParameter(Object) - Method in EmailConstraint
-
- setParameter(Object) - Method in InListConstraint
-
- setParameter(Object) - Method in MatchesConstraint
-
- setParameter(Object) - Method in MaxConstraint
-
- setParameter(Object) - Method in MaxSizeConstraint
-
- setParameter(Object) - Method in MinConstraint
-
- setParameter(Object) - Method in MinSizeConstraint
-
- setParameter(Object) - Method in NotEqualConstraint
-
- setParameter(Object) - Method in NullableConstraint
-
- setParameter(Object) - Method in RangeConstraint
-
- setParameter(Object) - Method in ScaleConstraint
-
- setParameter(Object) - Method in SizeConstraint
-
- setParameter(Object) - Method in UrlConstraint
-
- setParameter(Object) - Method in ValidatorConstraint
-
- setParent(Object, Object) - Method in ConstrainedPropertyBuilder
-
- setPassword(boolean) - Method in ConstrainedProperty
-
- setProperty(String, Object) - Method in ConstrainedPropertyBuilder
-
- setPropertyName(String) - Method in AbstractConstraint
-
@param constraintPropertyName The constraintPropertyName to set.
- setPropertyName(String) - Method in ConstrainedProperty
-
@param propertyName The propertyName to set.
- setPropertyName(String) - Method in Constraint
-
The name of the property the constraint applies to
- setRange(Range) - Method in ConstrainedProperty
-
@param range The range to set.
- setSize(Range) - Method in ConstrainedProperty
-
@param size The size to set.
- setUrl(boolean) - Method in ConstrainedProperty
-
@param url The url to set.
- setWidget(String) - Method in ConstrainedProperty
-
- SIZE_CONSTRAINT - Field in ConstrainedProperty
-
- SizeConstraint - Class in org.grails.validation
Validates size of the property, for strings and arrays
this is the length, collections the size and numbers the value.
- 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 CreditCardConstraint
-
- supports(Class) - Method in EmailConstraint
-
- supports(Class) - Method in GrailsDomainClassValidator
-
- 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 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
-
Checks with this ConstraintedProperty instance supports applying the specified constraint.