Methods
| Type Params |
Return Type |
Name and description |
|
abstract grails.core.GrailsDomainClass |
getBeanClass() - Returns:
- the GORM domain type of `beanType`.
|
|
abstract java.util.List<java.lang.Class> |
getBeanSuperclasses() - Returns:
- all superclasses and interfaces of `beanType` excluding `Object`, `Serializable`, `Comparable` and `Cloneable`.
|
|
abstract java.lang.Class |
getBeanType() - Returns:
- the type of the object that owns the property at the end of the path, e.g. for a `address.home.street` then the type of `home` is returned.
|
|
abstract Constrained |
getConstraints() - Returns:
- the constraints of the property at the end of the path, e.g. for `address.home.street` then the constraints of `street` are returned.
|
|
abstract java.lang.String |
getDefaultLabel() - Returns:
- default label text for the property at the end of the path.
|
|
abstract org.grails.datastore.mapping.model.PersistentProperty |
getDomainProperty() - Returns:
- the GORM persistent property descriptor for the property at the end of the path, e.g. for `address.home.street` then the descriptor of `street` is returned.
|
|
abstract org.grails.datastore.mapping.model.PersistentEntity |
getEntity() - Returns:
- the GORM domain type of `beanType`.
|
|
abstract java.util.List<org.springframework.validation.FieldError> |
getErrors() - Returns:
- the resolved messages for any validation errors present on the property at the end of the path.
|
|
abstract java.util.List<java.lang.String> |
getLabelKeys() - Returns:
- the i18n keys used to resolve a label for the property at the end of the path in order of preference.
|
|
abstract java.lang.String |
getPathFromRoot() - Returns:
- the full path from the root bean to the requested property.
|
|
abstract java.lang.String |
getPropertyName() - Returns:
- the name of the property at the end of the path, e.g. for `address.home.street`, `street` is returned.
|
|
abstract java.lang.Class |
getPropertyType() - Returns:
- the type of the property at the end of the path, e.g. for `address.home.street` then the type of `street` is returned.
|
|
abstract java.util.List<java.lang.Class> |
getPropertyTypeSuperclasses() - Returns:
- all superclasses and interfaces of `propertyType` excluding `Object`, `Serializable`, `Comparable` and `Cloneable`.
|
|
abstract java.lang.Object |
getRootBean() - Returns:
- the object at the root of a path expression, e.g. for a `person` bean and `address.street` then `person` is returned.
|
|
abstract java.lang.Class |
getRootBeanType() - Returns:
- the type of the object at the root of a path expression, e.g. for a `person` bean and `address.street` then the type of `person` is returned.
|
|
abstract java.lang.Object |
getValue() - Returns:
- the value of the property at the end of the path, e.g. for `address.home.street` then the value of `street` is returned.
|
|
abstract boolean |
isInvalid() - Returns:
- whether or not the property has any validation errors (i.e.
|
|
abstract boolean |
isRequired() - Returns:
- whether or not the property is required as determined by constraints.
|