Package org.nuiton.eugene.java
Class JavaInterfaceTransformer
- java.lang.Object
-
- org.nuiton.eugene.Template<I>
-
- org.nuiton.eugene.Transformer<org.nuiton.eugene.models.object.ObjectModel,O>
-
- org.nuiton.eugene.models.object.ObjectModelTransformer<org.nuiton.eugene.models.object.ObjectModel>
-
- org.nuiton.eugene.java.ObjectModelTransformerToJava
-
- org.nuiton.eugene.java.JavaInterfaceTransformer
-
- All Implemented Interfaces:
org.nuiton.eugene.TemplateConfiguration
@Component(role=org.nuiton.eugene.Template.class, hint="org.nuiton.eugene.java.JavaInterfaceTransformer") public class JavaInterfaceTransformer extends org.nuiton.eugene.java.ObjectModelTransformerToJava
JavaInterfaceTransformer generates simple interfaces for Java language. Created: 7 nov. 2009- Since:
- 2.0.2
- Author:
- Florian Desbois - desbois@codelutin.com
-
-
Field Summary
-
Fields inherited from class org.nuiton.eugene.java.ObjectModelTransformerToJava
builder, eugeneTagValues
-
Fields inherited from class org.nuiton.eugene.Transformer
outputModel, outputProperties, outputTemplate, previousTransformer
-
-
Constructor Summary
Constructors Constructor Description JavaInterfaceTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canGenerate(org.nuiton.eugene.models.object.ObjectModelInterface input)
void
transformFromInterface(org.nuiton.eugene.models.object.ObjectModelInterface input)
-
Methods inherited from class org.nuiton.eugene.java.ObjectModelTransformerToJava
addAnnotation, addAnnotation, addAnnotationParameter, addAttribute, addAttribute, addAttribute, addAttribute, addBlock, addComment, addConstant, addConstant, addConstantsFromDependency, addConstructor, addConstructor, addException, addException, addGeneratedAnnotation, addI18n, addImport, addImport, addImport, addInnerClassifier, addInterface, addInterface, addLiteral, addOperation, addOperation, addOperation, addParameter, addParameter, addStereotype, addTagValue, addTagValue, cloneAttribute, cloneClass, cloneClassifier, cloneClassifier, cloneEnumeration, cloneInterface, cloneOperation, cloneOperationSignature, cloneStereotypes, cloneTagValues, copyClassifier, createAbstractClass, createClass, createEnumeration, createInterface, debugOutputModel, generateI18nBlock, getConstantName, getConstantPrefix, getConstantPrefix, getFileInClassPath, getJavaBeanMethodName, getJavaBeanMethodName, getPackage, getPackage, initConstantPrefixFromModel, initOutputModel, initOutputTemplate, isInClassPath, isInClassPath, isInClassPath, setConstantPrefix, setDocumentation, setMaxMultiplicity, setMinMultiplicity, setNavigable, setOperationBody, setSuperClass, setSuperClass
-
Methods inherited from class org.nuiton.eugene.models.object.ObjectModelTransformer
transform, transformFromClass, transformFromClassifier, transformFromElement, transformFromEnumeration, transformFromModel
-
Methods inherited from class org.nuiton.eugene.Transformer
addOutputProperty, applyTemplate, getDefaultPackageName, getOutputModel, getOutputProperties, getOutputTemplate, init, initPreviousTransformer, transform
-
Methods inherited from class org.nuiton.eugene.Template
getClassLoader, getConfiguration, getEncoding, getExcludeTemplates, getGeneratedPackages, getLastModifiedSource, getModel, getOverwrite, getProperties, getProperty, getProperty, getResourcesHelper, getWriterReport, isOverwrite, isVerbose, setConfiguration, setProperty
-
-
-
-
Method Detail
-
transformFromInterface
public void transformFromInterface(org.nuiton.eugene.models.object.ObjectModelInterface input)
- Overrides:
transformFromInterface
in classorg.nuiton.eugene.models.object.ObjectModelTransformer<org.nuiton.eugene.models.object.ObjectModel>
-
canGenerate
protected boolean canGenerate(org.nuiton.eugene.models.object.ObjectModelInterface input)
-
-