|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateDomainClassProperty
public class GrailsHibernateDomainClassProperty extends java.lang.Object
An implementation of the GrailsDomainClassProperty interface that allows Classes mapped in Hibernate to integrate with Grails' validation, dynamic methods etc. seamlessly.
Constructor Summary | |
GrailsHibernateDomainClassProperty(GrailsHibernateDomainClass domainClass, java.lang.String propertyName)
|
Method Summary | |
---|---|
java.lang.String
|
getColumnName()
|
GrailsDomainClass
|
getComponent()
|
GrailsDomainClass
|
getDomainClass()
|
int
|
getFetchMode()
|
java.lang.String
|
getFieldName()
|
java.lang.String
|
getName()
|
java.lang.String
|
getNaturalName()
|
GrailsDomainClassProperty
|
getOtherSide()
|
GrailsDomainClass
|
getReferencedDomainClass()
|
java.lang.String
|
getReferencedPropertyName()
|
java.lang.Class
|
getReferencedPropertyType()
|
java.lang.Class
|
getType()
|
java.lang.String
|
getTypePropertyName()
|
boolean
|
isAssociation()
|
boolean
|
isBasicCollectionType()
|
boolean
|
isBidirectional()
|
boolean
|
isCircular()
|
boolean
|
isDerived()
|
boolean
|
isEmbedded()
|
boolean
|
isEnum()
|
boolean
|
isHasOne()
|
boolean
|
isIdentity()
|
boolean
|
isInherited()
|
boolean
|
isManyToMany()
|
boolean
|
isManyToOne()
|
boolean
|
isOneToMany()
|
boolean
|
isOneToOne()
|
boolean
|
isOptional()
|
boolean
|
isOwningSide()
|
boolean
|
isPersistent()
|
void
|
setAssociation(boolean association)
|
void
|
setBidirectional(boolean bidirectional)
|
void
|
setColumnName(java.lang.String columnName)
|
void
|
setDerived(boolean derived)
|
void
|
setIdentity(boolean identity)
|
void
|
setManyToMany(boolean manyToMany)
|
void
|
setManyToOne(boolean manyToOne)
|
void
|
setOneToMany(boolean oneToMany)
|
void
|
setOneToOne(boolean oneToOne)
|
void
|
setOptional(boolean optional)
|
void
|
setOtherSide(GrailsDomainClassProperty referencedProperty)
|
void
|
setOwningSide(boolean b)
|
void
|
setReferencedDomainClass(GrailsDomainClass referencedGrailsDomainClass)
|
void
|
setRelatedClassType(java.lang.Class relatedType)
|
void
|
setType(java.lang.Class type)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public GrailsHibernateDomainClassProperty(GrailsHibernateDomainClass domainClass, java.lang.String propertyName)
Method Detail |
---|
public java.lang.String getColumnName()
public GrailsDomainClass getComponent()
public GrailsDomainClass getDomainClass()
public int getFetchMode()
public java.lang.String getFieldName()
public java.lang.String getName()
public java.lang.String getNaturalName()
public GrailsDomainClassProperty getOtherSide()
public GrailsDomainClass getReferencedDomainClass()
public java.lang.String getReferencedPropertyName()
public java.lang.Class getReferencedPropertyType()
public java.lang.Class getType()
public java.lang.String getTypePropertyName()
public boolean isAssociation()
public boolean isBasicCollectionType()
public boolean isBidirectional()
public boolean isCircular()
public boolean isDerived()
public boolean isEmbedded()
public boolean isEnum()
public boolean isHasOne()
public boolean isIdentity()
public boolean isInherited()
public boolean isManyToMany()
public boolean isManyToOne()
public boolean isOneToMany()
public boolean isOneToOne()
public boolean isOptional()
public boolean isOwningSide()
public boolean isPersistent()
public void setAssociation(boolean association)
public void setBidirectional(boolean bidirectional)
public void setColumnName(java.lang.String columnName)
public void setDerived(boolean derived)
public void setIdentity(boolean identity)
public void setManyToMany(boolean manyToMany)
public void setManyToOne(boolean manyToOne)
public void setOneToMany(boolean oneToMany)
public void setOneToOne(boolean oneToOne)
public void setOptional(boolean optional)
public void setOtherSide(GrailsDomainClassProperty referencedProperty)
public void setOwningSide(boolean b)
public void setReferencedDomainClass(GrailsDomainClass referencedGrailsDomainClass)
public void setRelatedClassType(java.lang.Class relatedType)
public void setType(java.lang.Class type)
Groovy Documentation