class HibernateMetafacadeUtils extends Object
Constructor and Description |
---|
HibernateMetafacadeUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static Collection<OperationFacade> |
filterBusinessOperations(Collection<OperationFacade> operations)
filters all static operations
|
(package private) static String |
getFullyQualifiedName(String packageName,
String name,
String suffix)
Creates a fully qualified Hibernate name from the given
packageName ,
name , and suffix . |
(package private) static boolean |
getUseNamedParameters(OperationFacade operation,
boolean defaultUseNamedParameters)
Checks whether the passed in operation is a query and should be using named parameters.
|
(package private) static String |
getViewType(ClassifierFacade classifier,
String defaultViewType)
Gets the view type for the passed in
classifier . |
HibernateMetafacadeUtils()
static String getViewType(ClassifierFacade classifier, String defaultViewType)
classifier
. If the
view type can be retrieved from the classifier
, then that
is used, otherwise the defaultViewType
is returned.classifier
- defaultViewType
- static String getFullyQualifiedName(String packageName, String name, String suffix)
packageName
,
name
, and suffix
. Not to be used for attributes, types, or parameters
which could possibly be java.lang. types.packageName
- the name of the model element package.name
- the name of the model element.suffix
- the suffix to append.static Collection<OperationFacade> filterBusinessOperations(Collection<OperationFacade> operations)
operations
- static boolean getUseNamedParameters(OperationFacade operation, boolean defaultUseNamedParameters)
operation
- the operation.defaultUseNamedParameters
- the default value.Copyright © 2003–2014 AndroMDA.org. All rights reserved.