public interface OperationFacade extends ModelElementFacade
Modifier and Type | Method and Description |
---|---|
ParameterFacade |
findParameter(String name)
Finds the parameter on this operation having the given name, if no parameter is found, null
is returned instead.
|
Object |
findTaggedValue(String name,
boolean follow)
Searches the given feature for the specified tag.
|
String |
getArgumentNames()
A comma separated list of all argument names.
|
Collection<ParameterFacade> |
getArguments()
Specification of an argument used to pass information into or out of an invocation of a
behavioral
feature.
|
String |
getArgumentTypeNames()
A comma separated list of all types of each argument, in order.
|
String |
getCall()
Constructs the operation call with the operation name
|
String |
getConcurrency()
Returns the concurrency modifier for this operation (i.e.
|
String |
getExceptionList()
A comma separated list containing all exceptions that this operation throws.
|
String |
getExceptionList(String initialExceptions)
Returns a comma separated list of exceptions appended to the comma separated list of fully
qualified 'initialException' classes passed in to this method.
|
Collection<ModelElementFacade> |
getExceptions()
A collection of all exceptions thrown by this operation.
|
String |
getGetterSetterReturnTypeName()
Return Type with multiplicity taken into account.
|
int |
getLower()
the lower value for the multiplicity
-only applicable for UML2
|
String |
getMethodBody()
Returns the operation method body determined from UML sequence diagrams or other UML sources.
|
OperationFacade |
getOverriddenOperation()
The operation this operation overrides, null if this operation is not overriding.
|
ClassifierFacade |
getOwner()
Gets the owner of this operation
|
Collection<ParameterFacade> |
getParameters()
Return all parameters for the operation, including the return parameter.
|
String |
getPostconditionName()
The name of the operation that handles postcondition constraints.
|
Collection<ConstraintFacade> |
getPostconditions()
The postcondition constraints belonging to this operation.
|
String |
getPreconditionCall()
The call to the precondition operation.
|
String |
getPreconditionName()
The name of the operation that handles precondition constraints.
|
Collection<ConstraintFacade> |
getPreconditions()
The precondition constraints belonging to this operation.
|
String |
getPreconditionSignature()
The signature of the precondition operation.
|
ParameterFacade |
getReturnParameter()
(UML2 Only).
|
ClassifierFacade |
getReturnType()
The operation return type parameter.
|
String |
getSignature()
Return the operation signature, including public/protested abstract returnType name plus
argument type and name
|
String |
getSignature(boolean withArgumentNames)
Returns the signature of the operation and optionally appends the argument names (if
withArgumentNames is true), otherwise returns the signature with just the types alone in the
signature.
|
String |
getSignature(String argumentModifier)
Returns the signature of the operation and optionally appends the given 'argumentModifier' to
each argument.
|
String |
getTypedArgumentList()
A comma-separated parameter list (type and name of each parameter) of an operation.
|
String |
getTypedArgumentList(String modifier)
A comma-separated parameter list (type and name of each parameter) of an operation with an
optional modifier (i.e final) before each parameter.
|
int |
getUpper()
the upper value for the multiplicity (will be -1 for *)
- only applicable for UML2
|
boolean |
isAbstract()
True is the operation is abstract.
|
boolean |
isExceptionsPresent()
True if the operation has (i.e.
|
boolean |
isLeaf()
IsLeaf property in the operation.
|
boolean |
isMany()
UML2 only.
|
boolean |
isOperationFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isOrdered()
UML2 only: If isMany (Collection type returned), is the type unique within the collection.
|
boolean |
isOverriding()
True if this operation overrides an operation defined in an ancestor class.
|
boolean |
isPostconditionsPresent()
Whether any postcondition constraints are present on this operation.
|
boolean |
isPreconditionsPresent()
Whether any precondition constraints are present on this operation.
|
boolean |
isQuery()
Indicates whether or not this operation is a query operation.
|
boolean |
isReturnTypePresent()
True/false depending on whether or not the operation has a return type or not (i.e.
|
boolean |
isStatic()
True is the operation is static (only a single instance can be instantiated).
|
boolean |
isUnique()
UML2 only: for Collection return type, is the type unique within the collection.
|
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints, validateInvariants
boolean isOperationFacadeMetaType()
true
ParameterFacade findParameter(String name)
name
- StringObject findTaggedValue(String name, boolean follow)
name
- Stringfollow
- booleanString getArgumentNames()
String getArgumentTypeNames()
Collection<ParameterFacade> getArguments()
String getConcurrency()
String getExceptionList()
String getExceptionList(String initialExceptions)
initialExceptions
- StringCollection<ModelElementFacade> getExceptions()
String getGetterSetterReturnTypeName()
int getLower()
String getMethodBody()
OperationFacade getOverriddenOperation()
ClassifierFacade getOwner()
Collection<ParameterFacade> getParameters()
String getPostconditionName()
Collection<ConstraintFacade> getPostconditions()
String getPreconditionCall()
String getPreconditionName()
String getPreconditionSignature()
Collection<ConstraintFacade> getPreconditions()
ParameterFacade getReturnParameter()
ClassifierFacade getReturnType()
String getSignature()
String getSignature(boolean withArgumentNames)
withArgumentNames
- booleanString getSignature(String argumentModifier)
argumentModifier
- StringString getTypedArgumentList()
String getTypedArgumentList(String modifier)
modifier
- Stringint getUpper()
boolean isAbstract()
boolean isExceptionsPresent()
boolean isLeaf()
boolean isMany()
boolean isOrdered()
boolean isOverriding()
boolean isPostconditionsPresent()
boolean isPreconditionsPresent()
boolean isQuery()
boolean isReturnTypePresent()
boolean isStatic()
boolean isUnique()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.