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 long
GeneratorUtil. generateSerialVersionUID(ObjectModelClassifier classifier)
Generates the serialVersionUID of the givenclassifier
.String
EugeneCoreTagValues. getConstantPrefixTagValue(ObjectModelClassifier classifier, ObjectModelPackage aPackage, ObjectModel model)
Obtain the value of theEugeneCoreTagValues.Store.constantPrefix
tag value on the given model or classifier.boolean
EugeneCoreTagValues. isGenerateBooleanGetMethods(ObjectModelClassifier classifier, ObjectModelPackage aPackage, ObjectModel model)
Obtain the value of theEugeneCoreTagValues.Store.generateBooleanGetMethods
tag value on the given model, package or classifier.static boolean
EugeneCoreTagValues. isSkip(ObjectModelClassifier classifier, ObjectModelPackage aPackage)
Check if the given classifier has theEugeneCoreTagValues.Store.skip
boolean tag value. -
Uses of ObjectModelClassifier in org.nuiton.eugene.java
Methods in org.nuiton.eugene.java that return ObjectModelClassifier Modifier and Type Method Description ObjectModelClassifier
ObjectModelTransformerToJava. addInnerClassifier(ObjectModelClass clazz, ObjectModelType type, String name, ObjectModelModifier... modifiers)
ObjectModelClassifier
ObjectModelTransformerToJava. cloneClassifier(ObjectModelClassifier source, boolean cloneDocumentation)
creates a clone of the givensource
classifier in the output model and clones attributes, inheritence declaration and operations class-specific, enumeration-specific and interface-specific features of the given classifier will be present in the cloneMethods in org.nuiton.eugene.java with parameters of type ObjectModelClassifier Modifier and Type Method Description ObjectModelAnnotation
JavaBuilder. addAnnotation(ObjectModelClassifier classifier, ObjectModelElement element, String annotationType)
Add an annotation on an element of a classifier.ObjectModelAnnotation
ObjectModelTransformerToJava. addAnnotation(ObjectModelClassifier classifier, ObjectModelElement element, Class<?> annotationType)
Add an annotation of the givenelement
of the givenclassifier
.ObjectModelAnnotation
ObjectModelTransformerToJava. addAnnotation(ObjectModelClassifier classifier, ObjectModelElement element, String annotationType)
Add an annotation of the givenelement
of the givenclassifier
.ObjectModelAnnotation
ObjectModelTransformerToJava. addAnnotationParameter(ObjectModelClassifier classifier, ObjectModelAnnotation annotation, String annotationName, Object annotationValue)
Add a parameter to an annotation.ObjectModelAttribute
JavaBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type)
Add a new attribute to a classifier with no default value.ObjectModelAttribute
JavaBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)
Add a new attribute to a classifier.ObjectModelAttribute
JavaBuilder. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)
Add a new attribute to a classifier from an existing attribute.protected ObjectModelAttribute
ObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, Class<?> type, String value, ObjectModelModifier... modifiers)
ObjectModelAttribute
ObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, String type)
protected ObjectModelAttribute
ObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)
protected ObjectModelAttribute
ObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)
ObjectModelOperation
JavaBuilder. addBlock(ObjectModelClassifier classifier, ObjectModelModifier... modifiers)
Add a new block to a classifier.ObjectModelOperation
ObjectModelTransformerToJava. addBlock(ObjectModelClassifier classifier, ObjectModelModifier... modifiers)
add an operation to the classifier with the form of a simple block of code.void
JavaBuilder. addBodyCode(ObjectModelClassifier classifier, ObjectModelOperation operation, String code)
Add a body code to the operation of a classifier.ObjectModelAttribute
JavaBuilder. addConstant(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier visibility)
Add a new constant to a classifier.protected ObjectModelAttribute
ObjectModelTransformerToJava. addConstant(ObjectModelClassifier classifier, String name, Class<?> type, String value, ObjectModelModifier visibility)
protected ObjectModelAttribute
ObjectModelTransformerToJava. addConstant(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier visibility)
protected Set<String>
ObjectModelTransformerToJava. addConstantsFromDependency(ObjectModelClassifier input, ObjectModelClassifier output)
Search ininput
model, for a enumeration dependency namedJavaGeneratorUtil.DEPENDENCIES_CONSTANTS
.protected ObjectModelOperation
JavaBuilder. addConstructorForClassifier(ObjectModelClassifier classifier, ObjectModelModifier visibility)
protected void
ObjectModelTransformerToJava. addGeneratedAnnotation(ObjectModelClassifier element)
Add theGenerated
annotation to the givenObjectModelClassifier
void
JavaBuilder. addImport(ObjectModelClassifier classifier, String imports)
Add an import to a classifier.protected void
ObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, Class<?> imports)
protected void
ObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, String imports)
protected void
ObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, ObjectModelClass imports)
void
JavaBuilder. addInterface(ObjectModelClassifier classifier, String interfaceQualifiedName)
Add an interface to a classifier (interface, class, enum).protected void
ObjectModelTransformerToJava. addInterface(ObjectModelClassifier classifier, Class<?> interfaceQualifiedName)
protected void
ObjectModelTransformerToJava. addInterface(ObjectModelClassifier classifier, String interfaceQualifiedName)
ObjectModelOperation
JavaBuilder. addOperation(ObjectModelClassifier classifier, String name, String type, ObjectModelModifier... modifiers)
Add a new operation to a classifier.protected ObjectModelOperation
ObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, String name, Class<?> type, ObjectModelModifier... modifiers)
protected ObjectModelOperation
ObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, String name, String type, ObjectModelModifier... modifiers)
protected ObjectModelOperation
ObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, ObjectModelOperation operation)
Adds an operation to the given classifier.protected ObjectModelAttribute
ObjectModelTransformerToJava. cloneAttribute(ObjectModelAttribute source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)
clone a given attribute into a classifier of the output modelObjectModelClassifier
ObjectModelTransformerToJava. cloneClassifier(ObjectModelClassifier source, boolean cloneDocumentation)
creates a clone of the givensource
classifier in the output model and clones attributes, inheritence declaration and operations class-specific, enumeration-specific and interface-specific features of the given classifier will be present in the cloneprotected void
ObjectModelTransformerToJava. cloneClassifier(ObjectModelClassifier source, ObjectModelClassifier destination, boolean copyDocumentation)
copy attributes, interfaces declartion and operation of a given classifier into another classifier.ObjectModelOperation
ObjectModelTransformerToJava. cloneOperation(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelJavaModifier... modifiers)
Clone thesource
operation into thedestination
classifier.static void
JavaGeneratorUtil. cloneOperations(ObjectModelTransformerToJava transformer, Iterable<ObjectModelOperation> operations, ObjectModelClassifier target, boolean useVisibility, ObjectModelModifier... extraModifiers)
Duplicates in thetarget
classifier the givenoperations
using atransformer
to modify model.ObjectModelOperation
ObjectModelTransformerToJava. cloneOperationSignature(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)
Clone thesource
operation into thedestination
classifier.protected void
ObjectModelTransformerToJava. cloneStereotypes(ObjectModelClassifier source, ObjectModelClassifier destination)
protected void
ObjectModelTransformerToJava. copyClassifier(ObjectModelClassifier source, ObjectModelClassifier destination, boolean copyDocumentation)
Deprecated.since 2.3, prefer use theObjectModelTransformerToJava.cloneClass(ObjectModelClass, boolean)
methodvoid
JavaGenerator. generateAnnotations(Writer output, ObjectModelClassifier clazz, ObjectModelElement element)
protected void
JavaGenerator. generateAttributes(Writer output, ObjectModelClassifier clazz, Collection<ObjectModelAttribute> attributes)
Generate attributes from a collection of ObjectModelAttribute.protected void
JavaGenerator. generateBlock(Writer output, ObjectModelClassifier clazz, ObjectModelOperation op)
protected void
JavaGenerator. generateHeader(Writer output, ObjectModelClassifier classifier)
Generate Header for a classifier : Package, Documentation, Imports and Classifier signature.protected void
ObjectModelTransformerToJava. generateI18nBlock(ObjectModelClassifier input, ObjectModelClassifier output, String i18nPrefix)
Generates a static block with I18n keys for each navigable attributes prefixed by the giveni18nPrefix
.protected void
JavaGenerator. generateOperations(Writer output, ObjectModelClassifier clazz, Collection<ObjectModelOperation> operations)
Generate operations from a collection of ObjectModelOperationprotected String
ObjectModelTransformerToJava. getConstantPrefix(ObjectModelClassifier input)
String
JavaGenerator. getFilenameForClassifier(ObjectModelClassifier clazz)
protected ObjectModelPackage
ObjectModelTransformerToJava. getPackage(ObjectModelClassifier input)
protected boolean
ObjectModelTransformerToJava. isInClassPath(ObjectModelClassifier classifier)
Deprecated.since 3.0, use theTemplate.getResourcesHelper()
object directly.protected void
JavaGenerator. preparePrefix(ObjectModelClassifier clazz)
Method parameters in org.nuiton.eugene.java with type arguments of type ObjectModelClassifier Modifier and Type Method Description void
JavaGenerator. generateInnerClassifiers(Writer output, Collection<ObjectModelClassifier> innerClassifiers)
-
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 void
CodesManagerExtension. addcode(ObjectModelClassifier classifier, ObjectModelOperation operation, String code)
Add thecode
for the givenoperation
of the givenclassifier
.List<ObjectModelAnnotation>
AnnotationsManagerExtension. getAnnotations(ObjectModelClassifier classifier, ObjectModelElement element)
Get the registred annotations for the givenelement
in the givenclassifier
.String
CodesManagerExtension. 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.AnnotationsManager
AnnotationsManagerExtension. getManager(ObjectModelClassifier classifier)
Get the AnotationsManager associated to the classifier.CodesManager
CodesManagerExtension. getManager(ObjectModelClassifier classifier)
Get the CodesManager associated to the classifier.ImportsManager
ImportsManagerExtension. 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 ObjectModelClassifier
ModelExtensionReader. getClassifier(String fqn)
Methods in org.nuiton.eugene.models.extension.io with parameters of type ObjectModelClassifier Modifier and Type Method Description protected ObjectModelAttribute
ModelExtensionReader. getAttribute(ObjectModelClassifier clazz, String name)
Retrieve an attribute from aclazz
with itsname
. -
Uses of ObjectModelClassifier in org.nuiton.eugene.models.object
Subinterfaces of ObjectModelClassifier in org.nuiton.eugene.models.object Modifier and Type Interface Description interface
ObjectModelAssociationClass
ObjectModelAssociationClass.interface
ObjectModelClass
Abstraction for the class node of object model trees.interface
ObjectModelEnumeration
ObjectModelEnumeration.interface
ObjectModelInterface
Abstraction for the interface node of object model trees.Fields in org.nuiton.eugene.models.object declared as ObjectModelClassifier Modifier and Type Field Description protected ObjectModelClassifier
SerialVersionUIDBuilder. clazz
Methods in org.nuiton.eugene.models.object that return ObjectModelClassifier Modifier and Type Method Description ObjectModelClassifier
ObjectModelBuilder. addInnerClassifier(ObjectModelClass clazz, ObjectModelType type, String name, ObjectModelModifier... modifiers)
Add a superclass to an other class.ObjectModelClassifier
ObjectModel. getClassifier(String qualifiedClassifierName)
Returns the classifier corresponding to the given qualified name, or null if the model contains no classifier for this qualified name.ObjectModelClassifier
ObjectModelAttribute. getClassifier()
Returns the classifier referenced by this attribute or null if it does not reference a model classifier.ObjectModelClassifier
ObjectModelPackage. getClassifier(String simpleName)
Returns the classifier corresponding to the given simple name, or null if the package contains no classifier for this simple name.ObjectModelClassifier
ObjectModelDependency. getClient()
Client classifier of the dependencyObjectModelClassifier
ObjectModelDependency. 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 ObjectModelAttribute
ObjectModelBuilder. addAssociation(ObjectModelClassifier classifierA, ObjectModelClassifier classifierB, String roleName, int minMultiplicity, int maxMultiplicity, ObjectModelModifier... modifiers)
Add an association A to B.ObjectModelAttribute
ObjectModelBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type)
Add an attribute to a classifier (interface, class, enum) without default value.ObjectModelAttribute
ObjectModelBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)
Add an attribute to a classifier (interface, class, enum).void
ObjectModelBuilder. addInterface(ObjectModelClassifier classifier, String interfaceQualifiedName)
Add an interface to a classifier.ObjectModelOperation
ObjectModelBuilder. addOperation(ObjectModelClassifier classifier, String name, String returnType, ObjectModelModifier... modifiers)
Add an operation to a classifier.ObjectModelOperation
ObjectModelBuilder. addOperation(ObjectModelClassifier classifier, ObjectModelOperation operation)
Add an operation to a classifier.static long
SerialVersionUIDBuilder. computeDefaultSUID(ObjectModelClassifier psiClass)
void
ObjectModelGenerator. generateFromClassifier(Writer output, ObjectModelClassifier input)
String
ObjectModelGenerator. getFilenameForClassifier(ObjectModelClassifier classifier)
Par defaut cette methode retourne le QualifiedName convertie en chemin par exemple pour org.codelutin.Toto on aurait org/codelutin/TotoObjectModelPackage
ObjectModel. getPackage(ObjectModelClassifier classifier)
Returns the package of the given classifier, or null if the model contains no package for this classifier.void
ObjectModelTransformer. 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 boolean
ObjectModelValidator. 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 class
ObjectModelAssociationClassImpl
ObjectModelAssociationClassImpl.javaclass
ObjectModelClassifierImpl
ObjectModelClassifierImpl.class
ObjectModelClassImpl
ObjectModelClassImpl.class
ObjectModelEnumerationImpl
ObjectModelEnumerationImpl.class
ObjectModelInterfaceImpl
ObjectModelInterfaceImpl.java Created: 14 janv. 2004Fields in org.nuiton.eugene.models.object.xml declared as ObjectModelClassifier Modifier and Type Field Description protected ObjectModelClassifier
ObjectModelAttributeImpl. reference
Fields in org.nuiton.eugene.models.object.xml with type parameters of type ObjectModelClassifier Modifier and Type Field Description protected Map<String,ObjectModelClassifier>
ObjectModelImpl. classifiers
protected List<ObjectModelClassifier>
ObjectModelClassImpl. innerClasses
protected com.google.common.base.Predicate<ObjectModelClassifier>
ObjectModelPackageImpl. IS_PACKAGE_NAME_EQUALS_PREDICATE
protected List<ObjectModelClassifier>
ObjectModelAssociationClassImpl. participantsClassifiers
Methods in org.nuiton.eugene.models.object.xml that return ObjectModelClassifier Modifier and Type Method Description ObjectModelClassifier
ObjectModelAttributeImpl. getClassifier()
Returns the classifier referenced by this attribute or null if it does not reference a model classifier.ObjectModelClassifier
ObjectModelImpl. getClassifier(String qualifiedClassifierName)
Returns the classifier corresponding to the given qualified name, or null if the model contains no classifier for this qualified name.ObjectModelClassifier
ObjectModelPackageImpl. getClassifier(String simpleName)
ObjectModelClassifier
ObjectModelDependencyImpl. getClient()
ObjectModelClassifier
ObjectModelDependencyImpl. 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 boolean
ObjectModelPackageImpl.PackageNameEqualsPredicate. apply(ObjectModelClassifier input)
boolean
ObjectModelPackageImpl.SimpleNameEqualsPredicate. apply(ObjectModelClassifier input)
ObjectModelPackage
ObjectModelImpl. getPackage(ObjectModelClassifier classifier)
-