interface DomainProperty extends java.lang.Comparable<DomainProperty>, org.grails.datastore.mapping.model.PersistentProperty
An API to join the org.grails.datastore.mapping.model.PersistentProperty to the org.springframework.validation.Validator to assist with scaffolding
| Type | Name and description |
|---|---|
org.grails.datastore.mapping.model.PersistentProperty |
rootProperty |
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract org.grails.datastore.mapping.model.PersistentEntity |
getAssociatedEntity()
|
|
abstract java.lang.Class |
getAssociatedType()
|
|
abstract java.lang.Class |
getBeanType()
|
|
abstract Constrained |
getConstrained()
|
|
abstract java.lang.String |
getDefaultLabel()
|
|
abstract org.grails.datastore.mapping.model.PersistentEntity |
getDomainClass()
|
|
abstract java.util.List<java.lang.String> |
getLabelKeys()
|
|
abstract java.lang.String |
getPathFromRoot()
|
|
abstract org.grails.datastore.mapping.model.PersistentProperty |
getPersistentProperty()
|
|
abstract java.lang.Class |
getRootBeanType()
|
|
abstract org.grails.datastore.mapping.model.PersistentProperty |
getRootProperty()
|
|
abstract boolean |
isRequired()
|
|
abstract void |
setRootProperty(org.grails.datastore.mapping.model.PersistentProperty rootProperty)Sets the root property |
| Methods inherited from class | Name |
|---|---|
interface org.grails.datastore.mapping.model.PersistentProperty |
org.grails.datastore.mapping.model.PersistentProperty#getReader(), org.grails.datastore.mapping.model.PersistentProperty#isNullable(), org.grails.datastore.mapping.model.PersistentProperty#getWriter(), org.grails.datastore.mapping.model.PersistentProperty#getCapitilizedName(), org.grails.datastore.mapping.model.PersistentProperty#getMapping(), org.grails.datastore.mapping.model.PersistentProperty#getName(), org.grails.datastore.mapping.model.PersistentProperty#isInherited(), org.grails.datastore.mapping.model.PersistentProperty#getType(), org.grails.datastore.mapping.model.PersistentProperty#getOwner() |
Sets the root property
rootProperty - The root property