@java.lang.SuppressWarnings({"hiding", "rawtypes"}) public class GrailsDomainClassPersistentEntity extends java.lang.Object
Bridges the org.codehaus.groovy.grails.commons.GrailsDomainClass interface into the PersistentEntity interface
Constructor and description |
---|
GrailsDomainClassPersistentEntity
(org.codehaus.groovy.grails.commons.GrailsDomainClass domainClass, GrailsDomainClassMappingContext mappingContext) |
Type | Name and description |
---|---|
java.util.List<Association> |
getAssociations() |
java.lang.String |
getDecapitalizedName() |
java.lang.String |
getDiscriminator() |
org.codehaus.groovy.grails.commons.GrailsDomainClass |
getDomainClass() @return The wrapped GrailsDomainClass instance |
PersistentProperty |
getIdentity() |
java.lang.Class |
getJavaClass() |
ClassMapping |
getMapping() |
MappingContext |
getMappingContext() |
java.lang.String |
getName() |
PersistentEntity |
getParentEntity() |
java.util.List<PersistentProperty> |
getPersistentProperties() |
java.util.List<java.lang.String> |
getPersistentPropertyNames() |
PersistentProperty |
getPropertyByName(java.lang.String name) |
PersistentEntity |
getRootEntity() |
PersistentProperty |
getVersion() |
boolean |
hasProperty(java.lang.String name, java.lang.Class type) |
void |
initialize() |
boolean |
isExternal() |
boolean |
isIdentityName(java.lang.String propertyName) |
boolean |
isInstance(java.lang.Object obj) |
boolean |
isOwningEntity(PersistentEntity owner) |
boolean |
isRoot() |
boolean |
isVersioned() |
java.lang.Object |
newInstance() |
void |
setExternal(boolean external) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |