|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.commons.AbstractGrailsClass org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass
@SuppressWarnings("rawtypes") public class DefaultGrailsDomainClass extends AbstractGrailsClass
Constructor Summary | |
DefaultGrailsDomainClass(java.lang.Class clazz, java.util.Map defaultConstraints)
Constructor. |
|
DefaultGrailsDomainClass(java.lang.Class clazz)
Constructor. |
Method Summary | |
---|---|
java.util.Map
|
getAssociationMap()
Retrieves the association map |
java.util.Map
|
getConstrainedProperties()
|
java.lang.String
|
getFieldName(java.lang.String propertyName)
|
GrailsDomainClassProperty
|
getIdentifier()
|
java.util.Map
|
getMappedBy()
|
java.lang.String
|
getMappingStrategy()
|
java.lang.String
|
getName()
|
GrailsDomainClassProperty[]
|
getPersistantProperties()
@see org.codehaus.groovy.grails.commons.GrailsDomainClass#getPersistantProperties() |
GrailsDomainClassProperty[]
|
getPersistentProperties()
|
GrailsDomainClassProperty[]
|
getProperties()
|
GrailsDomainClassProperty
|
getPropertyByName(java.lang.String name)
|
java.lang.String
|
getPropertyName()
|
java.lang.Class
|
getRelatedClassType(java.lang.String propertyName)
|
java.util.Set
|
getSubClasses()
|
Validator
|
getValidator()
|
GrailsDomainClassProperty
|
getVersion()
|
boolean
|
hasPersistentProperty(java.lang.String propertyName)
|
boolean
|
hasSubClasses()
|
boolean
|
isBidirectional(java.lang.String propertyName)
|
boolean
|
isManyToOne(java.lang.String propertyName)
|
boolean
|
isOneToMany(java.lang.String propertyName)
|
boolean
|
isOwningClass(java.lang.Class domainClass)
|
boolean
|
isRoot()
|
void
|
refreshConstraints()
|
void
|
setMappingStrategy(java.lang.String strategy)
|
void
|
setValidator(Validator validator)
|
Constructor Detail |
---|
public DefaultGrailsDomainClass(java.lang.Class clazz, java.util.Map defaultConstraints)
public DefaultGrailsDomainClass(java.lang.Class clazz)
Method Detail |
---|
@SuppressWarnings("unchecked") public java.util.Map getAssociationMap()
@SuppressWarnings("unchecked") public java.util.Map getConstrainedProperties()
public java.lang.String getFieldName(java.lang.String propertyName)
public GrailsDomainClassProperty getIdentifier()
public java.util.Map getMappedBy()
public java.lang.String getMappingStrategy()
@Override public java.lang.String getName()
@Deprecated public GrailsDomainClassProperty[] getPersistantProperties()
public GrailsDomainClassProperty[] getPersistentProperties()
public GrailsDomainClassProperty[] getProperties()
public GrailsDomainClassProperty getPropertyByName(java.lang.String name)
@Override public java.lang.String getPropertyName()
public java.lang.Class getRelatedClassType(java.lang.String propertyName)
@SuppressWarnings("unchecked") public java.util.Set getSubClasses()
public Validator getValidator()
public GrailsDomainClassProperty getVersion()
public boolean hasPersistentProperty(java.lang.String propertyName)
public boolean hasSubClasses()
public boolean isBidirectional(java.lang.String propertyName)
public boolean isManyToOne(java.lang.String propertyName)
public boolean isOneToMany(java.lang.String propertyName)
public boolean isOwningClass(java.lang.Class domainClass)
public boolean isRoot()
public void refreshConstraints()
public void setMappingStrategy(java.lang.String strategy)
public void setValidator(Validator validator)
Groovy Documentation