public class WebServiceOperationLogicImpl extends WebServiceOperationLogic
WebServiceOperation
,
Serialized FormmetaObject
contextRoot
Constructor and Description |
---|
WebServiceOperationLogicImpl(Object metaObject,
String context) |
Modifier and Type | Method and Description |
---|---|
protected String |
handleGetOperationName()
Return the value from WebServiceOperation andromda_webservice_operationName, or just the operation.name
|
protected String |
handleGetParameterStyle() |
protected String |
handleGetRestCacheType() |
protected String |
handleGetRestConsumes() |
protected String |
handleGetRestPartType() |
protected String |
handleGetRestPath()
Create default REST URL of /methodname/parameter/{parameter}/
|
protected String |
handleGetRestProduces() |
protected String |
handleGetRestProvider() |
protected String |
handleGetRestRequestType() |
protected int |
handleGetRestSuspend() |
protected String |
handleGetRestTestPath()
Create test REST URL of /methodname/parameter/{parameter}/
Substitutes test values for parameters
|
protected String |
handleGetRolesAllowed() |
protected String |
handleGetSignature(boolean withArgumentNames) |
protected String |
handleGetTestCall() |
protected String |
handleGetTestImplementationCall() |
protected String |
handleGetTestImplementationName() |
protected String |
handleGetTestImplementationSignature() |
protected String |
handleGetTestName() |
protected String |
handleGetTestSignature() |
protected ModelElementFacade |
handleGetWebServicePackage()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected boolean |
handleIsExposed() |
protected boolean |
handleIsRest() |
protected boolean |
handleIsRestAtom() |
protected boolean |
handleIsRestEncoded() |
protected boolean |
handleIsWebFaultOnAllExceptions() |
static String |
translateMediaType(String input)
Translates Media Enumeration Type into string for produces/consumes annotation
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::webservice::metafacades::WebServiceOperation::operation must start with a lowercase letter
|
copyTaggedValues, findParameter, findTaggedValue, findTaggedValue, findTaggedValues, getArgumentNames, getArguments, getArgumentTypeNames, getBindedFullyQualifiedName, getCall, getConcurrency, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getExceptionList, getExceptionList, getExceptions, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getGetterSetterReturnTypeName, getId, getIncomingDestination, getKeywords, getLabel, getLanguageMappings, getLower, getMethodBody, getModel, getName, getOperationName, getOutgoingDestination, getOverriddenOperation, getOwner, getPackage, getPackageName, getPackageName, getPackagePath, getParameters, getParameterStyle, getPostconditionName, getPostconditions, getPreconditionCall, getPreconditionName, getPreconditions, getPreconditionSignature, getQualifiedName, getRestCacheType, getRestConsumes, getRestPartType, getRestPath, getRestProduces, getRestProvider, getRestRequestType, getRestSuspend, getRestTestPath, getReturnParameter, getReturnType, getRoles, getRolesAllowed, getRootPackage, getService, getSignature, getSignature, getSignature, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getTestCall, getTestImplementationCall, getTestImplementationName, getTestImplementationSignature, getTestName, getTestSignature, getTypedArgumentList, getTypedArgumentList, getUpper, getValidationName, getValidationOwner, getVisibility, getWebServicePackage, hasExactStereotype, hasKeyword, hasStereotype, initialize, isAbstract, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isExceptionsPresent, isExposed, isIncomingMessageOperation, isLeaf, isMany, isMessageOperation, isModelElementFacadeMetaType, isOperationFacadeMetaType, isOrdered, isOutgoingMessageOperation, isOverriding, isPostconditionsPresent, isPreconditionsPresent, isQuery, isReservedWord, isRest, isRestAtom, isRestEncoded, isReturnTypePresent, isServiceOperationMetaType, isStatic, isTemplateParametersPresent, isUnique, isValidIdentifierName, isWebFaultOnAllExceptions, isWebServiceOperationMetaType, resetMetafacadeContext, toString, translateConstraint, translateConstraints, translateConstraints
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
public WebServiceOperationLogicImpl(Object metaObject, String context)
metaObject
- context
- protected boolean handleIsExposed()
handleIsExposed
in class WebServiceOperationLogic
WebServiceOperation.isExposed()
protected String handleGetTestImplementationName()
handleGetTestImplementationName
in class WebServiceOperationLogic
WebServiceOperation.getTestImplementationName()
protected String handleGetTestImplementationCall()
handleGetTestImplementationCall
in class WebServiceOperationLogic
WebServiceOperation.getTestImplementationCall()
protected String handleGetTestImplementationSignature()
handleGetTestImplementationSignature
in class WebServiceOperationLogic
WebServiceOperation.getTestImplementationSignature()
protected String handleGetSignature(boolean withArgumentNames)
withArgumentNames
- boolean Use argument names.OperationFacade.getSignature()
protected String handleGetTestName()
handleGetTestName
in class WebServiceOperationLogic
WebServiceOperation.getTestName()
protected String handleGetTestCall()
handleGetTestCall
in class WebServiceOperationLogic
WebServiceOperation.getTestCall()
protected String handleGetTestSignature()
handleGetTestSignature
in class WebServiceOperationLogic
WebServiceOperation.getTestSignature()
protected String handleGetParameterStyle()
handleGetParameterStyle
in class WebServiceOperationLogic
WebServiceOperationLogic.handleGetParameterStyle()
protected String handleGetRestCacheType()
handleGetRestCacheType
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestCacheType()
protected String handleGetRestConsumes()
handleGetRestConsumes
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestConsumes()
protected String handleGetRestPartType()
handleGetRestPartType
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestPartType()
protected String handleGetRestPath()
handleGetRestPath
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestPath()
protected String handleGetRestTestPath()
handleGetRestTestPath
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestPath()
protected String handleGetRestProduces()
handleGetRestProduces
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestProduces()
public static String translateMediaType(String input)
input
- ProviderMediaType Enumeration value to be translated for Annotationprotected String handleGetRestProvider()
handleGetRestProvider
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestProvider()
protected String handleGetRestRequestType()
handleGetRestRequestType
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestRequestType()
protected int handleGetRestSuspend()
handleGetRestSuspend
in class WebServiceOperationLogic
WebServiceOperationLogic.getRestRequestType()
protected String handleGetRolesAllowed()
handleGetRolesAllowed
in class WebServiceOperationLogic
WebServiceOperationLogic.getRolesAllowed()
protected boolean handleIsRest()
handleIsRest
in class WebServiceOperationLogic
WebServiceOperationLogic.handleIsRest()
protected boolean handleIsRestEncoded()
handleIsRestEncoded
in class WebServiceOperationLogic
WebServiceOperationLogic.getRolesAllowed()
protected boolean handleIsRestAtom()
handleIsRestAtom
in class WebServiceOperationLogic
WebServiceLogic.isRestAtom()
protected String handleGetOperationName()
handleGetOperationName
in class WebServiceOperationLogic
WebServiceOperationLogic.handleGetOperationName()
protected boolean handleIsWebFaultOnAllExceptions()
handleIsWebFaultOnAllExceptions
in class WebServiceOperationLogic
WebServiceOperationLogic.handleIsWebFaultOnAllExceptions()
protected ModelElementFacade handleGetWebServicePackage()
WebServiceOperationLogic
handleGetWebServicePackage
in class WebServiceOperationLogic
WebServiceOperationLogic.handleGetWebServicePackage()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::webservice::metafacades::WebServiceOperation::operation must start with a lowercase letter
Error: Operation name must start with a lowercase letter.
validateInvariants
in interface ModelElementFacade
validateInvariants
in class WebServiceOperationLogic
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.