| java.lang.Object org.andromda.cartridges.spring.metafacades.SpringMetafacadeUtils
SpringMetafacadeUtils | class SpringMetafacadeUtils (Code) | | Contains utilities specific to dealing with the Spring cartridge metafacades.
author: Chad Brandon author: Peter Friese |
Method Summary | |
static String | getFullyQualifiedName(String packageName, String name, String suffix) Creates a fully qualified name from the given packageName , name , and
suffix .
Parameters: packageName - the name of the model element package. Parameters: name - the name of the model element. Parameters: suffix - the suffix to append. | static String | getFullyQualifiedName(String packageName, String name) Creates a fully qualified name from the given packageName , name , and
suffix .
Parameters: packageName - the name of the model element package. Parameters: name - the name of the model element. | static String[] | getServiceInterceptors(ClassifierFacade classifier, String[] defaultInterceptors) Get the interceptors for the passed in classifier . | static String | getServiceRemotePort(ClassifierFacade classifier, String defaultRemoteServicePort) Gets the remote service port for the passed in classifier . | static String | getServiceRemotingType(ClassifierFacade classifier, String defaultServiceRemotingType) Gets the remoting type for the passed in classifier . | static boolean | getUseNamedParameters(OperationFacade operation, boolean defaultUseNamedParameters) Checks whether the passed in operation is a query and should be using named parameters.
Parameters: operation - the operation. Parameters: defaultUseNamedParameters - the default value. |
getFullyQualifiedName | static String getFullyQualifiedName(String packageName, String name, String suffix)(Code) | | Creates a fully qualified name from the given packageName , name , and
suffix .
Parameters: packageName - the name of the model element package. Parameters: name - the name of the model element. Parameters: suffix - the suffix to append. the new fully qualified name. |
getFullyQualifiedName | static String getFullyQualifiedName(String packageName, String name)(Code) | | Creates a fully qualified name from the given packageName , name , and
suffix .
Parameters: packageName - the name of the model element package. Parameters: name - the name of the model element. the new fully qualified name. |
getServiceInterceptors | static String[] getServiceInterceptors(ClassifierFacade classifier, String[] defaultInterceptors)(Code) | | Get the interceptors for the passed in classifier . If the interceptors can be retrieved from the
classifier , then these will be used, otherwise the defaultInterceptors are
returned.
Parameters: classifier - the classifier whose interceptors we are looking for. Parameters: defaultInterceptors - a list of interceptors to use if the classifier itself has no explicit interceptors. String[] the interceptors. |
getServiceRemotePort | static String getServiceRemotePort(ClassifierFacade classifier, String defaultRemoteServicePort)(Code) | | Gets the remote service port for the passed in classifier . If the remote service
port can be retrieved from the classifier , then that is used, otherwise the
defaultRemoteServicePort is returned.
String the remote service port. |
getServiceRemotingType | static String getServiceRemotingType(ClassifierFacade classifier, String defaultServiceRemotingType)(Code) | | Gets the remoting type for the passed in classifier . If the remoting type can be retrieved from the
classifier , then that is used, otherwise the defaultRemotingType is returned.
String the remoting type name. |
getUseNamedParameters | static boolean getUseNamedParameters(OperationFacade operation, boolean defaultUseNamedParameters)(Code) | | Checks whether the passed in operation is a query and should be using named parameters.
Parameters: operation - the operation. Parameters: defaultUseNamedParameters - the default value. whether named parameters should be used. |
|
|