public abstract class WebServiceOperationLogic extends MetafacadeBase implements WebServiceOperation
WebServiceOperation
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
WebServiceOperationLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
void |
copyTaggedValues(ModelElementFacade element)
Copies all tagged values from the given ModelElementFacade to this model element facade.
|
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 tagName)
Finds the tagged value with the specified 'tagName'.
|
Object |
findTaggedValue(String name,
boolean follow)
Searches the given feature for the specified tag.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
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 |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
String |
getCall()
Constructs the operation call with the operation name
|
String |
getConcurrency()
Returns the concurrency modifier for this operation (i.e.
|
Collection<ConstraintFacade> |
getConstraints()
Gets all constraints belonging to the model element.
|
Collection<ConstraintFacade> |
getConstraints(String kind)
Returns the constraints of the argument kind that have been placed onto this model.
|
String |
getDocumentation(String indent)
Gets the documentation for the model element, The indent argument is prefixed to each line.
|
String |
getDocumentation(String indent,
int lineLength)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getDocumentation(String indent,
int lineLength,
boolean htmlStyle)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
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 |
getFullyQualifiedName()
The fully qualified name of this model element.
|
String |
getFullyQualifiedName(boolean modelName)
Returns the fully qualified name of the model element.
|
String |
getFullyQualifiedNamePath()
Returns the fully qualified name as a path, the returned value always starts with out a slash
'/'.
|
String |
getGetterSetterReturnTypeName()
Return Type with multiplicity taken into account.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
Destination |
getIncomingDestination()
The destination for any incoming messages.
|
Collection<String> |
getKeywords()
UML2: Retrieves the keywords for this element.
|
String |
getLabel()
UML2: Retrieves a localized label for this named element.
|
TypeMappings |
getLanguageMappings()
The language mappings that have been set for this model element.
|
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.
|
ModelFacade |
getModel()
Return the model containing this model element (multiple models may be loaded and processed
at the same time).
|
String |
getName()
The name of the model element.
|
String |
getOperationName()
Returns the customized operation name.
|
Destination |
getOutgoingDestination()
The destination for any outgoing messages.
|
OperationFacade |
getOverriddenOperation()
The operation this operation overrides, null if this operation is not overriding.
|
ClassifierFacade |
getOwner()
Gets the owner of this operation
|
ModelElementFacade |
getPackage()
Gets the package to which this model element belongs.
|
String |
getPackageName()
The name of this model element's package.
|
String |
getPackageName(boolean modelName)
Gets the package name (optionally providing the ability to retrieve the model name and not
the mapped name).
|
String |
getPackagePath()
Returns the package as a path, the returned value always starts with out a slash '/'.
|
Collection<ParameterFacade> |
getParameters()
Return all parameters for the operation, including the return parameter.
|
String |
getParameterStyle()
WebService parameter style: bare or wrapped
|
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.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
String |
getRestCacheType()
TODO: Model Documentation for
org.andromda.cartridges.webservice.metafacades.WebServiceOperation.restCacheType
|
String |
getRestConsumes() |
String |
getRestPartType()
Multipart/xml type for this returned part.
|
String |
getRestPath()
The URL path for the REST webservice.
|
String |
getRestProduces() |
String |
getRestProvider()
Customized REST @Provider annotation, must be implemented in the generated class.
|
String |
getRestRequestType()
HTML request type for this REST service (GET, PUT, POST, QUERY, DELETE), used for method
annotations.
|
int |
getRestSuspend()
Asynchronous service implementation, suspend execution for X ms.
|
String |
getRestTestPath()
The URL path to test the REST webservice.
|
ParameterFacade |
getReturnParameter()
(UML2 Only).
|
ClassifierFacade |
getReturnType()
The operation return type parameter.
|
Collection<Role> |
getRoles()
The users of the service operation, these are the actor's that can access this operation.
|
String |
getRolesAllowed()
REST security roles allowed.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
Service |
getService()
The service which owns the service operation.
|
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.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
Collection<TaggedValueFacade> |
getTaggedValues()
Return the TaggedValues associated with this model element, under all stereotypes.
|
Collection<DependencyFacade> |
getTargetDependencies()
Gets the dependencies for which this model element is the target.
|
Object |
getTemplateParameter(String parameterName)
Get the template parameter for this model element having the parameterName
|
Collection<TemplateParameterFacade> |
getTemplateParameters()
Get the template parameters for this model element
|
String |
getTestCall()
The call for the test that tests this operation.
|
String |
getTestImplementationCall()
The method call for the test implementation operation.
|
String |
getTestImplementationName()
The name of the the operation used within the test implementation.
|
String |
getTestImplementationSignature()
The signature for the test implementation operation.
|
String |
getTestName()
The name for the test that tests this operation.
|
String |
getTestSignature()
The signature for the test that tests this operation.
|
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
|
String |
getValidationName() |
Object |
getValidationOwner() |
String |
getVisibility()
The visibility (i.e.
|
WebServicePackage |
getWebServicePackage()
Represents an operation on a web service.
|
protected abstract String |
handleGetOperationName() |
protected abstract String |
handleGetParameterStyle() |
protected abstract String |
handleGetRestCacheType() |
protected abstract String |
handleGetRestConsumes() |
protected abstract String |
handleGetRestPartType() |
protected abstract String |
handleGetRestPath() |
protected abstract String |
handleGetRestProduces() |
protected abstract String |
handleGetRestProvider() |
protected abstract String |
handleGetRestRequestType() |
protected abstract int |
handleGetRestSuspend() |
protected abstract String |
handleGetRestTestPath() |
protected abstract String |
handleGetRolesAllowed() |
protected abstract String |
handleGetTestCall() |
protected abstract String |
handleGetTestImplementationCall() |
protected abstract String |
handleGetTestImplementationName() |
protected abstract String |
handleGetTestImplementationSignature() |
protected abstract String |
handleGetTestName() |
protected abstract String |
handleGetTestSignature() |
protected abstract Object |
handleGetWebServicePackage()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract boolean |
handleIsExposed() |
protected abstract boolean |
handleIsRest() |
protected abstract boolean |
handleIsRestAtom() |
protected abstract boolean |
handleIsRestEncoded() |
protected abstract boolean |
handleIsWebFaultOnAllExceptions() |
boolean |
hasExactStereotype(String stereotypeName)
Returns true if the model element has the exact stereotype (meaning no stereotype inheritance
is taken into account when searching for the stereotype), false otherwise.
|
boolean |
hasKeyword(String keywordName)
Does the UML Element contain the named Keyword? Keywords can be separated by space, comma,
pipe, semicolon, or << >>
|
boolean |
hasStereotype(String stereotypeName)
Returns true if the model element has the specified stereotype.
|
void |
initialize() |
boolean |
isAbstract()
True is the operation is abstract.
|
boolean |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isExceptionsPresent()
True if the operation has (i.e.
|
boolean |
isExposed()
Returns true/false depending on whether or not this web service operation is exposed.
|
boolean |
isIncomingMessageOperation()
Whether or not this operation represents an "incoming" message operation (i.e.
|
boolean |
isLeaf()
IsLeaf property in the operation.
|
boolean |
isMany()
UML2 only.
|
boolean |
isMessageOperation()
Whether or not this is operation accepts incoming or outgoing messages.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isOperationFacadeMetaType() |
boolean |
isOrdered()
UML2 only: If isMany (Collection type returned), is the type unique within the collection.
|
boolean |
isOutgoingMessageOperation()
Whether or not this service operation represents an "outgoing" messaging operation (i.e.
|
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 |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isRest()
Is this operation a JAX-RS REST operation? JAX-WS and JAX-RS can be mixed in the same service
class.
|
boolean |
isRestAtom()
If this REST service provides application/atom, or any service operations provide
application/atom
|
boolean |
isRestEncoded() |
boolean |
isReturnTypePresent()
True/false depending on whether or not the operation has a return type or not (i.e.
|
boolean |
isServiceOperationMetaType() |
boolean |
isStatic()
True is the operation is static (only a single instance can be instantiated).
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isUnique()
UML2 only: for Collection return type, is the type unique within the collection.
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
boolean |
isWebFaultOnAllExceptions()
Checks is each service exception reference is some Exception type and has stereotype
WebFault, if CXF.
|
boolean |
isWebServiceOperationMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
String |
toString() |
String |
translateConstraint(String name,
String translation)
Searches for the constraint with the specified 'name' on this model element, and if found
translates it using the specified 'translation' from a translation library discovered by the
framework.
|
String[] |
translateConstraints(String translation)
Translates all constraints belonging to this model element with the given 'translation'.
|
String[] |
translateConstraints(String kind,
String translation)
Translates the constraints of the specified 'kind' belonging to this model element.
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::webservice::metafacades::WebServiceOperation::a web service operation return type can not be a collection type
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected WebServiceOperationLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isWebServiceOperationMetaType()
WebServiceOperation
isWebServiceOperationMetaType
in interface WebServiceOperation
WebServiceOperation
protected abstract boolean handleIsExposed()
WebServiceOperation.isExposed()
public final boolean isExposed()
isExposed
in interface WebServiceOperation
protected abstract String handleGetTestImplementationName()
WebServiceOperation.getTestImplementationName()
public final String getTestImplementationName()
getTestImplementationName
in interface WebServiceOperation
protected abstract String handleGetTestImplementationCall()
WebServiceOperation.getTestImplementationCall()
public final String getTestImplementationCall()
getTestImplementationCall
in interface WebServiceOperation
protected abstract String handleGetTestImplementationSignature()
WebServiceOperation.getTestImplementationSignature()
public final String getTestImplementationSignature()
getTestImplementationSignature
in interface WebServiceOperation
protected abstract String handleGetTestName()
WebServiceOperation.getTestName()
public final String getTestName()
getTestName
in interface WebServiceOperation
protected abstract String handleGetTestCall()
WebServiceOperation.getTestCall()
public final String getTestCall()
getTestCall
in interface WebServiceOperation
protected abstract String handleGetTestSignature()
WebServiceOperation.getTestSignature()
public final String getTestSignature()
getTestSignature
in interface WebServiceOperation
protected abstract String handleGetParameterStyle()
WebServiceOperation.getParameterStyle()
public final String getParameterStyle()
getParameterStyle
in interface WebServiceOperation
protected abstract String handleGetRestPath()
WebServiceOperation.getRestPath()
public final String getRestPath()
getRestPath
in interface WebServiceOperation
protected abstract String handleGetRestRequestType()
WebServiceOperation.getRestRequestType()
public final String getRestRequestType()
getRestRequestType
in interface WebServiceOperation
protected abstract String handleGetRestCacheType()
WebServiceOperation.getRestCacheType()
public final String getRestCacheType()
getRestCacheType
in interface WebServiceOperation
protected abstract boolean handleIsRestEncoded()
WebServiceOperation.isRestEncoded()
public final boolean isRestEncoded()
isRestEncoded
in interface WebServiceOperation
protected abstract String handleGetRestConsumes()
WebServiceOperation.getRestConsumes()
public final String getRestConsumes()
getRestConsumes
in interface WebServiceOperation
protected abstract String handleGetRestProduces()
WebServiceOperation.getRestProduces()
public final String getRestProduces()
getRestProduces
in interface WebServiceOperation
protected abstract String handleGetRestProvider()
WebServiceOperation.getRestProvider()
public final String getRestProvider()
getRestProvider
in interface WebServiceOperation
protected abstract String handleGetRestPartType()
WebServiceOperation.getRestPartType()
public final String getRestPartType()
getRestPartType
in interface WebServiceOperation
protected abstract int handleGetRestSuspend()
WebServiceOperation.getRestSuspend()
public final int getRestSuspend()
getRestSuspend
in interface WebServiceOperation
protected abstract String handleGetRolesAllowed()
WebServiceOperation.getRolesAllowed()
public final String getRolesAllowed()
getRolesAllowed
in interface WebServiceOperation
protected abstract boolean handleIsRestAtom()
WebServiceOperation.isRestAtom()
public final boolean isRestAtom()
isRestAtom
in interface WebServiceOperation
protected abstract boolean handleIsRest()
WebServiceOperation.isRest()
public final boolean isRest()
isRest
in interface WebServiceOperation
protected abstract String handleGetRestTestPath()
WebServiceOperation.getRestTestPath()
public final String getRestTestPath()
getRestTestPath
in interface WebServiceOperation
protected abstract String handleGetOperationName()
WebServiceOperation.getOperationName()
public final String getOperationName()
getOperationName
in interface WebServiceOperation
protected abstract boolean handleIsWebFaultOnAllExceptions()
WebServiceOperation.isWebFaultOnAllExceptions()
public final boolean isWebFaultOnAllExceptions()
isWebFaultOnAllExceptions
in interface WebServiceOperation
public final WebServicePackage getWebServicePackage()
getWebServicePackage
in interface WebServiceOperation
protected abstract Object handleGetWebServicePackage()
public boolean isServiceOperationMetaType()
isServiceOperationMetaType
in interface ServiceOperation
ServiceOperation
public boolean isOperationFacadeMetaType()
isOperationFacadeMetaType
in interface OperationFacade
OperationFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues
in interface ModelElementFacade
ModelElementFacade.copyTaggedValues(ModelElementFacade element)
public Object findTaggedValue(String tagName)
findTaggedValue
in interface ModelElementFacade
ModelElementFacade.findTaggedValue(String tagName)
public Collection<Object> findTaggedValues(String tagName)
findTaggedValues
in interface ModelElementFacade
ModelElementFacade.findTaggedValues(String tagName)
public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)
public Collection<ConstraintFacade> getConstraints()
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints()
public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints(String kind)
public String getDocumentation(String indent)
getDocumentation(indent, 64)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent)
public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength)
public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)
public String getFullyQualifiedName()
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName()
public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName(boolean modelName)
public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedNamePath()
public String getId()
getId
in interface ModelElementFacade
ModelElementFacade.getId()
public Collection<String> getKeywords()
getKeywords
in interface ModelElementFacade
ModelElementFacade.getKeywords()
public String getLabel()
getLabel
in interface ModelElementFacade
ModelElementFacade.getLabel()
public TypeMappings getLanguageMappings()
getLanguageMappings
in interface ModelElementFacade
ModelElementFacade.getLanguageMappings()
public ModelFacade getModel()
getModel
in interface ModelElementFacade
ModelElementFacade.getModel()
public String getName()
getName
in interface ModelElementFacade
ModelElementFacade.getName()
public ModelElementFacade getPackage()
getPackage
in interface ModelElementFacade
ModelElementFacade.getPackage()
public String getPackageName()
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName()
public String getPackageName(boolean modelName)
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName(boolean modelName)
public String getPackagePath()
getPackagePath
in interface ModelElementFacade
ModelElementFacade.getPackagePath()
public String getQualifiedName()
getQualifiedName
in interface ModelElementFacade
ModelElementFacade.getQualifiedName()
public PackageFacade getRootPackage()
getRootPackage
in interface ModelElementFacade
ModelElementFacade.getRootPackage()
public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies
in interface ModelElementFacade
ModelElementFacade.getSourceDependencies()
public StateMachineFacade getStateMachineContext()
getStateMachineContext
in interface ModelElementFacade
ModelElementFacade.getStateMachineContext()
public Collection<String> getStereotypeNames()
getStereotypeNames
in interface ModelElementFacade
ModelElementFacade.getStereotypeNames()
public Collection<StereotypeFacade> getStereotypes()
getStereotypes
in interface ModelElementFacade
ModelElementFacade.getStereotypes()
public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues
in interface ModelElementFacade
ModelElementFacade.getTaggedValues()
public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies
in interface ModelElementFacade
ModelElementFacade.getTargetDependencies()
public Object getTemplateParameter(String parameterName)
getTemplateParameter
in interface ModelElementFacade
ModelElementFacade.getTemplateParameter(String parameterName)
public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters
in interface ModelElementFacade
ModelElementFacade.getTemplateParameters()
public String getVisibility()
getVisibility
in interface ModelElementFacade
ModelElementFacade.getVisibility()
public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype
in interface ModelElementFacade
ModelElementFacade.hasExactStereotype(String stereotypeName)
public boolean hasKeyword(String keywordName)
hasKeyword
in interface ModelElementFacade
ModelElementFacade.hasKeyword(String keywordName)
public boolean hasStereotype(String stereotypeName)
hasStereotype
in interface ModelElementFacade
ModelElementFacade.hasStereotype(String stereotypeName)
public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent
in interface ModelElementFacade
ModelElementFacade.isBindingDependenciesPresent()
public boolean isConstraintsPresent()
isConstraintsPresent
in interface ModelElementFacade
ModelElementFacade.isConstraintsPresent()
public boolean isDocumentationPresent()
isDocumentationPresent
in interface ModelElementFacade
ModelElementFacade.isDocumentationPresent()
public boolean isReservedWord()
isReservedWord
in interface ModelElementFacade
ModelElementFacade.isReservedWord()
public boolean isTemplateParametersPresent()
isTemplateParametersPresent
in interface ModelElementFacade
ModelElementFacade.isTemplateParametersPresent()
public boolean isValidIdentifierName()
isValidIdentifierName
in interface ModelElementFacade
ModelElementFacade.isValidIdentifierName()
public String translateConstraint(String name, String translation)
translateConstraint
in interface ModelElementFacade
ModelElementFacade.translateConstraint(String name, String translation)
public String[] translateConstraints(String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String translation)
public String[] translateConstraints(String kind, String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String kind, String translation)
public ParameterFacade findParameter(String name)
findParameter
in interface OperationFacade
OperationFacade.findParameter(String name)
public Object findTaggedValue(String name, boolean follow)
findTaggedValue
in interface OperationFacade
OperationFacade.findTaggedValue(String name, boolean follow)
public String getArgumentNames()
getArgumentNames
in interface OperationFacade
OperationFacade.getArgumentNames()
public String getArgumentTypeNames()
getArgumentTypeNames
in interface OperationFacade
OperationFacade.getArgumentTypeNames()
public Collection<ParameterFacade> getArguments()
getArguments
in interface OperationFacade
OperationFacade.getArguments()
public String getCall()
getCall
in interface OperationFacade
OperationFacade.getCall()
public String getConcurrency()
getConcurrency
in interface OperationFacade
OperationFacade.getConcurrency()
public String getExceptionList()
getExceptionList
in interface OperationFacade
OperationFacade.getExceptionList()
public String getExceptionList(String initialExceptions)
getExceptionList
in interface OperationFacade
OperationFacade.getExceptionList(String initialExceptions)
public Collection<ModelElementFacade> getExceptions()
getExceptions
in interface OperationFacade
OperationFacade.getExceptions()
public String getGetterSetterReturnTypeName()
getGetterSetterReturnTypeName
in interface OperationFacade
OperationFacade.getGetterSetterReturnTypeName()
public int getLower()
getLower
in interface OperationFacade
OperationFacade.getLower()
public String getMethodBody()
getMethodBody
in interface OperationFacade
OperationFacade.getMethodBody()
public OperationFacade getOverriddenOperation()
getOverriddenOperation
in interface OperationFacade
OperationFacade.getOverriddenOperation()
public ClassifierFacade getOwner()
getOwner
in interface OperationFacade
OperationFacade.getOwner()
public Collection<ParameterFacade> getParameters()
getParameters
in interface OperationFacade
OperationFacade.getParameters()
public String getPostconditionName()
getPostconditionName
in interface OperationFacade
OperationFacade.getPostconditionName()
public Collection<ConstraintFacade> getPostconditions()
getPostconditions
in interface OperationFacade
OperationFacade.getPostconditions()
public String getPreconditionCall()
getPreconditionCall
in interface OperationFacade
OperationFacade.getPreconditionCall()
public String getPreconditionName()
getPreconditionName
in interface OperationFacade
OperationFacade.getPreconditionName()
public String getPreconditionSignature()
getPreconditionSignature
in interface OperationFacade
OperationFacade.getPreconditionSignature()
public Collection<ConstraintFacade> getPreconditions()
getPreconditions
in interface OperationFacade
OperationFacade.getPreconditions()
public ParameterFacade getReturnParameter()
getReturnParameter
in interface OperationFacade
OperationFacade.getReturnParameter()
public ClassifierFacade getReturnType()
getReturnType
in interface OperationFacade
OperationFacade.getReturnType()
public String getSignature()
getSignature
in interface OperationFacade
OperationFacade.getSignature()
public String getSignature(boolean withArgumentNames)
getSignature
in interface OperationFacade
OperationFacade.getSignature(boolean withArgumentNames)
public String getSignature(String argumentModifier)
getSignature
in interface OperationFacade
OperationFacade.getSignature(String argumentModifier)
public String getTypedArgumentList()
getTypedArgumentList
in interface OperationFacade
OperationFacade.getTypedArgumentList()
public String getTypedArgumentList(String modifier)
getTypedArgumentList
in interface OperationFacade
OperationFacade.getTypedArgumentList(String modifier)
public int getUpper()
getUpper
in interface OperationFacade
OperationFacade.getUpper()
public boolean isAbstract()
isAbstract
in interface OperationFacade
OperationFacade.isAbstract()
public boolean isExceptionsPresent()
isExceptionsPresent
in interface OperationFacade
OperationFacade.isExceptionsPresent()
public boolean isLeaf()
isLeaf
in interface OperationFacade
OperationFacade.isLeaf()
public boolean isMany()
isMany
in interface OperationFacade
OperationFacade.isMany()
public boolean isOrdered()
isOrdered
in interface OperationFacade
OperationFacade.isOrdered()
public boolean isOverriding()
isOverriding
in interface OperationFacade
OperationFacade.isOverriding()
public boolean isPostconditionsPresent()
isPostconditionsPresent
in interface OperationFacade
OperationFacade.isPostconditionsPresent()
public boolean isPreconditionsPresent()
isPreconditionsPresent
in interface OperationFacade
OperationFacade.isPreconditionsPresent()
public boolean isQuery()
isQuery
in interface OperationFacade
OperationFacade.isQuery()
public boolean isReturnTypePresent()
isReturnTypePresent
in interface OperationFacade
OperationFacade.isReturnTypePresent()
public boolean isStatic()
isStatic
in interface OperationFacade
OperationFacade.isStatic()
public boolean isUnique()
isUnique
in interface OperationFacade
OperationFacade.isUnique()
public Destination getIncomingDestination()
getIncomingDestination
in interface ServiceOperation
ServiceOperation.getIncomingDestination()
public Destination getOutgoingDestination()
getOutgoingDestination
in interface ServiceOperation
ServiceOperation.getOutgoingDestination()
public Collection<Role> getRoles()
getRoles
in interface ServiceOperation
ServiceOperation.getRoles()
public Service getService()
getService
in interface ServiceOperation
ServiceOperation.getService()
public boolean isIncomingMessageOperation()
isIncomingMessageOperation
in interface ServiceOperation
ServiceOperation.isIncomingMessageOperation()
public boolean isMessageOperation()
isMessageOperation
in interface ServiceOperation
ServiceOperation.isMessageOperation()
public boolean isOutgoingMessageOperation()
isOutgoingMessageOperation
in interface ServiceOperation
ServiceOperation.isOutgoingMessageOperation()
public void initialize()
initialize
in interface ModelElementFacade
initialize
in class MetafacadeBase
MetafacadeBase.initialize()
public Object getValidationOwner()
getValidationOwner
in interface ModelElementFacade
getValidationOwner
in class MetafacadeBase
MetafacadeBase.getValidationOwner()
public String getValidationName()
getValidationName
in interface ModelElementFacade
getValidationName
in class MetafacadeBase
MetafacadeBase.getValidationName()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::webservice::metafacades::WebServiceOperation::a web service operation return type can not be a collection type
Error: A web service operation's return type can NOT be a collection type, you'll need to model an array instead.
OCL: context WebServiceOperation inv: exposed implies returnType.collectionType = false
Constraint: org::andromda::cartridges::webservice::metafacades::WebServiceOperation::a web service operation exception must be a web fault
Error: Each web service operation exception must have the web fault stereotype.
OCL: context WebServiceOperation inv: exposed implies webFaultOnAllExceptions = true
validateInvariants
in interface ModelElementFacade
validateInvariants
in class MetafacadeBase
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
public String toString()
toString
in class MetafacadeBase
Object.toString()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.