class SpringMetafacadeUtils extends Object
Constructor and Description |
---|
SpringMetafacadeUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static String |
getFullyQualifiedName(String packageName,
String name)
Creates a fully qualified name from the given
packageName , name , and
suffix . |
(package private) static String |
getFullyQualifiedName(String packageName,
String name,
String suffix)
Creates a fully qualified name from the given
packageName , name , and
suffix . |
(package private) static Collection<String> |
getServiceInterceptors(ClassifierFacade classifier,
Collection<String> defaultInterceptors)
Get the interceptors for the passed in
classifier . |
(package private) static String |
getServiceRemotePort(ClassifierFacade classifier,
String defaultRemoteServicePort)
Gets the remote service port for the passed in
classifier . |
(package private) static String |
getServiceRemotingType(ClassifierFacade classifier,
String defaultServiceRemotingType)
Gets the remoting type for the passed in
classifier . |
(package private) static boolean |
getUseNamedParameters(OperationFacade operation,
boolean defaultUseNamedParameters)
Checks whether the passed in operation is a query and should be using named parameters.
|
SpringMetafacadeUtils()
static String getFullyQualifiedName(String packageName, String name, String suffix)
packageName
, name
, and
suffix
.packageName
- the name of the model element package.name
- the name of the model element.suffix
- the suffix to append.static String getFullyQualifiedName(String packageName, String name)
packageName
, name
, and
suffix
.packageName
- the name of the model element package.name
- the name of the model element.static String getServiceRemotingType(ClassifierFacade classifier, String defaultServiceRemotingType)
classifier
. If the remoting type can be retrieved from the
classifier
, then that is used, otherwise the defaultRemotingType
is returned.classifier
- defaultServiceRemotingType
- static Collection<String> getServiceInterceptors(ClassifierFacade classifier, Collection<String> defaultInterceptors)
classifier
. If the interceptors can be retrieved from the
classifier
, then these will be used, otherwise the defaultInterceptors
are
returned.classifier
- the classifier whose interceptors we are looking for.defaultInterceptors
- a list of interceptors to use if the classifier itself has no explicit interceptors.static String getServiceRemotePort(ClassifierFacade classifier, String defaultRemoteServicePort)
classifier
. If the remote service
port can be retrieved from the classifier
, then that is used, otherwise the
defaultRemoteServicePort
is returned.classifier
- defaultRemoteServicePort
- static boolean getUseNamedParameters(OperationFacade operation, boolean defaultUseNamedParameters)
operation
- the operation.defaultUseNamedParameters
- the default value.Copyright © 2003–2014 AndroMDA.org. All rights reserved.