|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.domain.GrailsDomainClassPersistentEntity
@SuppressWarnings("rawtypes") public class GrailsDomainClassPersistentEntity extends java.lang.Object
Bridges the GrailsDomainClass interface into the org.grails.datastore.mapping.model.PersistentEntity interface
Constructor Summary | |
GrailsDomainClassPersistentEntity(GrailsDomainClass domainClass, GrailsDomainClassMappingContext mappingContext)
|
Method Summary | |
---|---|
java.util.List
|
getAssociations()
|
java.lang.String
|
getDecapitalizedName()
|
java.lang.String
|
getDiscriminator()
|
GrailsDomainClass
|
getDomainClass()
@return The wrapped GrailsDomainClass instance |
org.grails.datastore.mapping.model.PersistentProperty
|
getIdentity()
|
java.lang.Class
|
getJavaClass()
|
org.grails.datastore.mapping.model.ClassMapping
|
getMapping()
|
org.grails.datastore.mapping.model.MappingContext
|
getMappingContext()
|
java.lang.String
|
getName()
|
org.grails.datastore.mapping.model.PersistentEntity
|
getParentEntity()
|
java.util.List
|
getPersistentProperties()
|
java.util.List
|
getPersistentPropertyNames()
|
org.grails.datastore.mapping.model.PersistentProperty
|
getPropertyByName(java.lang.String name)
|
org.grails.datastore.mapping.model.PersistentEntity
|
getRootEntity()
|
org.grails.datastore.mapping.model.PersistentProperty
|
getVersion()
|
boolean
|
hasProperty(java.lang.String name, java.lang.Class type)
|
void
|
initialize()
|
boolean
|
isExternal()
|
boolean
|
isIdentityName(java.lang.String propertyName)
|
boolean
|
isInitialized()
|
boolean
|
isInstance(java.lang.Object obj)
|
boolean
|
isOwningEntity(org.grails.datastore.mapping.model.PersistentEntity owner)
|
boolean
|
isRoot()
|
boolean
|
isVersioned()
|
java.lang.Object
|
newInstance()
|
void
|
setExternal(boolean external)
|
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 GrailsDomainClassPersistentEntity(GrailsDomainClass domainClass, GrailsDomainClassMappingContext mappingContext)
Method Detail |
---|
public java.util.List getAssociations()
public java.lang.String getDecapitalizedName()
public java.lang.String getDiscriminator()
public GrailsDomainClass getDomainClass()
public org.grails.datastore.mapping.model.PersistentProperty getIdentity()
public java.lang.Class getJavaClass()
public org.grails.datastore.mapping.model.ClassMapping getMapping()
public org.grails.datastore.mapping.model.MappingContext getMappingContext()
public java.lang.String getName()
public org.grails.datastore.mapping.model.PersistentEntity getParentEntity()
public java.util.List getPersistentProperties()
public java.util.List getPersistentPropertyNames()
public org.grails.datastore.mapping.model.PersistentProperty getPropertyByName(java.lang.String name)
public org.grails.datastore.mapping.model.PersistentEntity getRootEntity()
public org.grails.datastore.mapping.model.PersistentProperty getVersion()
public boolean hasProperty(java.lang.String name, java.lang.Class type)
public void initialize()
public boolean isExternal()
public boolean isIdentityName(java.lang.String propertyName)
@Override public boolean isInitialized()
public boolean isInstance(java.lang.Object obj)
public boolean isOwningEntity(org.grails.datastore.mapping.model.PersistentEntity owner)
public boolean isRoot()
public boolean isVersioned()
public java.lang.Object newInstance()
public void setExternal(boolean external)
Groovy Documentation