| java.lang.Object org.andromda.cartridges.hibernate.metafacades.HibernateMetafacadeUtils
HibernateMetafacadeUtils | class HibernateMetafacadeUtils (Code) | | Contains utilities for use with Hibernate metafacades.
author: Chad Brandon |
Method Summary | |
static java.util.Collection | filterBusinessOperations(Collection operations) | 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 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. | static String | getViewType(ClassifierFacade classifier, String defaultViewType) Gets the view type for the passed in classifier . |
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. |
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. |
getViewType | static String getViewType(ClassifierFacade classifier, String defaultViewType)(Code) | | Gets the view type for the passed in classifier . If the
view type can be retrieved from the classifier , then that
is used, otherwise the defaultViewType is returned.
String the view type name. |
|
|