Class 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
      • Fields inherited from class org.nuiton.eugene.Template

        configuration, excludeTemplates, generatedPackages, model, resourcesHelper
      • Fields inherited from interface org.nuiton.eugene.TemplateConfiguration

        PROP_CLASS_LOADER, PROP_DEFAULT_PACKAGE, PROP_ENCODING, PROP_EXCLUDE_TEMPLATES, PROP_GENERATED_PACKAGES, PROP_LAST_MODIFIED_SOURCE, PROP_OVERWRITE, PROP_VERBOSE, PROP_WRITER_REPORT
    • 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
    • Constructor Detail

      • JavaInterfaceTransformer

        public JavaInterfaceTransformer()
    • Method Detail

      • transformFromInterface

        public void transformFromInterface​(org.nuiton.eugene.models.object.ObjectModelInterface input)
        Overrides:
        transformFromInterface in class org.nuiton.eugene.models.object.ObjectModelTransformer<org.nuiton.eugene.models.object.ObjectModel>
      • canGenerate

        protected boolean canGenerate​(org.nuiton.eugene.models.object.ObjectModelInterface input)