public abstract class WebServiceLogic extends MetafacadeBase implements WebService
WebService
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
WebServiceLogic(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.
|
AttributeFacade |
findAttribute(String name)
Return the attribute which name matches the parameter
|
Object |
findTaggedValue(String tagName)
Finds the tagged value with the specified 'tagName'.
|
Object |
findTaggedValue(String tagName,
boolean follow)
Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set
to true.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
Collection<ClassifierFacade> |
getAbstractions()
Those abstraction dependencies for which this classifier is the client.
|
Collection<ClassifierFacade> |
getAllAssociatedClasses()
Lists all classes associated to this one and any ancestor classes (through generalization).
|
Collection<DependencyFacade> |
getAllEntityReferences()
Returns a collection of all entities this service and its ancestors have a relation to.
|
Collection<GeneralizableElementFacade> |
getAllGeneralizations()
All generalizations for this generalizable element, goes up the inheritance tree.
|
Collection<Destination> |
getAllMessagingDestinations()
All messaging destinations that belong to this service and all decendent services.
|
String |
getAllowedMethods()
Creates a space delimited string containing a name of ALL allowed methods.
|
Collection<WSDLType> |
getAllowedOperationExceptions()
Represents a web service.
|
Collection<WebServiceOperation> |
getAllowedOperations()
Represents a web service.
|
Collection<ModelElementFacade> |
getAllProperties()
A collection containing all 'properties' of the classifier and its ancestors.
|
Collection<ModelElementFacade> |
getAllRequiredConstructorParameters()
A collection containing all required and/or read-only 'properties' of the classifier and its
ancestors.
|
Collection<Role> |
getAllRoles()
All roles associated with the service, this includes both roles that have access to the
entire service, and any roles that have access to a single operation.
|
Collection<DependencyFacade> |
getAllServiceReferences()
Returns a collection of all services this service and its ancestors have a relation to.
|
Collection<GeneralizableElementFacade> |
getAllSpecializations()
All specializations (travels down the inheritance hierarchy).
|
ClassifierFacade |
getArray()
Gets the array type for this classifier.
|
String |
getArrayName()
The name of the classifier as an array.
|
Collection<ClassifierFacade> |
getAssociatedClasses()
Lists the classes associated to this one, there is no repitition of classes.
|
List<AssociationEndFacade> |
getAssociationEnds()
Gets the association ends belonging to a classifier.
|
List<AttributeFacade> |
getAttributes()
Gets the attributes that belong to the classifier.
|
List<AttributeFacade> |
getAttributes(boolean follow)
Gets all attributes for the classifier and if 'follow' is true goes up the inheritance
hierarchy and gets the attributes from the super classes as well.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
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 |
getEjbHomeInterface()
The home interface name for an EJB provider.
|
String |
getEjbInterface()
The interface name for an EJB provider.
|
String |
getEjbJndiName()
The JNDI name for the EJB provider (the EJB that provides the functionality behind this web
service).
|
Collection<DependencyFacade> |
getEntityReferences()
References to all entities to which this service has a dependency.
|
String |
getFullyQualifiedArrayName()
The fully qualified name of the classifier as an array.
|
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 |
getFullyQualifiedTestImplementationName()
The fully qualified name of the test implementation class for this web service.
|
String |
getFullyQualifiedTestName()
The fully qualified name of a test generated for this web service.
|
GeneralizableElementFacade |
getGeneralization()
Gets the direct generalization for this generalizable element.
|
Collection<GeneralizationFacade> |
getGeneralizationLinks()
Gets the actual links that this generalization element is part of (it plays either the
specialization or generalization).
|
String |
getGeneralizationList()
A comma separated list of the fully qualified names of all generalizations.
|
GeneralizableElementFacade |
getGeneralizationRoot()
The element found when you recursively follow the generalization path up to the root.
|
Collection<GeneralizableElementFacade> |
getGeneralizations()
Return all generalizations (ancestors) from this generalizable element.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
Collection<OperationFacade> |
getImplementationOperations()
Returns all those operations that could be implemented at this classifier's level.
|
String |
getImplementedInterfaceList()
A comma separated list of the fully qualified names of all implemented interfaces.
|
Collection<AttributeFacade> |
getInstanceAttributes()
Those attributes that are scoped to an instance of this class.
|
List<OperationFacade> |
getInstanceOperations()
Those operations that are scoped to an instance of this class.
|
Collection<ClassifierFacade> |
getInterfaceAbstractions()
Those interfaces that are abstractions of this classifier, this basically means this
classifier realizes them.
|
String |
getJavaNewString()
A String representing a new Constructor declaration for this classifier type to be used in a
Java environment.
|
String |
getJavaNullString()
A String representing the null-value for this classifier type to be used in a Java
environment.
|
int |
getJaxwsCount()
Number of REST JAX-RS service methods in this class.
|
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.
|
Collection<Destination> |
getMessagingDestinations()
All messaging destinations available to this service.
|
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 |
getNamespace()
The name of the namespace to which this web service belongs.
|
String |
getNamespacePrefix()
The namespace prefix used for types defined within the generated WSDLs.
|
Collection<AssociationEndFacade> |
getNavigableConnectingEnds()
The other ends of this classifier's association ends which are navigable.
|
List<AssociationEndFacade> |
getNavigableConnectingEnds(boolean follow)
Get the other ends of this classifier's association ends which are navigable and if 'follow'
is true goes up the inheritance hierarchy and gets the super association ends as well.
|
ClassifierFacade |
getNonArray()
Assuming that the classifier is an array, this will return the non array type of the
classifier from
the model.
|
String |
getOperationCallFromAttributes()
The attributes from this classifier in the form of an operation call (this example would be
in Java): '(String attributeOne, String attributeTwo).
|
List<OperationFacade> |
getOperations()
The operations owned by this classifier.
|
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 |
getPackageReferences(String packageName,
boolean follow)
TODO: Model Documentation for
org.andromda.cartridges.webservice.metafacades.WebService.getPackageReferences
|
List<ModelElementFacade> |
getProperties()
A collection containing all 'properties' of the classifier.
|
List |
getProperties(boolean follow)
Gets all properties (attributes and navigable association ends) for the classifier and if
'follow' is true goes up the inheritance hierarchy and gets the properties from the super
classes as well.
|
String |
getProvider()
The provider for this web service.
|
String |
getQName()
The QName for this service.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
Collection<ModelElementFacade> |
getRequiredConstructorParameters()
A collection containing all required and/or read-only 'properties' of the classifier.
|
String |
getRestCacheType()
Specified CacheType (none, always, etc) in @CacheType annotation.
|
String |
getRestConsumes() |
Collection<String> |
getRestContexts()
Context used for REST JAX-WS implementation for this service.
|
int |
getRestCount()
Number of REST JAX-RS service methods in this class.
|
String |
getRestMethod()
Customized Http Method implementation.
|
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 |
getRestRetention()
Customized RetentionPolicy (default=RUNTIME).
|
String |
getRestTarget()
Customized target ElementType, default=METHOD.
|
Collection<Role> |
getRoles()
The roles of the service, these are the actor's that can access this service.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getRpcClassName()
The name of the RPC implementation class.
|
TypeMappings |
getSchemaMappings()
TODO: Model Documentation for
org.andromda.cartridges.webservice.metafacades.WebService.getSchemaMappings
|
long |
getSerialVersionUID()
Returns the serial version UID of the underlying model element.
|
Collection<DependencyFacade> |
getServiceReferences()
References to all services to which this service has a dependency.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
Collection<GeneralizableElementFacade> |
getSpecializations()
Gets the direct specializations (i.e.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<AttributeFacade> |
getStaticAttributes()
Those attributes that are scoped to the definition of this class.
|
List<OperationFacade> |
getStaticOperations()
Those operations that are scoped to the definition of this class.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
String |
getStyle()
The style of binding in the generated WSDL, either DOCUMENT, RPC, or WRAPPED.
|
ClassifierFacade |
getSuperClass()
This class' superclass, returns the generalization if it is a ClassifierFacade, null
otherwise.
|
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 |
getTestImplementationName()
The name for the test implementation class.
|
String |
getTestName()
The name of a the test for this web service.
|
String |
getTestPackageName()
The name of the package to which tests are generated.
|
Collection |
getTypeMappingElements()
Returns a collection of all type mappings used by this WebServiceFacade.
|
String |
getUse()
The use of items in the binding, either LITERAL or ENCODED.
|
String |
getValidationName() |
Object |
getValidationOwner() |
String |
getVisibility()
The visibility (i.e.
|
String |
getWrapperName()
The wrapper name for this classifier if a mapped type has a defined wrapper class (ie.
|
String |
getWsdlFile()
The location of the WSDL file for this web service.
|
String |
getXjcArguments()
Override global default XJC arguments for Jaxb wsdl2java (i.e.
|
protected abstract String |
handleGetAllowedMethods() |
protected abstract Collection |
handleGetAllowedOperationExceptions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetAllowedOperations()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetEjbHomeInterface() |
protected abstract String |
handleGetEjbInterface() |
protected abstract String |
handleGetEjbJndiName() |
protected abstract String |
handleGetFullyQualifiedTestImplementationName() |
protected abstract String |
handleGetFullyQualifiedTestName() |
protected abstract int |
handleGetJaxwsCount() |
protected abstract String |
handleGetNamespace() |
protected abstract String |
handleGetNamespacePrefix() |
protected abstract Collection |
handleGetPackageReferences(String packageName,
boolean follow)
Method to be implemented in descendants
TODO: Model Documentation for
org.andromda.cartridges.webservice.metafacades.WebService.getPackageReferences
|
protected abstract String |
handleGetProvider() |
protected abstract String |
handleGetQName() |
protected abstract String |
handleGetRestCacheType() |
protected abstract String |
handleGetRestConsumes() |
protected abstract Collection<String> |
handleGetRestContexts() |
protected abstract int |
handleGetRestCount() |
protected abstract String |
handleGetRestMethod() |
protected abstract String |
handleGetRestPath() |
protected abstract String |
handleGetRestProduces() |
protected abstract String |
handleGetRestProvider() |
protected abstract String |
handleGetRestRetention() |
protected abstract String |
handleGetRestTarget() |
protected abstract String |
handleGetRpcClassName() |
protected abstract TypeMappings |
handleGetSchemaMappings()
Method to be implemented in descendants
TODO: Model Documentation for
org.andromda.cartridges.webservice.metafacades.WebService.getSchemaMappings
|
protected abstract String |
handleGetStyle() |
protected abstract String |
handleGetTestImplementationName() |
protected abstract String |
handleGetTestName() |
protected abstract String |
handleGetTestPackageName() |
protected abstract Collection |
handleGetTypeMappingElements() |
protected abstract String |
handleGetUse() |
protected abstract String |
handleGetWsdlFile() |
protected abstract String |
handleGetXjcArguments() |
protected abstract boolean |
handleIsDocumentStyle() |
protected abstract boolean |
handleIsEncodedUse() |
protected abstract boolean |
handleIsLiteralUse() |
protected abstract boolean |
handleIsRestAtom() |
protected abstract boolean |
handleIsRpcStyle() |
protected abstract boolean |
handleIsSchemaValidation() |
protected abstract boolean |
handleIsSecured() |
protected abstract boolean |
handleIsSimpleBindingMode() |
protected abstract boolean |
handleIsWrappedStyle() |
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()
Indicates if this classifier is 'abstract'.
|
boolean |
isArrayType()
True if this classifier represents an array type.
|
boolean |
isAssociationClass()
True if the ClassifierFacade is an AssociationClass.
|
boolean |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
boolean |
isBlobType()
Returns true if this type represents a Blob type.
|
boolean |
isBooleanType()
Indicates if this type represents a boolean type or not.
|
boolean |
isCharacterType()
Indicates if this type represents a char, Character, or java.lang.Character type or not.
|
boolean |
isClassifierFacadeMetaType() |
boolean |
isClobType()
Returns true if this type represents a Clob type.
|
boolean |
isCollectionType()
True if this classifier represents a collection type.
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isDataType()
True/false depending on whether or not this classifier represents a datatype.
|
boolean |
isDateType()
True when this classifier is a date type.
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isDocumentStyle()
Indicates whether or not this service is "document" style.
|
boolean |
isDoubleType()
Indicates if this type represents a Double type or not.
|
boolean |
isEmbeddedValue()
Indicates whether or not this classifier represents an "EmbeddedValue'.
|
boolean |
isEncodedUse()
Indicates whether or not this web service has a "encoded" use defined.
|
boolean |
isEnumeration()
True if this classifier is in fact marked as an enumeration.
|
boolean |
isFileType()
Returns true if this type represents a 'file' type.
|
boolean |
isFloatType()
Indicates if this type represents a Float type or not.
|
boolean |
isGeneralizableElementFacadeMetaType() |
boolean |
isIntegerType()
Indicates if this type represents an int or Integer or java.lang.Integer type or not.
|
boolean |
isInterface()
True/false depending on whether or not this Classifier represents an interface.
|
boolean |
isLeaf()
True if this classifier cannot be extended and represent a leaf in the inheritance tree.
|
boolean |
isListType()
True if this classifier represents a list type.
|
boolean |
isLiteralUse()
Indicates whether or not this web service has a "literal" use defined.
|
boolean |
isLongType()
Indicates if this type represents a Long type or not.
|
boolean |
isMapType()
Indicates whether or not this classifier represents a Map type.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isPrimitive()
Indicates whether or not this classifier represents a primitive type.
|
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isRestAtom()
If this REST service provides application/atom, or any service operations provide
application/atom
|
boolean |
isRpcStyle()
Indicates whether or not this service is "rpc" style.
|
boolean |
isSchemaValidation()
Validate incoming webservice XML against wsdl/xsd schema
|
boolean |
isSecured()
Whether or not this web service is secured (its based on whether or not it has any roles
associated to it).
|
boolean |
isServiceMetaType() |
boolean |
isSetType()
True if this classifier represents a set type.
|
boolean |
isSimpleBindingMode()
Use Jaxb2 XJC simple binding mode
|
boolean |
isStringType()
Indicates whether or not this classifier represents a string type.
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isTimeType()
Indicates whether or not this classifier represents a time type.
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
boolean |
isWebServiceMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isWrappedPrimitive()
Returns true if this type is a wrapped primitive type.
|
boolean |
isWrappedStyle()
Indicates whether or not this service style is "wrapped".
|
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::WebService::operation name must be unique
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected WebServiceLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isWebServiceMetaType()
WebService
isWebServiceMetaType
in interface WebService
WebService
protected abstract String handleGetRpcClassName()
WebService.getRpcClassName()
public final String getRpcClassName()
getRpcClassName
in interface WebService
protected abstract boolean handleIsSecured()
WebService.isSecured()
public final boolean isSecured()
isSecured
in interface WebService
protected abstract String handleGetAllowedMethods()
WebService.getAllowedMethods()
public final String getAllowedMethods()
getAllowedMethods
in interface WebService
protected abstract String handleGetWsdlFile()
WebService.getWsdlFile()
public final String getWsdlFile()
getWsdlFile
in interface WebService
protected abstract String handleGetUse()
WebService.getUse()
public final String getUse()
getUse
in interface WebService
protected abstract String handleGetStyle()
WebService.getStyle()
public final String getStyle()
getStyle
in interface WebService
protected abstract String handleGetNamespace()
WebService.getNamespace()
public final String getNamespace()
getNamespace
in interface WebService
protected abstract String handleGetProvider()
WebService.getProvider()
public final String getProvider()
getProvider
in interface WebService
protected abstract String handleGetNamespacePrefix()
WebService.getNamespacePrefix()
public final String getNamespacePrefix()
getNamespacePrefix
in interface WebService
protected abstract String handleGetEjbHomeInterface()
WebService.getEjbHomeInterface()
public final String getEjbHomeInterface()
getEjbHomeInterface
in interface WebService
protected abstract String handleGetEjbInterface()
WebService.getEjbInterface()
public final String getEjbInterface()
getEjbInterface
in interface WebService
protected abstract String handleGetEjbJndiName()
WebService.getEjbJndiName()
public final String getEjbJndiName()
getEjbJndiName
in interface WebService
protected abstract String handleGetQName()
WebService.getQName()
public final String getQName()
getQName
in interface WebService
protected abstract String handleGetTestPackageName()
WebService.getTestPackageName()
public final String getTestPackageName()
getTestPackageName
in interface WebService
protected abstract String handleGetFullyQualifiedTestName()
WebService.getFullyQualifiedTestName()
public final String getFullyQualifiedTestName()
getFullyQualifiedTestName
in interface WebService
protected abstract String handleGetTestName()
WebService.getTestName()
public final String getTestName()
getTestName
in interface WebService
protected abstract boolean handleIsWrappedStyle()
WebService.isWrappedStyle()
public final boolean isWrappedStyle()
isWrappedStyle
in interface WebService
protected abstract boolean handleIsDocumentStyle()
WebService.isDocumentStyle()
public final boolean isDocumentStyle()
isDocumentStyle
in interface WebService
protected abstract boolean handleIsRpcStyle()
WebService.isRpcStyle()
public final boolean isRpcStyle()
isRpcStyle
in interface WebService
protected abstract boolean handleIsLiteralUse()
WebService.isLiteralUse()
public final boolean isLiteralUse()
isLiteralUse
in interface WebService
protected abstract boolean handleIsEncodedUse()
WebService.isEncodedUse()
public final boolean isEncodedUse()
isEncodedUse
in interface WebService
protected abstract String handleGetTestImplementationName()
WebService.getTestImplementationName()
public final String getTestImplementationName()
getTestImplementationName
in interface WebService
protected abstract String handleGetFullyQualifiedTestImplementationName()
WebService.getFullyQualifiedTestImplementationName()
public final String getFullyQualifiedTestImplementationName()
getFullyQualifiedTestImplementationName
in interface WebService
protected abstract Collection handleGetTypeMappingElements()
WebService.getTypeMappingElements()
public final Collection getTypeMappingElements()
getTypeMappingElements
in interface WebService
protected abstract boolean handleIsSimpleBindingMode()
WebService.isSimpleBindingMode()
public final boolean isSimpleBindingMode()
isSimpleBindingMode
in interface WebService
protected abstract String handleGetXjcArguments()
WebService.getXjcArguments()
public final String getXjcArguments()
getXjcArguments
in interface WebService
protected abstract boolean handleIsSchemaValidation()
WebService.isSchemaValidation()
public final boolean isSchemaValidation()
isSchemaValidation
in interface WebService
protected abstract String handleGetRestPath()
WebService.getRestPath()
public final String getRestPath()
getRestPath
in interface WebService
protected abstract Collection<String> handleGetRestContexts()
WebService.getRestContexts()
public final Collection<String> getRestContexts()
getRestContexts
in interface WebService
protected abstract int handleGetRestCount()
WebService.getRestCount()
public final int getRestCount()
getRestCount
in interface WebService
protected abstract String handleGetRestCacheType()
WebService.getRestCacheType()
public final String getRestCacheType()
getRestCacheType
in interface WebService
protected abstract String handleGetRestProduces()
WebService.getRestProduces()
public final String getRestProduces()
getRestProduces
in interface WebService
protected abstract String handleGetRestConsumes()
WebService.getRestConsumes()
public final String getRestConsumes()
getRestConsumes
in interface WebService
protected abstract String handleGetRestProvider()
WebService.getRestProvider()
public final String getRestProvider()
getRestProvider
in interface WebService
protected abstract String handleGetRestTarget()
WebService.getRestTarget()
public final String getRestTarget()
getRestTarget
in interface WebService
protected abstract String handleGetRestRetention()
WebService.getRestRetention()
public final String getRestRetention()
getRestRetention
in interface WebService
protected abstract String handleGetRestMethod()
WebService.getRestMethod()
public final String getRestMethod()
getRestMethod
in interface WebService
protected abstract boolean handleIsRestAtom()
WebService.isRestAtom()
public final boolean isRestAtom()
isRestAtom
in interface WebService
protected abstract int handleGetJaxwsCount()
WebService.getJaxwsCount()
public final int getJaxwsCount()
getJaxwsCount
in interface WebService
protected abstract TypeMappings handleGetSchemaMappings()
public TypeMappings getSchemaMappings()
getSchemaMappings
in interface WebService
protected abstract Collection handleGetPackageReferences(String packageName, boolean follow)
packageName
- follow
- public Collection getPackageReferences(String packageName, boolean follow)
getPackageReferences
in interface WebService
packageName
- String
Package for which to find elements referenced by the web servicefollow
- boolean
Follow the inheritance hierarchy when determining referenced packagespublic final Collection<WebServiceOperation> getAllowedOperations()
getAllowedOperations
in interface WebService
protected abstract Collection handleGetAllowedOperations()
public final Collection<WSDLType> getAllowedOperationExceptions()
getAllowedOperationExceptions
in interface WebService
protected abstract Collection handleGetAllowedOperationExceptions()
public boolean isServiceMetaType()
isServiceMetaType
in interface Service
Service
public boolean isClassifierFacadeMetaType()
isClassifierFacadeMetaType
in interface ClassifierFacade
ClassifierFacade
public boolean isGeneralizableElementFacadeMetaType()
isGeneralizableElementFacadeMetaType
in interface GeneralizableElementFacade
GeneralizableElementFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public AttributeFacade findAttribute(String name)
findAttribute
in interface ClassifierFacade
ClassifierFacade.findAttribute(String name)
public Collection<ClassifierFacade> getAbstractions()
getAbstractions
in interface ClassifierFacade
ClassifierFacade.getAbstractions()
public Collection<ClassifierFacade> getAllAssociatedClasses()
getAllAssociatedClasses
in interface ClassifierFacade
ClassifierFacade.getAllAssociatedClasses()
public Collection<ModelElementFacade> getAllProperties()
getAllProperties
in interface ClassifierFacade
ClassifierFacade.getAllProperties()
public Collection<ModelElementFacade> getAllRequiredConstructorParameters()
getAllRequiredConstructorParameters
in interface ClassifierFacade
ClassifierFacade.getAllRequiredConstructorParameters()
public ClassifierFacade getArray()
getArray
in interface ClassifierFacade
ClassifierFacade.getArray()
public String getArrayName()
getArrayName
in interface ClassifierFacade
ClassifierFacade.getArrayName()
public Collection<ClassifierFacade> getAssociatedClasses()
getAssociatedClasses
in interface ClassifierFacade
ClassifierFacade.getAssociatedClasses()
public List<AssociationEndFacade> getAssociationEnds()
getAssociationEnds
in interface ClassifierFacade
ClassifierFacade.getAssociationEnds()
public List<AttributeFacade> getAttributes()
getAttributes
in interface ClassifierFacade
ClassifierFacade.getAttributes()
public List<AttributeFacade> getAttributes(boolean follow)
getAttributes
in interface ClassifierFacade
ClassifierFacade.getAttributes(boolean follow)
public String getFullyQualifiedArrayName()
getFullyQualifiedArrayName
in interface ClassifierFacade
ClassifierFacade.getFullyQualifiedArrayName()
public Collection<OperationFacade> getImplementationOperations()
getImplementationOperations
in interface ClassifierFacade
ClassifierFacade.getImplementationOperations()
public String getImplementedInterfaceList()
getImplementedInterfaceList
in interface ClassifierFacade
ClassifierFacade.getImplementedInterfaceList()
public Collection<AttributeFacade> getInstanceAttributes()
getInstanceAttributes
in interface ClassifierFacade
ClassifierFacade.getInstanceAttributes()
public List<OperationFacade> getInstanceOperations()
getInstanceOperations
in interface ClassifierFacade
ClassifierFacade.getInstanceOperations()
public Collection<ClassifierFacade> getInterfaceAbstractions()
getInterfaceAbstractions
in interface ClassifierFacade
ClassifierFacade.getInterfaceAbstractions()
public String getJavaNewString()
getJavaNewString
in interface ClassifierFacade
ClassifierFacade.getJavaNewString()
public String getJavaNullString()
getJavaNullString
in interface ClassifierFacade
ClassifierFacade.getJavaNullString()
public Collection<AssociationEndFacade> getNavigableConnectingEnds()
getNavigableConnectingEnds
in interface ClassifierFacade
ClassifierFacade.getNavigableConnectingEnds()
public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow)
getNavigableConnectingEnds
in interface ClassifierFacade
ClassifierFacade.getNavigableConnectingEnds(boolean follow)
public ClassifierFacade getNonArray()
getNonArray
in interface ClassifierFacade
ClassifierFacade.getNonArray()
public String getOperationCallFromAttributes()
getOperationCallFromAttributes
in interface ClassifierFacade
ClassifierFacade.getOperationCallFromAttributes()
public List<OperationFacade> getOperations()
getOperations
in interface ClassifierFacade
ClassifierFacade.getOperations()
public List<ModelElementFacade> getProperties()
getProperties
in interface ClassifierFacade
ClassifierFacade.getProperties()
public List getProperties(boolean follow)
getProperties
in interface ClassifierFacade
ClassifierFacade.getProperties(boolean follow)
public Collection<ModelElementFacade> getRequiredConstructorParameters()
getRequiredConstructorParameters
in interface ClassifierFacade
ClassifierFacade.getRequiredConstructorParameters()
public long getSerialVersionUID()
getSerialVersionUID
in interface ClassifierFacade
ClassifierFacade.getSerialVersionUID()
public Collection<AttributeFacade> getStaticAttributes()
getStaticAttributes
in interface ClassifierFacade
ClassifierFacade.getStaticAttributes()
public List<OperationFacade> getStaticOperations()
getStaticOperations
in interface ClassifierFacade
ClassifierFacade.getStaticOperations()
public ClassifierFacade getSuperClass()
getSuperClass
in interface ClassifierFacade
ClassifierFacade.getSuperClass()
public String getWrapperName()
getWrapperName
in interface ClassifierFacade
ClassifierFacade.getWrapperName()
public boolean isAbstract()
isAbstract
in interface ClassifierFacade
ClassifierFacade.isAbstract()
public boolean isArrayType()
isArrayType
in interface ClassifierFacade
ClassifierFacade.isArrayType()
public boolean isAssociationClass()
isAssociationClass
in interface ClassifierFacade
ClassifierFacade.isAssociationClass()
public boolean isBlobType()
isBlobType
in interface ClassifierFacade
ClassifierFacade.isBlobType()
public boolean isBooleanType()
isBooleanType
in interface ClassifierFacade
ClassifierFacade.isBooleanType()
public boolean isCharacterType()
isCharacterType
in interface ClassifierFacade
ClassifierFacade.isCharacterType()
public boolean isClobType()
isClobType
in interface ClassifierFacade
ClassifierFacade.isClobType()
public boolean isCollectionType()
isCollectionType
in interface ClassifierFacade
ClassifierFacade.isCollectionType()
public boolean isDataType()
isDataType
in interface ClassifierFacade
ClassifierFacade.isDataType()
public boolean isDateType()
isDateType
in interface ClassifierFacade
ClassifierFacade.isDateType()
public boolean isDoubleType()
isDoubleType
in interface ClassifierFacade
ClassifierFacade.isDoubleType()
public boolean isEmbeddedValue()
isEmbeddedValue
in interface ClassifierFacade
ClassifierFacade.isEmbeddedValue()
public boolean isEnumeration()
isEnumeration
in interface ClassifierFacade
ClassifierFacade.isEnumeration()
public boolean isFileType()
isFileType
in interface ClassifierFacade
ClassifierFacade.isFileType()
public boolean isFloatType()
isFloatType
in interface ClassifierFacade
ClassifierFacade.isFloatType()
public boolean isIntegerType()
isIntegerType
in interface ClassifierFacade
ClassifierFacade.isIntegerType()
public boolean isInterface()
isInterface
in interface ClassifierFacade
ClassifierFacade.isInterface()
public boolean isLeaf()
isLeaf
in interface ClassifierFacade
ClassifierFacade.isLeaf()
public boolean isListType()
isListType
in interface ClassifierFacade
ClassifierFacade.isListType()
public boolean isLongType()
isLongType
in interface ClassifierFacade
ClassifierFacade.isLongType()
public boolean isMapType()
isMapType
in interface ClassifierFacade
ClassifierFacade.isMapType()
public boolean isPrimitive()
isPrimitive
in interface ClassifierFacade
ClassifierFacade.isPrimitive()
public boolean isSetType()
isSetType
in interface ClassifierFacade
ClassifierFacade.isSetType()
public boolean isStringType()
isStringType
in interface ClassifierFacade
ClassifierFacade.isStringType()
public boolean isTimeType()
isTimeType
in interface ClassifierFacade
ClassifierFacade.isTimeType()
public boolean isWrappedPrimitive()
isWrappedPrimitive
in interface ClassifierFacade
ClassifierFacade.isWrappedPrimitive()
public Object findTaggedValue(String tagName, boolean follow)
findTaggedValue
in interface GeneralizableElementFacade
GeneralizableElementFacade.findTaggedValue(String tagName, boolean follow)
public Collection<GeneralizableElementFacade> getAllGeneralizations()
getAllGeneralizations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getAllGeneralizations()
public Collection<GeneralizableElementFacade> getAllSpecializations()
getAllSpecializations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getAllSpecializations()
public GeneralizableElementFacade getGeneralization()
getGeneralization
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralization()
public Collection<GeneralizationFacade> getGeneralizationLinks()
getGeneralizationLinks
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizationLinks()
public String getGeneralizationList()
getGeneralizationList
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizationList()
public GeneralizableElementFacade getGeneralizationRoot()
getGeneralizationRoot
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizationRoot()
public Collection<GeneralizableElementFacade> getGeneralizations()
getGeneralizations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getGeneralizations()
public Collection<GeneralizableElementFacade> getSpecializations()
getSpecializations
in interface GeneralizableElementFacade
GeneralizableElementFacade.getSpecializations()
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 Collection<DependencyFacade> getAllEntityReferences()
getAllEntityReferences
in interface Service
Service.getAllEntityReferences()
public Collection<Destination> getAllMessagingDestinations()
getAllMessagingDestinations
in interface Service
Service.getAllMessagingDestinations()
public Collection<Role> getAllRoles()
getAllRoles
in interface Service
Service.getAllRoles()
public Collection<DependencyFacade> getAllServiceReferences()
getAllServiceReferences
in interface Service
Service.getAllServiceReferences()
public Collection<DependencyFacade> getEntityReferences()
getEntityReferences
in interface Service
Service.getEntityReferences()
public Collection<Destination> getMessagingDestinations()
getMessagingDestinations
in interface Service
Service.getMessagingDestinations()
public Collection<Role> getRoles()
getRoles
in interface Service
Service.getRoles()
public Collection<DependencyFacade> getServiceReferences()
getServiceReferences
in interface Service
Service.getServiceReferences()
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::WebService::operation name must be unique
Error: A web service can not have more than one operation with the same name, please check the names of your web service operations.
OCL: context WebService inv : allowedOperations -> isUnique(operationName)
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.