Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

annotation(IAttribute) - Method in JpaDirective
Renders attribute's annotations(@OneToOne, @OneToMany...).
AnycodeDirective - Class in in.labulle.anycode.engine.groovy.directive
Abstract Directive.
attribute(IAttribute) - Method in JavaDirective
Renders an attribute.
attribute(IAttribute) - Method in JpaDirective
Render JPA Attribute with its annotation.
attribute(IAttribute) - Method in ObjectiveCDirective
Renders attribute.

B

buildMacro(String) - Method in TemplateRepositoryImpl
buildTemplate(String, String, TemplateScope) - Method in TemplateRepositoryImpl

C

calculateName(String) - Method in CompositeTemplate
classifierSignature(IClassifier) - Method in JavaDirective
Renders classifier signature.
classImports(IClassifier) - Method in ObjectiveCDirective
Renders automatically '@class' imports based on dependent attributes.
CompositeTemplate - Class in in.labulle.anycode.engine.groovy.core
CompositeTemplate() - Constructor in CompositeTemplate

D

datatype(IAttribute) - Method in JavaDirective
Renders attribute datatype.
datatype(IAttribute) - Method in ObjectiveCDirective
Renders attribute's datatype declaration.

E


F


G

generalizations(IClassifier) - Method in JavaDirective
Renders generalizations.
getAttributeName(IAttribute) - Method in JavaDirective
Calculates attribute's name.
getAttributeName(IAttribute) - Method in ObjectiveCDirective
Renders attribute's name.
getDataTypeName(IClassifier, String) - Method in JavaDirective
Generates datatype name followed by its modifier.
getDataTypeName(IClassifier, String) - Method in ObjectiveCDirective
Renders datatype's name.
getInstance() - Method in GroovyUserClass
getName() - Method in CompositeTemplate
getName() - Method in GroovyUserClass
getOperationName(IOperation) - Method in JavaDirective
Renders operation name.
getOperationName(IOperation) - Method in JpaDirective
Calculate operation's name.
getOperationName(IOperation) - Method in ObjectiveCDirective
Renders operation name.
getScope() - Method in CompositeTemplate
getter(IAttribute) - Method in JavaDirective
Renders attribute's getter implementation.
getVarName() - Method in GroovyUserClass
GroovyUserClass - Class in in.labulle.anycode.engine.groovy.core
GroovyUserClass(File) - Constructor in GroovyUserClass

H


I

isFinderOperation(IOperation) - Method in JpaDirective
Checks whether the given operation is a finder operation, i.e. : whether it begins with '@' prefix.
isIdentifier(IAttribute) - Method in JpaDirective
Checks whether the given attribute is identifier, i.e. : whether it has an stereotype named 'id'

J

JavaDirective - Class in in.labulle.anycode.engine.groovy.directive
This directive provides macros and functions to generate code in java language.
JpaDirective - Class in in.labulle.anycode.engine.groovy.directive
JPA Directive.

K


L

loadDirectives(Map) - Method in CompositeTemplate
loadScript() - Method in GroovyUserClass

M


N

newInstance(String) - Method in TemplateRepositoryFactoryImpl

O

ObjectiveCDirective - Class in in.labulle.anycode.engine.groovy.directive
operationImplementation(IOperation) - Method in JavaDirective
Renders operation implementation. format '[visibility] [returnType|void] [operation name]([params]) { }'.
operationImplementation(IOperation) - Method in ObjectiveCDirective
Renders operation implementation. format '- [(returnType)|(void)] [operation name]([params]) { }'.
operationSignature(IOperation) - Method in JavaDirective
Renders operation signature. format '[visibility] [returnType|void] [operation name]([params])'.
operationSignature(IOperation) - Method in ObjectiveCDirective
Renders operation signature. format '- [(returnType)|(void)] [operation name]([params])'.
overrides() - Method in CompositeTemplate

P

primaryKey(IClass) - Method in JpaDirective
Generates a primary key based on entity class. 3 possibilities :
primaryKeyDataType(IClass) - Method in JpaDirective
Generates a primary key datatype based on entity class. 3 possibilities :

Q


R

realizations(IClass) - Method in JavaDirective
Renders realizations.
render(Map) - Method in CompositeTemplate
renderAsString(Map) - Method in CompositeTemplate
renderToFile(Map) - Method in CompositeTemplate
repositoryAttribute(IClass) - Method in SpringDataDirective
Renders repository attribute based on the given class.

S

setContentTemplate(String) - Method in CompositeTemplate
setNameTemplate(String) - Method in CompositeTemplate
setScope(TemplateScope) - Method in CompositeTemplate
setter(IAttribute) - Method in JavaDirective
Renders attribute's setter implementation.
SpringDataDirective - Class in in.labulle.anycode.engine.groovy.directive
Spring Data Directive.

T

TemplateRepositoryFactoryImpl - Class in in.labulle.anycode.engine.groovy.repository
TemplateRepositoryImpl - Class in in.labulle.anycode.engine.groovy.repository
TemplateRepositoryImpl(String) - Constructor in TemplateRepositoryImpl

U

UtilDirective - Class in in.labulle.anycode.engine.groovy.directive
Utility directive.

V


W


X


Y


Z


_


Groovy Documentation