public class AbstractGenModelHelper extends Object implements GenModelHelper
Modifier and Type | Field and Description |
---|---|
static String |
TABLES_CLASS_SUFFIX |
static String |
TABLES_PACKAGE_NAME |
Constructor and Description |
---|
AbstractGenModelHelper(PivotMetamodelManager metamodelManager) |
public static final String TABLES_CLASS_SUFFIX
public static final String TABLES_PACKAGE_NAME
public AbstractGenModelHelper(PivotMetamodelManager metamodelManager)
public static String encodeName(NamedElement element)
public Class<?> getAbstractOperationClass(List<?> parameters)
getAbstractOperationClass
in interface GenModelHelper
public Class<?> getAbstractOperationClass(int parameterCount)
getAbstractOperationClass
in interface GenModelHelper
public Class<?> getEcoreFactoryClass(EPackage ePackage)
getEcoreFactoryClass
in interface GenModelHelper
public Class<?> getEcoreInterfaceClass(Class type) throws GenModelException
getEcoreInterfaceClass
in interface GenModelHelper
GenModelException
public String getEcoreInterfaceClassName(EClass eClass) throws GenModelException
getEcoreInterfaceClassName
in interface GenModelHelper
GenModelException
public Class<?> getEcoreInterfaceClassifier(EClassifier eClassifier) throws GenModelException
getEcoreInterfaceClassifier
in interface GenModelHelper
GenModelException
public String getEcoreInterfaceClassifierName(EClassifier eClassifier) throws GenModelException
getEcoreInterfaceClassifierName
in interface GenModelHelper
GenModelException
public String getEcoreInterfaceName(Class type)
getEcoreInterfaceName
in interface GenModelHelper
public String getEcoreLiteralName(EStructuralFeature eFeature)
getEcoreLiteralName
in interface GenModelHelper
public String getEcoreClassName(Class type)
getEcoreClassName
in interface GenModelHelper
public EnvironmentFactory getEnvironmentFactory()
getEnvironmentFactory
in interface GenModelHelper
public GenClassifier getGenClassifier(Class type) throws GenModelException
getGenClassifier
in interface GenModelHelper
GenModelException
public GenFeature getGenFeature(Property property) throws GenModelException
getGenFeature
in interface GenModelHelper
GenModelException
public GenFeature getGenFeature(EStructuralFeature eStructuralFeature) throws GenModelException
getGenFeature
in interface GenModelHelper
GenModelException
public GenOperation getGenOperation(Operation operation) throws GenModelException
getGenOperation
in interface GenModelHelper
GenModelException
public GenPackage getGenPackage(Package asPackage)
getGenPackage
in interface GenModelHelper
public GenPackage getGenPackage(Class type)
getGenPackage
in interface GenModelHelper
public GenPackage getGenPackage(EClassifier eClassifier)
getGenPackage
in interface GenModelHelper
public GenPackage getGenPackage(EPackage ePackage)
getGenPackage
in interface GenModelHelper
public GenParameter getGenParameter(Parameter parameter) throws GenModelException
getGenParameter
in interface GenModelHelper
GenModelException
public String getGetAccessor(Property aProperty) throws GenModelException
getGetAccessor
in interface GenModelHelper
GenModelException
public String getGetAccessor(EStructuralFeature eStructuralFeature) throws GenModelException
getGetAccessor
in interface GenModelHelper
GenModelException
public String getImplementationClassName(EClassifier eClassifier) throws GenModelException
getImplementationClassName
in interface GenModelHelper
GenModelException
public String getLiteralName(EClassifier eClassifier)
getLiteralName
in interface GenModelHelper
public PivotMetamodelManager getMetamodelManager()
getMetamodelManager
in interface GenModelHelper
public String getOperationAccessor(Operation anOperation) throws GenModelException
getOperationAccessor
in interface GenModelHelper
GenModelException
public Class<?> getOperationInterface(List<? extends TypedElement> parameters)
getOperationInterface
in interface GenModelHelper
public String getOperationReturnType(Operation operation) throws GenModelException
getOperationReturnType
in interface GenModelHelper
GenModelException
public String getPropertyResultType(Property property) throws GenModelException
getPropertyResultType
in interface GenModelHelper
GenModelException
public String getQualifiedFactoryInterfaceName(EPackage ePackage)
getQualifiedFactoryInterfaceName
in interface GenModelHelper
public String getQualifiedFactoryInstanceAccessor(EPackage ePackage)
getQualifiedFactoryInstanceAccessor
in interface GenModelHelper
public String getQualifiedPackageInterfaceName(EPackage ePackage)
getQualifiedPackageInterfaceName
in interface GenModelHelper
public String getQualifiedValidatorClassName(GenPackage genPackage)
getQualifiedValidatorClassName
in interface GenModelHelper
public String getSetAccessor(EStructuralFeature eStructuralFeature) throws GenModelException
getSetAccessor
in interface GenModelHelper
GenModelException
public String getTablesClassName(GenPackage genPackage)
getTablesClassName
in interface GenModelHelper
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.