Uses of Interface
org.nuiton.eugene.models.object.ObjectModelClassifier
-
Packages that use ObjectModelClassifier Package Description org.nuiton.eugene Eugene.org.nuiton.eugene.java Eugene java package : all specific class for Java generation.org.nuiton.eugene.java.extension Eugene java extension package : all specific extension for Java generation.org.nuiton.eugene.models.extension.io org.nuiton.eugene.models.object org.nuiton.eugene.models.object.validator org.nuiton.eugene.models.object.xml -
-
Uses of ObjectModelClassifier in org.nuiton.eugene
Methods in org.nuiton.eugene that return types with arguments of type ObjectModelClassifier Modifier and Type Method Description static Collection<ObjectModelClassifier>GeneratorUtil. getClassifiers(ObjectModel model, String packageName)return all classifiers belonging to the given package recursively.Methods in org.nuiton.eugene with parameters of type ObjectModelClassifier Modifier and Type Method Description static longGeneratorUtil. generateSerialVersionUID(ObjectModelClassifier classifier)Generates the serialVersionUID of the givenclassifier.StringEugeneCoreTagValues. getConstantPrefixTagValue(ObjectModelClassifier classifier, ObjectModelPackage aPackage, ObjectModel model)Obtain the value of theEugeneCoreTagValues.Store.constantPrefixtag value on the given model or classifier.Set<String>EugeneCoreTagValues. getConstants(ObjectModelClassifier classifier)Get tag valueEugeneCoreTagValues.Store.constantson givenclassifier.booleanEugeneCoreTagValues. isGenerateBooleanGetMethods(ObjectModelClassifier classifier, ObjectModelPackage aPackage, ObjectModel model)Obtain the value of theEugeneCoreTagValues.Store.generateBooleanGetMethodstag value on the given model, package or classifier.static booleanEugeneCoreTagValues. isSkip(ObjectModelClassifier classifier, ObjectModelPackage aPackage)Check if the given classifier has theEugeneCoreTagValues.Store.skipboolean tag value. -
Uses of ObjectModelClassifier in org.nuiton.eugene.java
Methods in org.nuiton.eugene.java that return ObjectModelClassifier Modifier and Type Method Description ObjectModelClassifierObjectModelTransformerToJava. addInnerClassifier(ObjectModelClass clazz, ObjectModelType type, String name, ObjectModelModifier... modifiers)ObjectModelClassifierObjectModelTransformerToJava. cloneClassifier(ObjectModelClassifier source, boolean cloneDocumentation)creates a clone of the givensourceclassifier in the output model and clones attributes, inheritence declaration and operationsMethods in org.nuiton.eugene.java with parameters of type ObjectModelClassifier Modifier and Type Method Description ObjectModelAnnotationJavaBuilder. addAnnotation(ObjectModelClassifier classifier, ObjectModelElement element, String annotationType)Add an annotation on an element of a classifier.ObjectModelAnnotationObjectModelTransformerToJava. addAnnotation(ObjectModelClassifier classifier, ObjectModelElement element, Class<?> annotationType)Add an annotation of the givenelementof the givenclassifier.ObjectModelAnnotationObjectModelTransformerToJava. addAnnotation(ObjectModelClassifier classifier, ObjectModelElement element, String annotationType)Add an annotation of the givenelementof the givenclassifier.ObjectModelAnnotationObjectModelTransformerToJava. addAnnotationParameter(ObjectModelClassifier classifier, ObjectModelAnnotation annotation, String annotationName, Object annotationValue)Add a parameter to an annotation.ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type)Add a new attribute to a classifier with no default value.ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)Add a new attribute to a classifier.ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)Add a new attribute to a classifier from an existing attribute.protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, Class<?> type, String value, ObjectModelModifier... modifiers)ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, String type)protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)ObjectModelOperationJavaBuilder. addBlock(ObjectModelClassifier classifier, ObjectModelModifier... modifiers)Add a new block to a classifier.ObjectModelOperationObjectModelTransformerToJava. addBlock(ObjectModelClassifier classifier, ObjectModelModifier... modifiers)add an operation to the classifier with the form of a simple block of code.voidJavaBuilder. addBodyCode(ObjectModelClassifier classifier, ObjectModelOperation operation, String code)Add a body code to the operation of a classifier.ObjectModelAttributeJavaBuilder. addConstant(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier visibility)Add a new constant to a classifier.protected ObjectModelAttributeObjectModelTransformerToJava. addConstant(ObjectModelClassifier classifier, String name, Class<?> type, String value, ObjectModelModifier visibility)protected ObjectModelAttributeObjectModelTransformerToJava. addConstant(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier visibility)protected Set<String>ObjectModelTransformerToJava. addConstantsFromDependency(ObjectModelClassifier input, ObjectModelClassifier output)Search ininputmodel, for a enumeration dependency namedJavaGeneratorUtil.DEPENDENCIES_CONSTANTS.protected ObjectModelOperationJavaBuilder. addConstructorForClassifier(ObjectModelClassifier classifier, ObjectModelModifier visibility)protected voidObjectModelTransformerToJava. addGeneratedAnnotation(ObjectModelClassifier element)Add theGeneratedannotation to the givenObjectModelClassifiervoidJavaBuilder. addImport(ObjectModelClassifier classifier, String imports)Add an import to a classifier.protected voidObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, Class<?> imports)protected voidObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, String imports)protected voidObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, ObjectModelClass imports)voidJavaBuilder. addInterface(ObjectModelClassifier classifier, String interfaceQualifiedName)Add an interface to a classifier (interface, class, enum).protected voidObjectModelTransformerToJava. addInterface(ObjectModelClassifier classifier, Class<?> interfaceQualifiedName)protected voidObjectModelTransformerToJava. addInterface(ObjectModelClassifier classifier, String interfaceQualifiedName)ObjectModelOperationJavaBuilder. addOperation(ObjectModelClassifier classifier, String name, String type, ObjectModelModifier... modifiers)Add a new operation to a classifier.protected ObjectModelOperationObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, String name, Class<?> type, ObjectModelModifier... modifiers)protected ObjectModelOperationObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, String name, String type, ObjectModelModifier... modifiers)protected ObjectModelOperationObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, ObjectModelOperation operation)Adds an operation to the given classifier.protected ObjectModelAttributeObjectModelTransformerToJava. cloneAttribute(ObjectModelAttribute source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)clone a given attribute into a classifier of the output modelObjectModelClassifierObjectModelTransformerToJava. cloneClassifier(ObjectModelClassifier source, boolean cloneDocumentation)creates a clone of the givensourceclassifier in the output model and clones attributes, inheritence declaration and operationsprotected voidObjectModelTransformerToJava. cloneClassifier(ObjectModelClassifier source, ObjectModelClassifier destination, boolean copyDocumentation)copy attributes, interfaces declartion and operation of a given classifier into another classifier.ObjectModelOperationObjectModelTransformerToJava. cloneOperation(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelJavaModifier... modifiers)Clone thesourceoperation into thedestinationclassifier.static voidJavaGeneratorUtil. cloneOperations(ObjectModelTransformerToJava transformer, Iterable<ObjectModelOperation> operations, ObjectModelClassifier target, boolean useVisibility, ObjectModelModifier... extraModifiers)Duplicates in thetargetclassifier the givenoperationsusing atransformerto modify model.ObjectModelOperationObjectModelTransformerToJava. cloneOperationSignature(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)Clone thesourceoperation into thedestinationclassifier.protected voidObjectModelTransformerToJava. cloneStereotypes(ObjectModelClassifier source, ObjectModelClassifier destination)protected voidObjectModelTransformerToJava. copyClassifier(ObjectModelClassifier source, ObjectModelClassifier destination, boolean copyDocumentation)Deprecated.since 2.3, prefer use theObjectModelTransformerToJava.cloneClass(ObjectModelClass, boolean)methodvoidJavaGenerator. generateAnnotations(Writer output, ObjectModelClassifier clazz, ObjectModelElement element)protected voidJavaGenerator. generateAttributes(Writer output, ObjectModelClassifier clazz, Collection<ObjectModelAttribute> attributes)Generate attributes from a collection of ObjectModelAttribute.protected voidJavaGenerator. generateBlock(Writer output, ObjectModelClassifier clazz, ObjectModelOperation op)protected voidJavaGenerator. generateHeader(Writer output, ObjectModelClassifier classifier)Generate Header for a classifier : Package, Documentation, Imports and Classifier signature.protected voidObjectModelTransformerToJava. generateI18nBlock(ObjectModelClassifier input, ObjectModelClassifier output, String i18nPrefix)Generates a static block with I18n keys for each navigable attributes prefixed by the giveni18nPrefix.protected voidJavaGenerator. generateOperations(Writer output, ObjectModelClassifier clazz, Collection<ObjectModelOperation> operations)Generate operations from a collection of ObjectModelOperationprotected StringObjectModelTransformerToJava. getConstantPrefix(ObjectModelClassifier input)StringJavaGenerator. getFilenameForClassifier(ObjectModelClassifier clazz)ImportsManagerJavaBuilder. getImportManager(ObjectModelClassifier clazz)protected ObjectModelPackageObjectModelTransformerToJava. getPackage(ObjectModelClassifier input)StringJavaBuilder. importAndSimplify(ObjectModelClassifier classifier, String imports)protected StringObjectModelTransformerToJava. importAndSimplify(ObjectModelClassifier classifier, String imports)protected booleanObjectModelTransformerToJava. isInClassPath(ObjectModelClassifier classifier)Deprecated.since 3.0, use theTemplate.getResourcesHelper()object directly.protected voidJavaGenerator. preparePrefix(ObjectModelClassifier clazz)Method parameters in org.nuiton.eugene.java with type arguments of type ObjectModelClassifier Modifier and Type Method Description voidJavaGenerator. generateInnerClassifiers(Writer output, Collection<ObjectModelClassifier> innerClassifiers)protected voidObjectModelTransformerToJava. storeServiceLoaderFile(Class<?> type, List<? extends ObjectModelClassifier> classes, Function<? super ObjectModelClassifier,String> function)protected voidObjectModelTransformerToJava. storeServiceLoaderFile(Class<?> type, List<? extends ObjectModelClassifier> classes, Function<? super ObjectModelClassifier,String> function)protected List<String>ObjectModelTransformerToJava. toQualifiedNames(List<? extends ObjectModelClassifier> classes, Function<? super ObjectModelClassifier,String> function)protected List<String>ObjectModelTransformerToJava. toQualifiedNames(List<? extends ObjectModelClassifier> classes, Function<? super ObjectModelClassifier,String> function) -
Uses of ObjectModelClassifier in org.nuiton.eugene.java.extension
Methods in org.nuiton.eugene.java.extension with parameters of type ObjectModelClassifier Modifier and Type Method Description voidCodesManagerExtension. addcode(ObjectModelClassifier classifier, ObjectModelOperation operation, String code)Add thecodefor the givenoperationof the givenclassifier.List<ObjectModelAnnotation>AnnotationsManagerExtension. getAnnotations(ObjectModelClassifier classifier, ObjectModelElement element)Get the registred annotations for the givenelementin the givenclassifier.StringCodesManagerExtension. getCode(ObjectModelClassifier classifier, ObjectModelOperation operation)Get body code for a operation of the given classifier.List<String>ImportsManagerExtension. getImports(ObjectModelClassifier classifier)Get imports for a classifier.AnnotationsManagerAnnotationsManagerExtension. getManager(ObjectModelClassifier classifier)Get the AnotationsManager associated to the classifier.CodesManagerCodesManagerExtension. getManager(ObjectModelClassifier classifier)Get the CodesManager associated to the classifier.ImportsManagerImportsManagerExtension. getManager(ObjectModelClassifier classifier)Get the ImportsManager associated to the classifier. -
Uses of ObjectModelClassifier in org.nuiton.eugene.models.extension.io
Methods in org.nuiton.eugene.models.extension.io that return ObjectModelClassifier Modifier and Type Method Description protected ObjectModelClassifierModelExtensionReader. getClassifier(String fqn)Methods in org.nuiton.eugene.models.extension.io with parameters of type ObjectModelClassifier Modifier and Type Method Description protected ObjectModelAttributeModelExtensionReader. getAttribute(ObjectModelClassifier clazz, String name)Retrieve an attribute from aclazzwith itsname.protected ObjectModelAttributeModelExtensionReader. getInheritedAttribute(ObjectModelClassifier clazz, String name) -
Uses of ObjectModelClassifier in org.nuiton.eugene.models.object
Subinterfaces of ObjectModelClassifier in org.nuiton.eugene.models.object Modifier and Type Interface Description interfaceObjectModelAssociationClassObjectModelAssociationClass.interfaceObjectModelClassAbstraction for the class node of object model trees.interfaceObjectModelEnumerationObjectModelEnumeration.interfaceObjectModelInterfaceAbstraction for the interface node of object model trees.Fields in org.nuiton.eugene.models.object declared as ObjectModelClassifier Modifier and Type Field Description protected ObjectModelClassifierSerialVersionUIDBuilder. clazzMethods in org.nuiton.eugene.models.object that return ObjectModelClassifier Modifier and Type Method Description ObjectModelClassifierObjectModelBuilder. addInnerClassifier(ObjectModelClass clazz, ObjectModelType type, String name, ObjectModelModifier... modifiers)Add a superclass to an other class.ObjectModelClassifierObjectModel. getClassifier(String qualifiedClassifierName)Returns the classifier corresponding to the given qualified name, or null if the model contains no classifier for this qualified name.ObjectModelClassifierObjectModelAttribute. getClassifier()Returns the classifier referenced by this attribute or null if it does not reference a model classifier.ObjectModelClassifierObjectModelPackage. getClassifier(String simpleName)Returns the classifier corresponding to the given simple name, or null if the package contains no classifier for this simple name.ObjectModelClassifierObjectModelDependency. getClient()Client classifier of the dependencyObjectModelClassifierObjectModelDependency. getSupplier()Supplier classifier of the dependencyMethods in org.nuiton.eugene.models.object that return types with arguments of type ObjectModelClassifier Modifier and Type Method Description Collection<ObjectModelClassifier>ObjectModel. getClassifiers()Returns all classifiers defined in this model.Iterable<ObjectModelClassifier>ObjectModelPackage. getClassifiers()Returns all classifiers defined in this package.Collection<ObjectModelClassifier>ObjectModelClass. getInnerClassifiers()Returns all inner classes for this class.List<ObjectModelClassifier>ObjectModelAssociationClass. getParticipantsClassifiers()Returns all participants (that is association ends) classifiers for this association class.Methods in org.nuiton.eugene.models.object with parameters of type ObjectModelClassifier Modifier and Type Method Description ObjectModelAttributeObjectModelBuilder. addAssociation(ObjectModelClassifier classifierA, ObjectModelClassifier classifierB, String roleName, int minMultiplicity, int maxMultiplicity, ObjectModelModifier... modifiers)Add an association A to B.ObjectModelAttributeObjectModelBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type)Add an attribute to a classifier (interface, class, enum) without default value.ObjectModelAttributeObjectModelBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)Add an attribute to a classifier (interface, class, enum).voidObjectModelBuilder. addInterface(ObjectModelClassifier classifier, String interfaceQualifiedName)Add an interface to a classifier.ObjectModelOperationObjectModelBuilder. addOperation(ObjectModelClassifier classifier, String name, String returnType, ObjectModelModifier... modifiers)Add an operation to a classifier.ObjectModelOperationObjectModelBuilder. addOperation(ObjectModelClassifier classifier, ObjectModelOperation operation)Add an operation to a classifier.static longSerialVersionUIDBuilder. computeDefaultSUID(ObjectModelClassifier psiClass)voidObjectModelGenerator. generateFromClassifier(Writer output, ObjectModelClassifier input)StringObjectModelGenerator. getFilenameForClassifier(ObjectModelClassifier classifier)Par defaut cette methode retourne le QualifiedName convertie en chemin par exemple pour org.codelutin.Toto on aurait org/codelutin/TotoObjectModelPackageObjectModel. getPackage(ObjectModelClassifier classifier)Returns the package of the given classifier, or null if the model contains no package for this classifier.voidObjectModelTransformer. transformFromClassifier(ObjectModelClassifier clazz)Constructors in org.nuiton.eugene.models.object with parameters of type ObjectModelClassifier Constructor Description SerialVersionUIDBuilder(ObjectModelClassifier clazz) -
Uses of ObjectModelClassifier in org.nuiton.eugene.models.object.validator
Methods in org.nuiton.eugene.models.object.validator with parameters of type ObjectModelClassifier Modifier and Type Method Description protected booleanObjectModelValidator. validateClassifier(ObjectModelClassifier classifier) -
Uses of ObjectModelClassifier in org.nuiton.eugene.models.object.xml
Classes in org.nuiton.eugene.models.object.xml that implement ObjectModelClassifier Modifier and Type Class Description classObjectModelAssociationClassImplObjectModelAssociationClassImpl.javaclassObjectModelClassifierImplObjectModelClassifierImpl.classObjectModelClassImplObjectModelClassImpl.classObjectModelEnumerationImplObjectModelEnumerationImpl.classObjectModelInterfaceImplObjectModelInterfaceImpl.java Created: 14 janv. 2004Fields in org.nuiton.eugene.models.object.xml declared as ObjectModelClassifier Modifier and Type Field Description protected ObjectModelClassifierObjectModelAttributeImpl. referenceFields in org.nuiton.eugene.models.object.xml with type parameters of type ObjectModelClassifier Modifier and Type Field Description protected Map<String,ObjectModelClassifier>ObjectModelImpl. classifiersprotected List<ObjectModelClassifier>ObjectModelClassImpl. innerClassesprotected com.google.common.base.Predicate<ObjectModelClassifier>ObjectModelPackageImpl. IS_PACKAGE_NAME_EQUALS_PREDICATEprotected List<ObjectModelClassifier>ObjectModelAssociationClassImpl. participantsClassifiersMethods in org.nuiton.eugene.models.object.xml that return ObjectModelClassifier Modifier and Type Method Description ObjectModelClassifierObjectModelAttributeImpl. getClassifier()Returns the classifier referenced by this attribute or null if it does not reference a model classifier.ObjectModelClassifierObjectModelImpl. getClassifier(String qualifiedClassifierName)Returns the classifier corresponding to the given qualified name, or null if the model contains no classifier for this qualified name.ObjectModelClassifierObjectModelPackageImpl. getClassifier(String simpleName)ObjectModelClassifierObjectModelDependencyImpl. getClient()ObjectModelClassifierObjectModelDependencyImpl. getSupplier()The object instance of supplier is getting from model when supplier is nullMethods in org.nuiton.eugene.models.object.xml that return types with arguments of type ObjectModelClassifier Modifier and Type Method Description Collection<ObjectModelClassifier>ObjectModelImpl. getClassifiers()Returns all classifiers defined in this model.Iterable<ObjectModelClassifier>ObjectModelPackageImpl. getClassifiers()Collection<ObjectModelClassifier>ObjectModelClassImpl. getInnerClassifiers()List<ObjectModelClassifier>ObjectModelAssociationClassImpl. getParticipantsClassifiers()Returns all participants (that is association ends) classifiers for this association class.protected com.google.common.base.Predicate<ObjectModelClassifier>ObjectModelPackageImpl. newClassifierNameEquals(String simpleName)Methods in org.nuiton.eugene.models.object.xml with parameters of type ObjectModelClassifier Modifier and Type Method Description booleanObjectModelPackageImpl.PackageNameEqualsPredicate. apply(ObjectModelClassifier input)booleanObjectModelPackageImpl.SimpleNameEqualsPredicate. apply(ObjectModelClassifier input)ObjectModelPackageObjectModelImpl. getPackage(ObjectModelClassifier classifier)
-