|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of GrailsDomainClassProperty in grails.converters |
---|
Methods in grails.converters with parameters of type GrailsDomainClassProperty | |
---|---|
protected Object |
JSON.extractIdValue(Object domainObject,
GrailsDomainClassProperty idProperty)
Reads the value of the primary identifier property of a domain class instance |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.commons |
---|
Classes in org.codehaus.groovy.grails.commons that implement GrailsDomainClassProperty | |
---|---|
class |
DefaultGrailsDomainClassProperty
A class that represents a property of a domain class and contains meta information about the properties relationships, naming conventions and type |
Methods in org.codehaus.groovy.grails.commons that return GrailsDomainClassProperty | |
---|---|
GrailsDomainClassProperty |
GrailsDomainClass.getIdentifier()
Returns the identifier property |
GrailsDomainClassProperty |
DefaultGrailsDomainClass.getIdentifier()
|
GrailsDomainClassProperty |
DefaultGrailsDomainClassProperty.getOtherSide()
|
GrailsDomainClassProperty |
GrailsDomainClassProperty.getOtherSide()
Returns the other side of a bidirectional association |
GrailsDomainClassProperty[] |
GrailsDomainClass.getPersistantProperties()
Deprecated. Use #getPersistentProperties instead |
GrailsDomainClassProperty[] |
DefaultGrailsDomainClass.getPersistantProperties()
Deprecated. |
GrailsDomainClassProperty[] |
GrailsDomainClass.getPersistentProperties()
Returns all of the persistant properties of the domain class |
GrailsDomainClassProperty[] |
DefaultGrailsDomainClass.getPersistentProperties()
|
GrailsDomainClassProperty[] |
GrailsDomainClass.getProperties()
Returns all of the properties of the domain class |
GrailsDomainClassProperty[] |
DefaultGrailsDomainClass.getProperties()
|
GrailsDomainClassProperty |
GrailsDomainClass.getPropertyByName(String name)
Returns the property for the given name |
GrailsDomainClassProperty |
DefaultGrailsDomainClass.getPropertyByName(String name)
|
GrailsDomainClassProperty |
GrailsDomainClass.getVersion()
Returns the version property |
GrailsDomainClassProperty |
DefaultGrailsDomainClass.getVersion()
|
Methods in org.codehaus.groovy.grails.commons with parameters of type GrailsDomainClassProperty | |
---|---|
static Map |
GrailsDomainConfigurationUtil.evaluateConstraints(Object instance,
GrailsDomainClassProperty[] properties)
Evaluates the constraints closure to build the list of constraints |
static boolean |
GrailsDomainConfigurationUtil.isBasicType(GrailsDomainClassProperty prop)
Establish whether its a basic type |
void |
DefaultGrailsDomainClassProperty.setOtherSide(GrailsDomainClassProperty property)
|
void |
GrailsDomainClassProperty.setOtherSide(GrailsDomainClassProperty referencedProperty)
Sets the other side of an associative property |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.orm.hibernate |
---|
Classes in org.codehaus.groovy.grails.orm.hibernate that implement GrailsDomainClassProperty | |
---|---|
class |
GrailsHibernateDomainClassProperty
An implementation of the GrailsDomainClassProperty interface that allows Classes mapped in Hibernate to integrate with Grails' validation, dynamic methods etc. seamlessly |
Methods in org.codehaus.groovy.grails.orm.hibernate that return GrailsDomainClassProperty | |
---|---|
GrailsDomainClassProperty |
GrailsHibernateDomainClass.getIdentifier()
|
GrailsDomainClassProperty |
GrailsHibernateDomainClassProperty.getOtherSide()
|
GrailsDomainClassProperty[] |
GrailsHibernateDomainClass.getPersistantProperties()
Deprecated. |
GrailsDomainClassProperty[] |
GrailsHibernateDomainClass.getPersistentProperties()
|
GrailsDomainClassProperty[] |
GrailsHibernateDomainClass.getProperties()
|
GrailsDomainClassProperty |
GrailsHibernateDomainClass.getPropertyByName(String name)
|
GrailsDomainClassProperty |
GrailsHibernateDomainClass.getVersion()
|
Methods in org.codehaus.groovy.grails.orm.hibernate with parameters of type GrailsDomainClassProperty | |
---|---|
void |
GrailsHibernateDomainClassProperty.setOtherSide(GrailsDomainClassProperty referencedProperty)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.orm.hibernate.cfg |
---|
Fields in org.codehaus.groovy.grails.orm.hibernate.cfg declared as GrailsDomainClassProperty | |
---|---|
protected GrailsDomainClassProperty |
GrailsDomainBinder.GrailsCollectionSecondPass.property
|
Methods in org.codehaus.groovy.grails.orm.hibernate.cfg with parameters of type GrailsDomainClassProperty | |
---|---|
abstract org.hibernate.mapping.Collection |
GrailsDomainBinder.CollectionType.create(GrailsDomainClassProperty property,
org.hibernate.mapping.PersistentClass owner,
String path,
org.hibernate.cfg.Mappings mappings)
|
Constructors in org.codehaus.groovy.grails.orm.hibernate.cfg with parameters of type GrailsDomainClassProperty | |
---|---|
GrailsDomainBinder.GrailsCollectionSecondPass(GrailsDomainClassProperty property,
org.hibernate.cfg.Mappings mappings,
org.hibernate.mapping.Collection coll)
|
|
GrailsDomainBinder.ListSecondPass(GrailsDomainClassProperty property,
org.hibernate.cfg.Mappings mappings,
org.hibernate.mapping.Collection coll)
|
|
GrailsDomainBinder.MapSecondPass(GrailsDomainClassProperty property,
org.hibernate.cfg.Mappings mappings,
org.hibernate.mapping.Collection coll)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.validation |
---|
Methods in org.codehaus.groovy.grails.validation with parameters of type GrailsDomainClassProperty | |
---|---|
protected void |
GrailsDomainClassValidator.cascadeToAssociativeProperty(Errors errors,
BeanWrapper bean,
GrailsDomainClassProperty persistentProperty)
Cascades validation onto an associative property maybe a one-to-many, one-to-one or many-to-one relationship |
protected void |
HibernateDomainClassValidator.cascadeValidationToMany(Errors errors,
BeanWrapper bean,
GrailsDomainClassProperty persistentProperty,
String propertyName)
Overrides the default behaviour and first checks if a PersistentCollection instance has been initialised using the wasInitialised() method before cascading |
protected void |
GrailsDomainClassValidator.cascadeValidationToMany(Errors errors,
BeanWrapper bean,
GrailsDomainClassProperty persistentProperty,
String propertyName)
Cascades validation to a one-to-many type relationship. |
protected void |
GrailsDomainClassValidator.cascadeValidationToOne(Errors errors,
BeanWrapper bean,
Object associatedObject,
GrailsDomainClassProperty persistentProperty,
String propertyName)
Cascades validation to a one-to-one or many-to-one property |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.validation.metaclass |
---|
Constructors in org.codehaus.groovy.grails.validation.metaclass with parameters of type GrailsDomainClassProperty | |
---|---|
ConstraintsEvaluatingDynamicProperty(GrailsDomainClassProperty[] properties)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |