org.eclipse.uml2.codegen.ecore.genmodel.util
Class UML2GenModelUtil
java.lang.Object
org.eclipse.uml2.codegen.ecore.genmodel.util.UML2GenModelUtil
- public class UML2GenModelUtil
- extends Object
Method Summary |
static GenFeature |
findGenFeature(GenClass genClass,
EStructuralFeature ecoreFeature)
|
static GenOperation |
findGenOperation(GenClass genClass,
EOperation ecoreOperation)
|
static GenCacheAdapterScope |
getCacheAdapterScope(GenOperation genOperation)
|
static List |
getDuplicateGenFeatures(GenClass genClass)
|
static List |
getDuplicateGenOperations(GenClass genClass)
|
static List |
getImplementedRedefinedGenFeatures(GenClass genClass)
|
static List |
getImplementedRedefinedGenOperations(GenClass genClass)
|
static List |
getImplementedSubsetGenFeatures(GenClass genClass)
|
static List |
getImplementedSubsetGenFeatures(GenClass genClass,
boolean listType)
|
static List |
getImplementedSupersetGenFeatures(GenClass genClass)
|
static List |
getImplementedSupersetGenFeatures(GenClass genClass,
boolean listType)
|
static List |
getImplementedUnionGenFeatures(GenClass genClass)
|
static String |
getImportedOperationsClassName(GenClass genClass)
|
static String |
getImportedResourceBaseInterfaceName(GenPackage genPackage)
|
static String |
getImportedResourceFactoryBaseInterfaceName(GenPackage genPackage)
|
static String |
getImportedResourceFactoryInterfaceName(GenPackage genPackage)
|
static String |
getImportedResourceInterfaceName(GenPackage genPackage)
|
static String |
getInvariantPrefix(GenModel genModel)
|
static List |
getKeyGenFeatures(GenClass genClass)
|
static String |
getOperationsClassName(GenClass genClass)
|
static String |
getOperationsPackage(GenPackage genPackage)
|
static String |
getOperationsPackageName(GenPackage genPackage)
|
static String |
getQualifiedOperationsClassName(GenClass genClass)
|
static String |
getQualifiedResourceInterfaceName(GenPackage genPackage)
|
static List |
getRedefinedGenFeatures(GenClass genClass)
|
static List |
getRedefinedGenFeatures(GenFeature genFeature)
|
static List |
getRedefinedGenOperations(GenClass genClass)
|
static List |
getRedefinedGenOperations(GenOperation genOperation)
|
static String |
getRedefinedListItemType(GenFeature genFeature)
|
static List |
getRedefinitionGenFeatures(GenClass genClass,
GenFeature genFeature)
|
static List |
getRedefinitionGenOperations(GenClass genClass,
GenOperation genOperation)
|
static String |
getResourceInterfaceName(GenPackage genPackage)
|
static String |
getSubsetFeatureAccessorArray(GenClass genClass,
GenFeature supersetGenFeature)
|
static List |
getSubsetGenFeatures(GenClass genClass)
|
static List |
getSubsetGenFeatures(GenClass genClass,
GenFeature supersetGenFeature)
|
static List |
getSubsettedGenFeatures(GenFeature genFeature)
|
static String |
getSupersetFeatureAccessorArray(GenClass genClass,
GenFeature subsetGenFeature)
|
static List |
getSupersetGenFeatures(GenClass genClass)
|
static List |
getSupersetGenFeatures(GenClass genClass,
GenFeature subsetGenFeature)
|
static List |
getUnionGenFeatures(GenClass genClass)
|
static boolean |
isCacheAdapterSupport(GenModel genModel)
|
static boolean |
isCached(GenOperation genOperation)
|
static boolean |
isDuplicate(GenFeature genFeature)
|
static boolean |
isDuplicate(GenOperation genOperation)
|
static boolean |
isFactoryMethods(GenModel genModel)
|
static boolean |
isKey(GenFeature genFeature)
|
static boolean |
isOperationsClasses(GenPackage genPackage)
|
static boolean |
isPluralizedGetters(GenModel genModel)
|
static boolean |
isRedefined(GenClass genClass,
GenFeature genFeature)
|
static boolean |
isRedefined(GenClass genClass,
GenOperation genOperation)
|
static boolean |
isRedefinition(GenFeature genFeature)
|
static boolean |
isRedefinition(GenOperation genOperation)
|
static boolean |
isResourceCacheAdapterScope(GenOperation genOperation)
|
static boolean |
isResourceInterfaces(GenPackage genPackage)
|
static boolean |
isSafeStrings(GenModel genModel)
|
static boolean |
isSubset(GenFeature genFeature)
|
static boolean |
isSuperset(GenClass genClass,
GenFeature genFeature)
|
static boolean |
isUnion(GenFeature genFeature)
|
static boolean |
isXMLResource(GenPackage genPackage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UML2GenModelUtil
protected UML2GenModelUtil()
getInvariantPrefix
public static String getInvariantPrefix(GenModel genModel)
isCacheAdapterSupport
public static boolean isCacheAdapterSupport(GenModel genModel)
isFactoryMethods
public static boolean isFactoryMethods(GenModel genModel)
isPluralizedGetters
public static boolean isPluralizedGetters(GenModel genModel)
isSafeStrings
public static boolean isSafeStrings(GenModel genModel)
isResourceInterfaces
public static boolean isResourceInterfaces(GenPackage genPackage)
isOperationsClasses
public static boolean isOperationsClasses(GenPackage genPackage)
getOperationsPackage
public static String getOperationsPackage(GenPackage genPackage)
getOperationsPackageName
public static String getOperationsPackageName(GenPackage genPackage)
getResourceInterfaceName
public static String getResourceInterfaceName(GenPackage genPackage)
getQualifiedResourceInterfaceName
public static String getQualifiedResourceInterfaceName(GenPackage genPackage)
getImportedResourceInterfaceName
public static String getImportedResourceInterfaceName(GenPackage genPackage)
getImportedResourceBaseInterfaceName
public static String getImportedResourceBaseInterfaceName(GenPackage genPackage)
getImportedResourceFactoryInterfaceName
public static String getImportedResourceFactoryInterfaceName(GenPackage genPackage)
getImportedResourceFactoryBaseInterfaceName
public static String getImportedResourceFactoryBaseInterfaceName(GenPackage genPackage)
isXMLResource
public static boolean isXMLResource(GenPackage genPackage)
getOperationsClassName
public static String getOperationsClassName(GenClass genClass)
getQualifiedOperationsClassName
public static String getQualifiedOperationsClassName(GenClass genClass)
getImportedOperationsClassName
public static String getImportedOperationsClassName(GenClass genClass)
getKeyGenFeatures
public static List getKeyGenFeatures(GenClass genClass)
findGenFeature
public static GenFeature findGenFeature(GenClass genClass,
EStructuralFeature ecoreFeature)
findGenOperation
public static GenOperation findGenOperation(GenClass genClass,
EOperation ecoreOperation)
getDuplicateGenFeatures
public static List getDuplicateGenFeatures(GenClass genClass)
getDuplicateGenOperations
public static List getDuplicateGenOperations(GenClass genClass)
getUnionGenFeatures
public static List getUnionGenFeatures(GenClass genClass)
getImplementedUnionGenFeatures
public static List getImplementedUnionGenFeatures(GenClass genClass)
getSubsetGenFeatures
public static List getSubsetGenFeatures(GenClass genClass)
getImplementedSubsetGenFeatures
public static List getImplementedSubsetGenFeatures(GenClass genClass)
getImplementedSubsetGenFeatures
public static List getImplementedSubsetGenFeatures(GenClass genClass,
boolean listType)
getSupersetGenFeatures
public static List getSupersetGenFeatures(GenClass genClass,
GenFeature subsetGenFeature)
getSupersetFeatureAccessorArray
public static String getSupersetFeatureAccessorArray(GenClass genClass,
GenFeature subsetGenFeature)
isSuperset
public static boolean isSuperset(GenClass genClass,
GenFeature genFeature)
getSupersetGenFeatures
public static List getSupersetGenFeatures(GenClass genClass)
getImplementedSupersetGenFeatures
public static List getImplementedSupersetGenFeatures(GenClass genClass)
getImplementedSupersetGenFeatures
public static List getImplementedSupersetGenFeatures(GenClass genClass,
boolean listType)
getSubsetGenFeatures
public static List getSubsetGenFeatures(GenClass genClass,
GenFeature supersetGenFeature)
getSubsetFeatureAccessorArray
public static String getSubsetFeatureAccessorArray(GenClass genClass,
GenFeature supersetGenFeature)
isRedefined
public static boolean isRedefined(GenClass genClass,
GenFeature genFeature)
getRedefinedGenFeatures
public static List getRedefinedGenFeatures(GenClass genClass)
getImplementedRedefinedGenFeatures
public static List getImplementedRedefinedGenFeatures(GenClass genClass)
getRedefinitionGenFeatures
public static List getRedefinitionGenFeatures(GenClass genClass,
GenFeature genFeature)
isRedefined
public static boolean isRedefined(GenClass genClass,
GenOperation genOperation)
getRedefinedGenOperations
public static List getRedefinedGenOperations(GenClass genClass)
getImplementedRedefinedGenOperations
public static List getImplementedRedefinedGenOperations(GenClass genClass)
getRedefinitionGenOperations
public static List getRedefinitionGenOperations(GenClass genClass,
GenOperation genOperation)
isKey
public static boolean isKey(GenFeature genFeature)
isUnion
public static boolean isUnion(GenFeature genFeature)
isDuplicate
public static boolean isDuplicate(GenFeature genFeature)
isSubset
public static boolean isSubset(GenFeature genFeature)
getSubsettedGenFeatures
public static List getSubsettedGenFeatures(GenFeature genFeature)
isRedefinition
public static boolean isRedefinition(GenFeature genFeature)
getRedefinedGenFeatures
public static List getRedefinedGenFeatures(GenFeature genFeature)
getRedefinedListItemType
public static String getRedefinedListItemType(GenFeature genFeature)
isCached
public static boolean isCached(GenOperation genOperation)
isResourceCacheAdapterScope
public static boolean isResourceCacheAdapterScope(GenOperation genOperation)
getCacheAdapterScope
public static GenCacheAdapterScope getCacheAdapterScope(GenOperation genOperation)
isDuplicate
public static boolean isDuplicate(GenOperation genOperation)
isRedefinition
public static boolean isRedefinition(GenOperation genOperation)
getRedefinedGenOperations
public static List getRedefinedGenOperations(GenOperation genOperation)