public class DomainClassArtefactHandler extends ArtefactHandlerAdapter implements GrailsApplicationAware, org.springframework.core.Ordered
Evaluates the conventions that define a domain class in Grails.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
PLUGIN_NAME |
|
static java.lang.String |
TYPE |
Fields inherited from class | Fields |
---|---|
class ArtefactHandlerAdapter |
allowAbstract, artefactSuffix, grailsClassImpl, grailsClassType, type |
Constructor and description |
---|
DomainClassArtefactHandler
() |
Type Params | Return Type | Name and description |
---|---|---|
|
public int |
getOrder() |
|
public java.lang.String |
getPluginName() |
|
public boolean |
isArtefact(org.codehaus.groovy.ast.ClassNode classNode) |
|
public boolean |
isArtefactClass(java.lang.Class clazz) |
|
protected boolean |
isArtefactResource(Resource resource) |
|
public static boolean |
isDomainClass(java.lang.Class<?> clazz, boolean allowProxyClass) |
|
public static boolean |
isDomainClass(java.lang.Class<?> clazz) |
|
protected boolean |
isValidArtefactClassNode(org.codehaus.groovy.ast.ClassNode classNode, int modifiers) |
|
public GrailsClass |
newArtefactClass(java.lang.Class artefactClass) |
|
public GrailsClass |
newArtefactClass(java.lang.Class artefactClass, org.grails.datastore.mapping.model.MappingContext mappingContext) |
|
public void |
setGrailsApplication(GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class ArtefactHandlerAdapter |
getArtefactForFeature, getPluginName, getType, initialize, isArtefact, isArtefact, isArtefactClass, isArtefactGrailsClass, isArtefactResource, isValidArtefactClassNode, newArtefactClass |