@java.lang.annotation.Retention(value: RetentionPolicy.RUNTIME) @java.lang.annotation.Target(value: [ElementType.TYPE]) @org.codehaus.groovy.transform.GroovyASTTransformationClass(value: org.grails.plugins.web.rest.transform.ResourceTransform) @interface Resource
Meta Annotation to applied to a domain class if it is a REST resource
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.lang.String[] |
formats()
|
|
abstract java.lang.String |
namespace()
|
|
abstract boolean |
readOnly()
|
|
abstract java.lang.Class<?> |
superClass()
|
|
abstract java.lang.String |
uri()
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |