Uses of Interface
org.nuiton.eugene.models.object.ObjectModelOperation
-
Packages that use ObjectModelOperation 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.object org.nuiton.eugene.models.object.validator org.nuiton.eugene.models.object.xml -
-
Uses of ObjectModelOperation in org.nuiton.eugene
Methods in org.nuiton.eugene with parameters of type ObjectModelOperation Modifier and Type Method Description static String
GeneratorUtil. getOperationParametersListName(ObjectModelOperation operation)
Used to return theoperation
parameter names as a string separated by a comma. -
Uses of ObjectModelOperation in org.nuiton.eugene.java
Methods in org.nuiton.eugene.java that return ObjectModelOperation Modifier and Type Method Description 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.ObjectModelOperation
JavaBuilder. addConstructor(ObjectModelClass clazz, ObjectModelModifier visibility)
Add a constructor to a class.ObjectModelOperation
JavaBuilder. addConstructor(ObjectModelEnumeration enumeration, ObjectModelModifier visibility)
Add a constructor to a enumeration.protected ObjectModelOperation
ObjectModelTransformerToJava. addConstructor(ObjectModelClass clazz, ObjectModelModifier visibility)
protected ObjectModelOperation
ObjectModelTransformerToJava. addConstructor(ObjectModelEnumeration clazz, ObjectModelModifier visibility)
protected ObjectModelOperation
JavaBuilder. addConstructorForClassifier(ObjectModelClassifier classifier, ObjectModelModifier visibility)
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.ObjectModelOperation
ObjectModelTransformerToJava. cloneOperation(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelJavaModifier... modifiers)
Clone thesource
operation into thedestination
classifier.ObjectModelOperation
ObjectModelTransformerToJava. cloneOperationSignature(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)
Clone thesource
operation into thedestination
classifier.Methods in org.nuiton.eugene.java with parameters of type ObjectModelOperation Modifier and Type Method Description void
JavaBuilder. addBodyCode(ObjectModelClassifier classifier, ObjectModelOperation operation, String code)
Add a body code to the operation of a classifier.void
JavaBuilder. addException(ObjectModelOperation operation, String exception)
Add an exception to an operation.protected void
ObjectModelTransformerToJava. addException(ObjectModelOperation operation, Class<?> exception)
protected void
ObjectModelTransformerToJava. addException(ObjectModelOperation operation, String exception)
protected ObjectModelOperation
ObjectModelTransformerToJava. addOperation(ObjectModelClassifier classifier, ObjectModelOperation operation)
Adds an operation to the given classifier.ObjectModelParameter
JavaBuilder. addParameter(ObjectModelOperation operation, String type, String name)
Add a new parameter to an existing operation.protected ObjectModelParameter
ObjectModelTransformerToJava. addParameter(ObjectModelOperation operation, Class<?> type, String name)
protected ObjectModelParameter
ObjectModelTransformerToJava. addParameter(ObjectModelOperation operation, String type, String name)
ObjectModelOperation
ObjectModelTransformerToJava. cloneOperation(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelJavaModifier... modifiers)
Clone thesource
operation into thedestination
classifier.ObjectModelOperation
ObjectModelTransformerToJava. cloneOperationSignature(ObjectModelOperation source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)
Clone thesource
operation into thedestination
classifier.protected void
JavaGenerator. generateBlock(Writer output, ObjectModelClassifier clazz, ObjectModelOperation op)
protected void
JavaGenerator. generateOperationDocumentation(Writer output, ObjectModelOperation op)
static String
JavaGeneratorUtil. getOperationParametersListDeclaration(ObjectModelOperation operation)
Used to return theoperation
parameters for its declaration : type and name of each parameter will be join as a string separated by a comma.void
JavaBuilder. setOperationBody(ObjectModelOperation operation, String body)
Set the operation body code.protected void
ObjectModelTransformerToJava. setOperationBody(ObjectModelOperation operation, String body)
Method parameters in org.nuiton.eugene.java with type arguments of type ObjectModelOperation Modifier and Type Method Description 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.protected void
JavaGenerator. generateOperations(Writer output, ObjectModelClassifier clazz, Collection<ObjectModelOperation> operations)
Generate operations from a collection of ObjectModelOperation -
Uses of ObjectModelOperation in org.nuiton.eugene.java.extension
Fields in org.nuiton.eugene.java.extension with type parameters of type ObjectModelOperation Modifier and Type Field Description protected Map<ObjectModelOperation,StringBuilder>
CodesManager. codes
store of codes associated to operationsMethods in org.nuiton.eugene.java.extension that return types with arguments of type ObjectModelOperation Modifier and Type Method Description protected Map<ObjectModelOperation,StringBuilder>
CodesManager. getCodes()
Methods in org.nuiton.eugene.java.extension with parameters of type ObjectModelOperation Modifier and Type Method Description void
CodesManagerExtension. addcode(ObjectModelClassifier classifier, ObjectModelOperation operation, String code)
Add thecode
for the givenoperation
of the givenclassifier
.void
CodesManager. addCode(ObjectModelOperation operation, String code)
Add theannotation
for the givenelement
of the classifier.String
CodesManager. getCode(ObjectModelOperation operation)
Obtain the codes registred for a given operation of the classifier.String
CodesManagerExtension. getCode(ObjectModelClassifier classifier, ObjectModelOperation operation)
Get body code for a operation of the given classifier. -
Uses of ObjectModelOperation in org.nuiton.eugene.models.object
Methods in org.nuiton.eugene.models.object that return ObjectModelOperation Modifier and Type Method Description 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.Methods in org.nuiton.eugene.models.object that return types with arguments of type ObjectModelOperation Modifier and Type Method Description Collection<ObjectModelOperation>
ObjectModelClassifier. getAllInterfaceOperations(boolean distinct)
Returns all operations defined on all interfaces implemented by this classifier, directly or indirectly.Collection<ObjectModelOperation>
ObjectModelClassifier. getAllOtherOperations(boolean distinct)
Returns all operations defined on all implemented by this classifier, directly or indirectly.Collection<ObjectModelOperation>
ObjectModelClass. getAllSuperclassOperations(boolean distinct)
Returns all operations defined on all Super class extended by this classifier, directly or indirectly. and all interface implemented by the super class.Collection<ObjectModelOperation>
ObjectModelClassifier. getOperations()
Returns all operations defined on this classifier.Collection<ObjectModelOperation>
ObjectModelClassifier. getOperations(String name)
Returns all operations defined on this classifier.Methods in org.nuiton.eugene.models.object with parameters of type ObjectModelOperation Modifier and Type Method Description void
ObjectModelBuilder. addException(ObjectModelOperation operation, String exception)
Add an exception to an operation.ObjectModelOperation
ObjectModelBuilder. addOperation(ObjectModelClassifier classifier, ObjectModelOperation operation)
Add an operation to a classifier.ObjectModelParameter
ObjectModelBuilder. addParameter(ObjectModelOperation operation, String type, String name)
Add a parameter to an operation.void
ObjectModelBuilder. setOperationBody(ObjectModelOperation operation, String body)
Set the body code for an Operation. -
Uses of ObjectModelOperation in org.nuiton.eugene.models.object.validator
Methods in org.nuiton.eugene.models.object.validator with parameters of type ObjectModelOperation Modifier and Type Method Description protected boolean
ObjectModelValidator. validateOperation(ObjectModelOperation operation)
-
Uses of ObjectModelOperation in org.nuiton.eugene.models.object.xml
Classes in org.nuiton.eugene.models.object.xml that implement ObjectModelOperation Modifier and Type Class Description class
ObjectModelOperationImpl
ObjectModelOperationImpl.java Created: 14 janv. 2004Fields in org.nuiton.eugene.models.object.xml with type parameters of type ObjectModelOperation Modifier and Type Field Description protected List<ObjectModelOperation>
ObjectModelClassifierImpl. operations
Methods in org.nuiton.eugene.models.object.xml that return types with arguments of type ObjectModelOperation Modifier and Type Method Description Collection<ObjectModelOperation>
ObjectModelClassifierImpl. getAllInterfaceOperations(boolean distinct)
protected Collection<ObjectModelOperation>
ObjectModelClassifierImpl. getAllInterfaceOperations(Collection<ObjectModelOperation> result)
Collection<ObjectModelOperation>
ObjectModelClassifierImpl. getAllOtherOperations(boolean distinct)
Collection<ObjectModelOperation>
ObjectModelClassImpl. getAllOtherOperations(boolean distinct)
Collection<ObjectModelOperation>
ObjectModelClassImpl. getAllSuperclassOperations(boolean distinct)
protected Collection<ObjectModelOperation>
ObjectModelClassImpl. getAllSuperclassOperations(Collection<ObjectModelOperation> result)
Collection<ObjectModelOperation>
ObjectModelClassifierImpl. getOperations()
Collection<ObjectModelOperation>
ObjectModelClassifierImpl. getOperations(String name)
Method parameters in org.nuiton.eugene.models.object.xml with type arguments of type ObjectModelOperation Modifier and Type Method Description protected Collection<ObjectModelOperation>
ObjectModelClassifierImpl. getAllInterfaceOperations(Collection<ObjectModelOperation> result)
protected Collection<ObjectModelOperation>
ObjectModelClassImpl. getAllSuperclassOperations(Collection<ObjectModelOperation> result)
-