org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenPackageImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                  extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenPackageImpl
All Implemented Interfaces:
EObject, GenBase, GenPackage, InternalEObject, Notifier

public class GenPackageImpl
extends GenBaseImpl
implements GenPackage

An implementation of the model object 'Gen Package'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.EclipseUtil, GenBaseImpl.GenAnnotationCopier, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected static boolean ADAPTER_FACTORY_EDEFAULT
          The default value of the 'Adapter Factory' attribute
protected  boolean adapterFactory
          The cached value of the 'Adapter Factory' attribute
protected static String BASE_PACKAGE_EDEFAULT
          The default value of the 'Base Package' attribute
protected  String basePackage
          The cached value of the 'Base Package' attribute
protected static String CLASS_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Class Package Suffix' attribute
protected  String classPackageSuffix
          The cached value of the 'Class Package Suffix' attribute
protected static boolean DATA_TYPE_CONVERTERS_EDEFAULT
          The default value of the 'Data Type Converters' attribute
protected  boolean dataTypeConverters
          The cached value of the 'Data Type Converters' attribute
protected static boolean DISPOSABLE_PROVIDER_FACTORY_EDEFAULT
          The default value of the 'Disposable Provider Factory' attribute
protected  boolean disposableProviderFactory
          The cached value of the 'Disposable Provider Factory' attribute
protected  EPackage ecorePackage
          The cached value of the 'Ecore Package' reference
protected  EList genClasses
          The cached value of the 'Gen Classes' containment reference list
protected  EList genDataTypes
          The cached value of the 'Gen Data Types' containment reference list
protected  EList genEnums
          The cached value of the 'Gen Enums' containment reference list
protected static boolean GENERATE_EXAMPLE_CLASS_EDEFAULT
          The default value of the 'Generate Example Class' attribute
protected  boolean generateExampleClass
          The cached value of the 'Generate Example Class' attribute
protected static String INTERFACE_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Interface Package Suffix' attribute
protected  String interfacePackageSuffix
          The cached value of the 'Interface Package Suffix' attribute
protected static boolean LITERALS_INTERFACE_EDEFAULT
          The default value of the 'Literals Interface' attribute
protected  boolean literalsInterface
          The cached value of the 'Literals Interface' attribute
protected static boolean LOAD_INITIALIZATION_EDEFAULT
          The default value of the 'Load Initialization' attribute
protected  boolean loadInitialization
          The cached value of the 'Load Initialization' attribute
protected static String META_DATA_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Meta Data Package Suffix' attribute
protected  String metaDataPackageSuffix
          The cached value of the 'Meta Data Package Suffix' attribute
protected static boolean MULTIPLE_EDITOR_PAGES_EDEFAULT
          The default value of the 'Multiple Editor Pages' attribute
protected  boolean multipleEditorPages
          The cached value of the 'Multiple Editor Pages' attribute
protected  EList nestedGenPackages
          The cached value of the 'Nested Gen Packages' containment reference list
protected static boolean NO_CONSTRAINTS
           
protected  String prefix
          The cached value of the 'Prefix' attribute
protected static String PREFIX_EDEFAULT
          The default value of the 'Prefix' attribute
protected static String PRESENTATION_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Presentation Package Suffix' attribute
protected  String presentationPackageSuffix
          The cached value of the 'Presentation Package Suffix' attribute
protected static String PROVIDER_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Provider Package Suffix' attribute
protected  String providerPackageSuffix
          The cached value of the 'Provider Package Suffix' attribute
protected  GenResourceKind resource
          The cached value of the 'Resource' attribute
protected static GenResourceKind RESOURCE_EDEFAULT
          The default value of the 'Resource' attribute
protected static String TESTS_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Tests Package Suffix' attribute
protected  String testsPackageSuffix
          The cached value of the 'Tests Package Suffix' attribute
protected static String UTILITY_PACKAGE_SUFFIX_EDEFAULT
          The default value of the 'Utility Package Suffix' attribute
protected  String utilityPackageSuffix
          The cached value of the 'Utility Package Suffix' attribute
protected static String XSD2ECORE_URI
           
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, EMPTY_URI, genAnnotations, PLATFORM_RESOURCE_URI, xmlNamespaceGenPackage, xmlTypeGenPackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected GenPackageImpl()
           
 
Method Summary
 EPackage basicGetEcorePackage()
           
 NotificationChain basicSetGenModel(GenModel newGenModel, NotificationChain msgs)
           
 boolean canGenerateSchema()
          Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.
 boolean canGenerateTests()
           
 void clearCache()
          Clear the cache for unique naming information.
protected  void collectPackages(List result, List genPackages, int depth)
          Collects into result nested GenPackages to the specified depth, not counting those without classifiers (for which nothing is ever generated); -1 for no limit.
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 void generate(Monitor progressMonitor)
          Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.
 void generateEdit(Monitor progressMonitor)
          Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.
 void generateEditor(Monitor progressMonitor)
          Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.
 void generatePackageSerialization(Monitor progressMonitor)
          Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.
 void generateSchema()
          Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.
 void generateSchema(Monitor progressMonitor)
          Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.
 void generateTests(Monitor progressMonitor)
          Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.
protected  void generateXSD(String type)
          Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.
 String getActionBarContributorClassName()
           
 List getAdapterDelegatePackages()
           
 List getAdapterDelegateSuperClasses()
           
 String getAdapterFactoryClassName()
           
 String getAdapterFactoryDelegateName(GenPackage genDelegate)
           
 List getAllAnnotations()
           
 List getAllGenDataTypes()
           
 List getAllGenFeatures()
           
 List getAllNestedAnnotations(EAnnotation eAnnotation)
           
 List getAllSwitchGenClasses()
           
 List getAllValidatorBaseGenPackages()
           
 String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
           
 String getAnnotationSourceIdentifier(String annotationSource)
           
 List getAnnotationSources()
           
 String getBasePackage()
          Returns the value of the 'Base Package' attribute
 String getBasePackageGen()
           
 String getCapPackageID()
           
 String getClassifierID(GenClassifier genClassifier)
           
 int getClassifierValue(GenClassifier genClassifier)
           
 String getClassPackageName()
           
 String getClassPackageSuffix()
           
 String getClassUniqueName(GenClass genClass)
           
 GenClass getDocumentRoot()
           
 EModelElement getEcoreModelElement()
           
 EPackage getEcorePackage()
           
 String getEditorClassName()
           
 String getEditorPluginClassName()
           
 String getEditPluginClassName()
           
 String getExampleClassName()
           
 String getFactoryClassName()
           
 String getFactoryInstanceName()
           
 String getFactoryInterfaceName()
           
 List getFilteredAllGenFeatures()
           
 EList getGenClasses()
           
 EList getGenClassifiers()
           
 EList getGenDataTypes()
           
 EList getGenEnums()
           
 GenModel getGenModel()
          Returns the value of the 'Gen Model' container reference.
 GenModel getGenModelGen()
           
 String getImportedActionBarContributorClassName()
           
 String getImportedAdapterFactoryClassName()
           
 String getImportedEditorClassName()
           
 String getImportedEditorPluginClassName()
           
 String getImportedEditPluginClassName()
           
 String getImportedFactoryClassName()
           
 String getImportedFactoryInterfaceName()
           
 String getImportedItemProviderAdapterFactoryClassName()
           
 String getImportedModelWizardClassName()
           
 String getImportedPackageClassName()
           
 String getImportedPackageInterfaceName()
           
 String getImportedResourceBaseClassName()
           
 String getImportedResourceClassName()
           
 String getImportedResourceFactoryBaseClassName()
           
 String getImportedResourceFactoryClassName()
           
 String getImportedTestSuiteClassName()
           
 String getImportedValidatorClassName()
           
 String getImportedXMLProcessorBaseClassName()
           
 String getInterfacePackageName()
           
 String getInterfacePackageSuffix()
           
 String getItemProviderAdapterFactoryClassName()
           
 List getJavaLangConflicts()
           
 int getLocalClassifierIndex(GenClassifier genClassifier)
           
 String getMetaDataPackageSuffix()
           
 String getModelIconFileName()
           
 String getModelInfo()
           
 String getModelWizardClassName()
           
 String getModelWizardIconFileName()
           
 String getName()
           
 EList getNestedGenPackages()
           
 String getNSName()
           
 String getNSURI()
           
 List getOrderedGenClasses()
          Returns the list of GenClasses in the GenPackage, ordered such that a class always follows all of the classes it extends.
 List getOrderedGenClassifiers()
           
 List getPackageBuildInterDependencies()
           
 String getPackageClassName()
           
 String getPackageID()
           
 List getPackageInitializationDependencies()
           
 String getPackageInstanceVariable(GenPackage genPackage)
           
 List getPackageInterDependencies()
           
 String getPackageInterfaceName()
           
 List getPackageLoadInterDependencies()
           
 String getPackageName()
           
 List getPackageSimpleDependencies()
           
 String getPrefix()
          Returns the value of the 'Prefix' attribute
protected  String getPrefixedName(String name)
           
 String getPrefixGen()
           
 String getPresentationPackageName()
           
 String getPresentationPackageSuffix()
           
 String getProviderPackageName()
           
 String getProviderPackageSuffix()
           
 List getProviderSupportedTypes()
           
 String getQualifiedActionBarContributorClassName()
           
 String getQualifiedAdapterFactoryClassName()
           
 String getQualifiedEditorClassName()
           
 String getQualifiedEditorPluginClassName()
           
 String getQualifiedEditPluginClassName()
           
 String getQualifiedEFactoryInstanceAccessor()
           
 String getQualifiedEFactoryInternalInstanceAccessor()
           
 String getQualifiedExampleClassName()
           
 String getQualifiedFactoryClassName()
           
 String getQualifiedFactoryInstanceAccessor()
           
 String getQualifiedFactoryInterfaceName()
           
 String getQualifiedItemProviderAdapterFactoryClassName()
           
 String getQualifiedModelWizardClassName()
           
 String getQualifiedPackageClassName()
           
 String getQualifiedPackageInterfaceName()
           
 String getQualifiedPackageName()
           
protected  String getQualifiedPackageName(String suffix)
           
 String getQualifiedResourceClassName()
           
 String getQualifiedResourceFactoryClassName()
           
 String getQualifiedSwitchClassName()
           
 String getQualifiedTestSuiteClassName()
           
 String getQualifiedValidatorClassName()
           
 String getQualifiedXMLProcessorClassName()
           
 String getReflectionClassPackageName()
           
 String getReflectionPackageName()
           
 GenResourceKind getResource()
           
 String getResourceClassName()
           
 String getResourceFactoryClassName()
           
 GenClass getRootClass()
           
 GenFeature getRootFeature()
           
 GenPackage getRootGenPackage()
          Returns the top-most GenPackage-typed container for which hasClassifiers() is true, which may be this GenPackage, itself.
 String getSerializedPackageFilename()
           
 List getSubGenPackages()
          Returns a list of those nestedGenPackages for which hasClassifiers() is true.
 GenPackage getSuperGenPackage()
          Returns the closest GenPackage-typed container for which hasClassifiers() is true, or null if there is none.
 String getSwitchClassName()
           
 String getTestsPackageName()
           
 String getTestsPackageSuffix()
           
 String getTestSuiteClassName()
           
 String getUncapAdapterFactoryClassName()
           
 String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
           
 String getUncapFactoryInterfaceName()
           
 String getUncapPackageInterfaceName()
           
 String getUtilitiesPackageName()
           
 String getUtilityPackageSuffix()
           
 String getValidatorClassName()
           
 String getValidatorPackageUniqueSafeName(GenPackage genPackage)
           
 String getXMLProcessorClassName()
           
 boolean hasClassifiers()
           
 boolean hasClassifiers(boolean traverseNestedPackages)
           
 boolean hasConcreteClasses()
           
 boolean hasConstraints()
           
 boolean hasDocumentRoot()
           
 boolean hasExtendedMetaData()
           
protected static boolean hasExtendedMetaData(EPackage ePackage)
           
 boolean hasInterfaceImplConflict()
           
 boolean hasJavaLangConflict()
           
protected  boolean hasModelContribution()
           
 boolean hasStatefulProvider()
           
 boolean hasTargetNamespace()
           
 boolean hasTests()
           
 boolean hasXMLMap()
           
 void initialize(EPackage ePackage)
           
 boolean isAdapterFactory()
           
protected  boolean isBigModel()
           
 boolean isDataTypeConverters()
           
 boolean isDisposableProviderFactory()
           
 boolean isEcorePackage()
           
 boolean isGenerateExampleClass()
           
 boolean isLiteralsInterface()
           
 boolean isLoadedInitialization()
          Returns true if this package's root, which may be itself, requires, or has a subpackage that requires, load initialization.
 boolean isLoadingInitialization()
          Returns true if this is a root package that requires, or has a direct or indirect subpackage that requires, load initialization.
 boolean isLoadInitialization()
           
 boolean isMultipleEditorPages()
           
 void prepareCache()
          Create helpers to cache and supply information for unique naming.
 boolean reconcile()
           
 boolean reconcile(GenPackage oldGenPackageVersion)
           
protected  void reconcileSettings(GenPackage oldGenPackageVersion)
           
 void setAdapterFactory(boolean newAdapterFactory)
           
 void setBasePackage(String newBasePackage)
           
 void setClassPackageSuffix(String newClassPackageSuffix)
           
 void setDataTypeConverters(boolean newDataTypeConverters)
           
 void setDisposableProviderFactory(boolean newDisposableProviderFactory)
           
 void setEcorePackage(EPackage newEcorePackage)
           
 void setGenerateExampleClass(boolean newGenerateExampleClass)
           
 void setGenModel(GenModel newGenModel)
           
 void setInterfacePackageSuffix(String newInterfacePackageSuffix)
           
 void setLiteralsInterface(boolean newLiteralsInterface)
           
 void setLoadInitialization(boolean newLoadInitialization)
           
 void setMetaDataPackageSuffix(String newMetaDataPackageSuffix)
           
 void setMultipleEditorPages(boolean newMultipleEditorPages)
           
 void setPrefix(String newPrefix)
           
 void setPresentationPackageSuffix(String newPresentationPackageSuffix)
           
 void setProviderPackageSuffix(String newProviderPackageSuffix)
           
 void setResource(GenResourceKind newResource)
           
 void setTestsPackageSuffix(String newTestsPackageSuffix)
           
 void setUtilityPackageSuffix(String newUtilityPackageSuffix)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
addNonDuplicates, appendAnnotationInfo, appendAnnotationInfo, appendAnnotationInfo, appendLineBreak, appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, capName, collectGenClasses, collectGenConstraints, collectGenFeatures, collectGenOperations, createInputStream, createMonitor, createOutputStream, eObjectForURIFragmentSegment, escapeString, eURIFragmentSegment, exists, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenOperation, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, format, formatCode, gen, gen, genEdit, genEditor, generate, generate, generate, generate, generate, generate, generateEdit, generateEditor, generateSchema, generateTests, genSchema, genTests, getAllGenPackages, getAnnotationInfo, getAnnotationInfo, getContents, getDocumentation, getDocumentation, getEffectiveEObjectType, getEffectiveFeatureMapWrapperInterface, getEffectiveListType, getEffectiveMapType, getEncoding, getExtendedMetaData, getGenAnnotation, getGenAnnotations, getImplClassName, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, indent, isBlank, isEffectiveSuppressEMFTypes, isJavaUtilMapEntry, isPrimitiveType, isReadOnly, parseName, reconcileGenAnnotations, safeName, setImportManager, setOverwriteable, uncapName, uncapPrefixedName, uncapPrefixedName, unicodeEscapeEncode
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase
canGenerate, canGenerateEdit, canGenerateEditor, capName, format, gen, genEdit, genEditor, generate, generateEdit, generateEditor, generateSchema, generateTests, genSchema, genTests, getDocumentation, getGenAnnotation, getGenAnnotations, hasDocumentation, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

XSD2ECORE_URI

protected static final String XSD2ECORE_URI
See Also:
Constant Field Values

PREFIX_EDEFAULT

protected static final String PREFIX_EDEFAULT
The default value of the 'Prefix' attribute.

See Also:
getPrefix()

prefix

protected String prefix
The cached value of the 'Prefix' attribute.

See Also:
getPrefix()

BASE_PACKAGE_EDEFAULT

protected static final String BASE_PACKAGE_EDEFAULT
The default value of the 'Base Package' attribute.

See Also:
getBasePackage()

basePackage

protected String basePackage
The cached value of the 'Base Package' attribute.

See Also:
getBasePackage()

RESOURCE_EDEFAULT

protected static final GenResourceKind RESOURCE_EDEFAULT
The default value of the 'Resource' attribute.

See Also:
getResource()

resource

protected GenResourceKind resource
The cached value of the 'Resource' attribute.

See Also:
getResource()

DISPOSABLE_PROVIDER_FACTORY_EDEFAULT

protected static final boolean DISPOSABLE_PROVIDER_FACTORY_EDEFAULT
The default value of the 'Disposable Provider Factory' attribute.

See Also:
isDisposableProviderFactory(), Constant Field Values

disposableProviderFactory

protected boolean disposableProviderFactory
The cached value of the 'Disposable Provider Factory' attribute.

See Also:
isDisposableProviderFactory()

ADAPTER_FACTORY_EDEFAULT

protected static final boolean ADAPTER_FACTORY_EDEFAULT
The default value of the 'Adapter Factory' attribute.

See Also:
isAdapterFactory(), Constant Field Values

adapterFactory

protected boolean adapterFactory
The cached value of the 'Adapter Factory' attribute.

See Also:
isAdapterFactory()

LOAD_INITIALIZATION_EDEFAULT

protected static final boolean LOAD_INITIALIZATION_EDEFAULT
The default value of the 'Load Initialization' attribute.

See Also:
isLoadInitialization(), Constant Field Values

loadInitialization

protected boolean loadInitialization
The cached value of the 'Load Initialization' attribute.

See Also:
isLoadInitialization()

INTERFACE_PACKAGE_SUFFIX_EDEFAULT

protected static final String INTERFACE_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Interface Package Suffix' attribute.

See Also:
getInterfacePackageSuffix(), Constant Field Values

interfacePackageSuffix

protected String interfacePackageSuffix
The cached value of the 'Interface Package Suffix' attribute.

See Also:
getInterfacePackageSuffix()

META_DATA_PACKAGE_SUFFIX_EDEFAULT

protected static final String META_DATA_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Meta Data Package Suffix' attribute.

See Also:
getMetaDataPackageSuffix(), Constant Field Values

metaDataPackageSuffix

protected String metaDataPackageSuffix
The cached value of the 'Meta Data Package Suffix' attribute.

See Also:
getMetaDataPackageSuffix()

CLASS_PACKAGE_SUFFIX_EDEFAULT

protected static final String CLASS_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Class Package Suffix' attribute.

See Also:
getClassPackageSuffix(), Constant Field Values

classPackageSuffix

protected String classPackageSuffix
The cached value of the 'Class Package Suffix' attribute.

See Also:
getClassPackageSuffix()

UTILITY_PACKAGE_SUFFIX_EDEFAULT

protected static final String UTILITY_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Utility Package Suffix' attribute.

See Also:
getUtilityPackageSuffix(), Constant Field Values

utilityPackageSuffix

protected String utilityPackageSuffix
The cached value of the 'Utility Package Suffix' attribute.

See Also:
getUtilityPackageSuffix()

PROVIDER_PACKAGE_SUFFIX_EDEFAULT

protected static final String PROVIDER_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Provider Package Suffix' attribute.

See Also:
getProviderPackageSuffix(), Constant Field Values

providerPackageSuffix

protected String providerPackageSuffix
The cached value of the 'Provider Package Suffix' attribute.

See Also:
getProviderPackageSuffix()

PRESENTATION_PACKAGE_SUFFIX_EDEFAULT

protected static final String PRESENTATION_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Presentation Package Suffix' attribute.

See Also:
getPresentationPackageSuffix(), Constant Field Values

presentationPackageSuffix

protected String presentationPackageSuffix
The cached value of the 'Presentation Package Suffix' attribute.

See Also:
getPresentationPackageSuffix()

TESTS_PACKAGE_SUFFIX_EDEFAULT

protected static final String TESTS_PACKAGE_SUFFIX_EDEFAULT
The default value of the 'Tests Package Suffix' attribute.

See Also:
getTestsPackageSuffix(), Constant Field Values

testsPackageSuffix

protected String testsPackageSuffix
The cached value of the 'Tests Package Suffix' attribute.

See Also:
getTestsPackageSuffix()

GENERATE_EXAMPLE_CLASS_EDEFAULT

protected static final boolean GENERATE_EXAMPLE_CLASS_EDEFAULT
The default value of the 'Generate Example Class' attribute.

See Also:
isGenerateExampleClass(), Constant Field Values

generateExampleClass

protected boolean generateExampleClass
The cached value of the 'Generate Example Class' attribute.

See Also:
isGenerateExampleClass()

LITERALS_INTERFACE_EDEFAULT

protected static final boolean LITERALS_INTERFACE_EDEFAULT
The default value of the 'Literals Interface' attribute.

See Also:
isLiteralsInterface(), Constant Field Values

literalsInterface

protected boolean literalsInterface
The cached value of the 'Literals Interface' attribute.

See Also:
isLiteralsInterface()

DATA_TYPE_CONVERTERS_EDEFAULT

protected static final boolean DATA_TYPE_CONVERTERS_EDEFAULT
The default value of the 'Data Type Converters' attribute.

See Also:
isDataTypeConverters(), Constant Field Values

dataTypeConverters

protected boolean dataTypeConverters
The cached value of the 'Data Type Converters' attribute.

See Also:
isDataTypeConverters()

MULTIPLE_EDITOR_PAGES_EDEFAULT

protected static final boolean MULTIPLE_EDITOR_PAGES_EDEFAULT
The default value of the 'Multiple Editor Pages' attribute.

See Also:
isMultipleEditorPages(), Constant Field Values

multipleEditorPages

protected boolean multipleEditorPages
The cached value of the 'Multiple Editor Pages' attribute.

See Also:
isMultipleEditorPages()

ecorePackage

protected EPackage ecorePackage
The cached value of the 'Ecore Package' reference.

See Also:
getEcorePackage()

genEnums

protected EList genEnums
The cached value of the 'Gen Enums' containment reference list.

See Also:
getGenEnums()

genDataTypes

protected EList genDataTypes
The cached value of the 'Gen Data Types' containment reference list.

See Also:
getGenDataTypes()

genClasses

protected EList genClasses
The cached value of the 'Gen Classes' containment reference list.

See Also:
getGenClasses()

nestedGenPackages

protected EList nestedGenPackages
The cached value of the 'Nested Gen Packages' containment reference list.

See Also:
getNestedGenPackages()

NO_CONSTRAINTS

protected static final boolean NO_CONSTRAINTS
Constructor Detail

GenPackageImpl

protected GenPackageImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class GenBaseImpl

getPrefixGen

public String getPrefixGen()


getPrefix

public String getPrefix()
Description copied from interface: GenPackage
Returns the value of the 'Prefix' attribute.

If the meaning of the 'Prefix' attribute isn't clear, there really should be more of a description here...

Specified by:
getPrefix in interface GenPackage
Returns:
the value of the 'Prefix' attribute.
See Also:
GenPackage.setPrefix(String), GenModelPackage.getGenPackage_Prefix()

setPrefix

public void setPrefix(String newPrefix)

Specified by:
setPrefix in interface GenPackage
Parameters:
newPrefix - the new value of the 'Prefix' attribute.
See Also:
GenPackage.getPrefix()

getBasePackageGen

public String getBasePackageGen()


getBasePackage

public String getBasePackage()
Description copied from interface: GenPackage
Returns the value of the 'Base Package' attribute.

If the meaning of the 'Base Package' attribute isn't clear, there really should be more of a description here...

Specified by:
getBasePackage in interface GenPackage
Returns:
the value of the 'Base Package' attribute.
See Also:
GenPackage.setBasePackage(String), GenModelPackage.getGenPackage_BasePackage()

setBasePackage

public void setBasePackage(String newBasePackage)

Specified by:
setBasePackage in interface GenPackage
Parameters:
newBasePackage - the new value of the 'Base Package' attribute.
See Also:
GenPackage.getBasePackage()

getResource

public GenResourceKind getResource()

Specified by:
getResource in interface GenPackage
Returns:
the value of the 'Resource' attribute.
See Also:
GenResourceKind, GenPackage.setResource(GenResourceKind), GenModelPackage.getGenPackage_Resource()

setResource

public void setResource(GenResourceKind newResource)

Specified by:
setResource in interface GenPackage
Parameters:
newResource - the new value of the 'Resource' attribute.
See Also:
GenResourceKind, GenPackage.getResource()

isDisposableProviderFactory

public boolean isDisposableProviderFactory()

Specified by:
isDisposableProviderFactory in interface GenPackage
Returns:
the value of the 'Disposable Provider Factory' attribute.
See Also:
GenPackage.setDisposableProviderFactory(boolean), GenModelPackage.getGenPackage_DisposableProviderFactory()

setDisposableProviderFactory

public void setDisposableProviderFactory(boolean newDisposableProviderFactory)

Specified by:
setDisposableProviderFactory in interface GenPackage
Parameters:
newDisposableProviderFactory - the new value of the 'Disposable Provider Factory' attribute.
See Also:
GenPackage.isDisposableProviderFactory()

isAdapterFactory

public boolean isAdapterFactory()

Specified by:
isAdapterFactory in interface GenPackage
Returns:
the value of the 'Adapter Factory' attribute.
See Also:
GenPackage.setAdapterFactory(boolean), GenModelPackage.getGenPackage_AdapterFactory()

setAdapterFactory

public void setAdapterFactory(boolean newAdapterFactory)

Specified by:
setAdapterFactory in interface GenPackage
Parameters:
newAdapterFactory - the new value of the 'Adapter Factory' attribute.
See Also:
GenPackage.isAdapterFactory()

isLoadInitialization

public boolean isLoadInitialization()

Specified by:
isLoadInitialization in interface GenPackage
Returns:
the value of the 'Load Initialization' attribute.
See Also:
GenPackage.setLoadInitialization(boolean), GenModelPackage.getGenPackage_LoadInitialization()

setLoadInitialization

public void setLoadInitialization(boolean newLoadInitialization)

Specified by:
setLoadInitialization in interface GenPackage
Parameters:
newLoadInitialization - the new value of the 'Load Initialization' attribute.
See Also:
GenPackage.isLoadInitialization()

getInterfacePackageSuffix

public String getInterfacePackageSuffix()

Specified by:
getInterfacePackageSuffix in interface GenPackage
Returns:
the value of the 'Interface Package Suffix' attribute.
See Also:
GenPackage.setInterfacePackageSuffix(String), GenModelPackage.getGenPackage_InterfacePackageSuffix()

setInterfacePackageSuffix

public void setInterfacePackageSuffix(String newInterfacePackageSuffix)

Specified by:
setInterfacePackageSuffix in interface GenPackage
Parameters:
newInterfacePackageSuffix - the new value of the 'Interface Package Suffix' attribute.
See Also:
GenPackage.getInterfacePackageSuffix()

getMetaDataPackageSuffix

public String getMetaDataPackageSuffix()

Specified by:
getMetaDataPackageSuffix in interface GenPackage
Returns:
the value of the 'Meta Data Package Suffix' attribute.
See Also:
GenPackage.setMetaDataPackageSuffix(String), GenModelPackage.getGenPackage_MetaDataPackageSuffix()

setMetaDataPackageSuffix

public void setMetaDataPackageSuffix(String newMetaDataPackageSuffix)

Specified by:
setMetaDataPackageSuffix in interface GenPackage
Parameters:
newMetaDataPackageSuffix - the new value of the 'Meta Data Package Suffix' attribute.
See Also:
GenPackage.getMetaDataPackageSuffix()

getClassPackageSuffix

public String getClassPackageSuffix()

Specified by:
getClassPackageSuffix in interface GenPackage
Returns:
the value of the 'Class Package Suffix' attribute.
See Also:
GenPackage.setClassPackageSuffix(String), GenModelPackage.getGenPackage_ClassPackageSuffix()

setClassPackageSuffix

public void setClassPackageSuffix(String newClassPackageSuffix)

Specified by:
setClassPackageSuffix in interface GenPackage
Parameters:
newClassPackageSuffix - the new value of the 'Class Package Suffix' attribute.
See Also:
GenPackage.getClassPackageSuffix()

getUtilityPackageSuffix

public String getUtilityPackageSuffix()

Specified by:
getUtilityPackageSuffix in interface GenPackage
Returns:
the value of the 'Utility Package Suffix' attribute.
See Also:
GenPackage.setUtilityPackageSuffix(String), GenModelPackage.getGenPackage_UtilityPackageSuffix()

setUtilityPackageSuffix

public void setUtilityPackageSuffix(String newUtilityPackageSuffix)

Specified by:
setUtilityPackageSuffix in interface GenPackage
Parameters:
newUtilityPackageSuffix - the new value of the 'Utility Package Suffix' attribute.
See Also:
GenPackage.getUtilityPackageSuffix()

getProviderPackageSuffix

public String getProviderPackageSuffix()

Specified by:
getProviderPackageSuffix in interface GenPackage
Returns:
the value of the 'Provider Package Suffix' attribute.
See Also:
GenPackage.setProviderPackageSuffix(String), GenModelPackage.getGenPackage_ProviderPackageSuffix()

setProviderPackageSuffix

public void setProviderPackageSuffix(String newProviderPackageSuffix)

Specified by:
setProviderPackageSuffix in interface GenPackage
Parameters:
newProviderPackageSuffix - the new value of the 'Provider Package Suffix' attribute.
See Also:
GenPackage.getProviderPackageSuffix()

getPresentationPackageSuffix

public String getPresentationPackageSuffix()

Specified by:
getPresentationPackageSuffix in interface GenPackage
Returns:
the value of the 'Presentation Package Suffix' attribute.
See Also:
GenPackage.setPresentationPackageSuffix(String), GenModelPackage.getGenPackage_PresentationPackageSuffix()

setPresentationPackageSuffix

public void setPresentationPackageSuffix(String newPresentationPackageSuffix)

Specified by:
setPresentationPackageSuffix in interface GenPackage
Parameters:
newPresentationPackageSuffix - the new value of the 'Presentation Package Suffix' attribute.
See Also:
GenPackage.getPresentationPackageSuffix()

getTestsPackageSuffix

public String getTestsPackageSuffix()

Specified by:
getTestsPackageSuffix in interface GenPackage
Returns:
the value of the 'Tests Package Suffix' attribute.
See Also:
GenPackage.setTestsPackageSuffix(String), GenModelPackage.getGenPackage_TestsPackageSuffix()

setTestsPackageSuffix

public void setTestsPackageSuffix(String newTestsPackageSuffix)

Specified by:
setTestsPackageSuffix in interface GenPackage
Parameters:
newTestsPackageSuffix - the new value of the 'Tests Package Suffix' attribute.
See Also:
GenPackage.getTestsPackageSuffix()

isGenerateExampleClass

public boolean isGenerateExampleClass()

Specified by:
isGenerateExampleClass in interface GenPackage
Returns:
the value of the 'Generate Example Class' attribute.
See Also:
GenPackage.setGenerateExampleClass(boolean), GenModelPackage.getGenPackage_GenerateExampleClass()

setGenerateExampleClass

public void setGenerateExampleClass(boolean newGenerateExampleClass)

Specified by:
setGenerateExampleClass in interface GenPackage
Parameters:
newGenerateExampleClass - the new value of the 'Generate Example Class' attribute.
See Also:
GenPackage.isGenerateExampleClass()

isLiteralsInterface

public boolean isLiteralsInterface()

Specified by:
isLiteralsInterface in interface GenPackage
Returns:
the value of the 'Literals Interface' attribute.
See Also:
GenPackage.setLiteralsInterface(boolean), GenModelPackage.getGenPackage_LiteralsInterface()

setLiteralsInterface

public void setLiteralsInterface(boolean newLiteralsInterface)

Specified by:
setLiteralsInterface in interface GenPackage
Parameters:
newLiteralsInterface - the new value of the 'Literals Interface' attribute.
See Also:
GenPackage.isLiteralsInterface()

isDataTypeConverters

public boolean isDataTypeConverters()

Specified by:
isDataTypeConverters in interface GenPackage
Returns:
the value of the 'Data Type Converters' attribute.
See Also:
GenPackage.setDataTypeConverters(boolean), GenModelPackage.getGenPackage_DataTypeConverters()

setDataTypeConverters

public void setDataTypeConverters(boolean newDataTypeConverters)

Specified by:
setDataTypeConverters in interface GenPackage
Parameters:
newDataTypeConverters - the new value of the 'Data Type Converters' attribute.
See Also:
GenPackage.isDataTypeConverters()

isMultipleEditorPages

public boolean isMultipleEditorPages()

Specified by:
isMultipleEditorPages in interface GenPackage
Returns:
the value of the 'Multiple Editor Pages' attribute.
See Also:
GenPackage.setMultipleEditorPages(boolean), GenModelPackage.getGenPackage_MultipleEditorPages()

setMultipleEditorPages

public void setMultipleEditorPages(boolean newMultipleEditorPages)

Specified by:
setMultipleEditorPages in interface GenPackage
Parameters:
newMultipleEditorPages - the new value of the 'Multiple Editor Pages' attribute.
See Also:
GenPackage.isMultipleEditorPages()

getEcoreModelElement

public EModelElement getEcoreModelElement()
Specified by:
getEcoreModelElement in interface GenBase
Overrides:
getEcoreModelElement in class GenBaseImpl

getEcorePackage

public EPackage getEcorePackage()

Specified by:
getEcorePackage in interface GenPackage
Returns:
the value of the 'Ecore Package' reference.
See Also:
GenPackage.setEcorePackage(EPackage), GenModelPackage.getGenPackage_EcorePackage()

basicGetEcorePackage

public EPackage basicGetEcorePackage()


setEcorePackage

public void setEcorePackage(EPackage newEcorePackage)

Specified by:
setEcorePackage in interface GenPackage
Parameters:
newEcorePackage - the new value of the 'Ecore Package' reference.
See Also:
GenPackage.getEcorePackage()

getGenModel

public GenModel getGenModel()
Description copied from interface: GenPackage
Returns the value of the 'Gen Model' container reference. It is bidirectional and its opposite is 'Gen Packages'.

If the meaning of the 'Gen Model' reference isn't clear, there really should be more of a description here...

Specified by:
getGenModel in interface GenPackage
Overrides:
getGenModel in class GenBaseImpl

getGenModelGen

public GenModel getGenModelGen()


basicSetGenModel

public NotificationChain basicSetGenModel(GenModel newGenModel,
                                          NotificationChain msgs)


setGenModel

public void setGenModel(GenModel newGenModel)

Specified by:
setGenModel in interface GenPackage
Parameters:
newGenModel - the new value of the 'Gen Model' container reference.
See Also:
GenPackage.getGenModel()

getGenEnums

public EList getGenEnums()

Specified by:
getGenEnums in interface GenPackage
Returns:
the value of the 'Gen Enums' containment reference list.
See Also:
GenModelPackage.getGenPackage_GenEnums()

getGenDataTypes

public EList getGenDataTypes()

Specified by:
getGenDataTypes in interface GenPackage
Returns:
the value of the 'Gen Data Types' containment reference list.
See Also:
GenModelPackage.getGenPackage_GenDataTypes()

getGenClasses

public EList getGenClasses()

Specified by:
getGenClasses in interface GenPackage
Returns:
the value of the 'Gen Classes' containment reference list.
See Also:
GenModelPackage.getGenPackage_GenClasses()

getNestedGenPackages

public EList getNestedGenPackages()

Specified by:
getNestedGenPackages in interface GenPackage
Returns:
the value of the 'Nested Gen Packages' containment reference list.
See Also:
GenModelPackage.getGenPackage_NestedGenPackages()

getGenClassifiers

public EList getGenClassifiers()

Specified by:
getGenClassifiers in interface GenPackage
Returns:
the value of the 'Gen Classifiers' reference list.
See Also:
GenModelPackage.getGenPackage_GenClassifiers(), GenClassifier.getGenPackage()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class GenBaseImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class GenBaseImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class GenBaseImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class GenBaseImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class GenBaseImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class GenBaseImpl

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl

getName

public String getName()
Specified by:
getName in class GenBaseImpl

getPackageName

public String getPackageName()
Specified by:
getPackageName in interface GenPackage

getInterfacePackageName

public String getInterfacePackageName()
Specified by:
getInterfacePackageName in interface GenPackage

getReflectionPackageName

public String getReflectionPackageName()
Specified by:
getReflectionPackageName in interface GenPackage

getReflectionClassPackageName

public String getReflectionClassPackageName()
Specified by:
getReflectionClassPackageName in interface GenPackage

getClassPackageName

public String getClassPackageName()
Specified by:
getClassPackageName in interface GenPackage

getUtilitiesPackageName

public String getUtilitiesPackageName()
Specified by:
getUtilitiesPackageName in interface GenPackage

getTestsPackageName

public String getTestsPackageName()
Specified by:
getTestsPackageName in interface GenPackage

getPackageID

public String getPackageID()

getNSName

public String getNSName()
Specified by:
getNSName in interface GenPackage

getNSURI

public String getNSURI()
Specified by:
getNSURI in interface GenPackage

getPackageInterfaceName

public String getPackageInterfaceName()
Specified by:
getPackageInterfaceName in interface GenPackage

getQualifiedPackageInterfaceName

public String getQualifiedPackageInterfaceName()
Specified by:
getQualifiedPackageInterfaceName in interface GenPackage

getImportedPackageInterfaceName

public String getImportedPackageInterfaceName()
Specified by:
getImportedPackageInterfaceName in interface GenPackage

getUncapPackageInterfaceName

public String getUncapPackageInterfaceName()
Specified by:
getUncapPackageInterfaceName in interface GenPackage

getPackageClassName

public String getPackageClassName()
Specified by:
getPackageClassName in interface GenPackage

getQualifiedPackageClassName

public String getQualifiedPackageClassName()
Specified by:
getQualifiedPackageClassName in interface GenPackage

getImportedPackageClassName

public String getImportedPackageClassName()
Specified by:
getImportedPackageClassName in interface GenPackage

getFactoryInterfaceName

public String getFactoryInterfaceName()
Specified by:
getFactoryInterfaceName in interface GenPackage

getQualifiedFactoryInterfaceName

public String getQualifiedFactoryInterfaceName()
Specified by:
getQualifiedFactoryInterfaceName in interface GenPackage

getImportedFactoryInterfaceName

public String getImportedFactoryInterfaceName()
Specified by:
getImportedFactoryInterfaceName in interface GenPackage

getUncapFactoryInterfaceName

public String getUncapFactoryInterfaceName()
Specified by:
getUncapFactoryInterfaceName in interface GenPackage

getFactoryClassName

public String getFactoryClassName()
Specified by:
getFactoryClassName in interface GenPackage

getQualifiedFactoryClassName

public String getQualifiedFactoryClassName()
Specified by:
getQualifiedFactoryClassName in interface GenPackage

getImportedFactoryClassName

public String getImportedFactoryClassName()
Specified by:
getImportedFactoryClassName in interface GenPackage

getFactoryInstanceName

public String getFactoryInstanceName()
Specified by:
getFactoryInstanceName in interface GenPackage

getQualifiedFactoryInstanceAccessor

public String getQualifiedFactoryInstanceAccessor()
Specified by:
getQualifiedFactoryInstanceAccessor in interface GenPackage

getQualifiedEFactoryInstanceAccessor

public String getQualifiedEFactoryInstanceAccessor()
Specified by:
getQualifiedEFactoryInstanceAccessor in interface GenPackage

getQualifiedEFactoryInternalInstanceAccessor

public String getQualifiedEFactoryInternalInstanceAccessor()
Specified by:
getQualifiedEFactoryInternalInstanceAccessor in interface GenPackage

getAdapterFactoryClassName

public String getAdapterFactoryClassName()
Specified by:
getAdapterFactoryClassName in interface GenPackage

getQualifiedAdapterFactoryClassName

public String getQualifiedAdapterFactoryClassName()
Specified by:
getQualifiedAdapterFactoryClassName in interface GenPackage

getImportedAdapterFactoryClassName

public String getImportedAdapterFactoryClassName()
Specified by:
getImportedAdapterFactoryClassName in interface GenPackage

getUncapAdapterFactoryClassName

public String getUncapAdapterFactoryClassName()
Specified by:
getUncapAdapterFactoryClassName in interface GenPackage

getSwitchClassName

public String getSwitchClassName()
Specified by:
getSwitchClassName in interface GenPackage

getQualifiedSwitchClassName

public String getQualifiedSwitchClassName()
Specified by:
getQualifiedSwitchClassName in interface GenPackage

getTestSuiteClassName

public String getTestSuiteClassName()
Specified by:
getTestSuiteClassName in interface GenPackage

getQualifiedTestSuiteClassName

public String getQualifiedTestSuiteClassName()
Specified by:
getQualifiedTestSuiteClassName in interface GenPackage

getImportedTestSuiteClassName

public String getImportedTestSuiteClassName()
Specified by:
getImportedTestSuiteClassName in interface GenPackage

getExampleClassName

public String getExampleClassName()
Specified by:
getExampleClassName in interface GenPackage

getQualifiedExampleClassName

public String getQualifiedExampleClassName()
Specified by:
getQualifiedExampleClassName in interface GenPackage

hasConstraints

public boolean hasConstraints()
Specified by:
hasConstraints in interface GenPackage

getValidatorClassName

public String getValidatorClassName()
Specified by:
getValidatorClassName in interface GenPackage

getQualifiedValidatorClassName

public String getQualifiedValidatorClassName()
Specified by:
getQualifiedValidatorClassName in interface GenPackage

getImportedValidatorClassName

public String getImportedValidatorClassName()
Specified by:
getImportedValidatorClassName in interface GenPackage

getImportedXMLProcessorBaseClassName

public String getImportedXMLProcessorBaseClassName()
Specified by:
getImportedXMLProcessorBaseClassName in interface GenPackage

getQualifiedXMLProcessorClassName

public String getQualifiedXMLProcessorClassName()
Specified by:
getQualifiedXMLProcessorClassName in interface GenPackage

getXMLProcessorClassName

public String getXMLProcessorClassName()
Specified by:
getXMLProcessorClassName in interface GenPackage

getPrefixedName

protected String getPrefixedName(String name)

getAllGenDataTypes

public List getAllGenDataTypes()
Specified by:
getAllGenDataTypes in interface GenPackage

getOrderedGenClasses

public List getOrderedGenClasses()
Description copied from interface: GenPackage
Returns the list of GenClasses in the GenPackage, ordered such that a class always follows all of the classes it extends. Appropriate for use in package interface to declare feature constants, which will depend on (and hence must follow) constants for the extended class.

Specified by:
getOrderedGenClasses in interface GenPackage

getOrderedGenClassifiers

public List getOrderedGenClassifiers()
Specified by:
getOrderedGenClassifiers in interface GenPackage

getClassifierID

public String getClassifierID(GenClassifier genClassifier)
Specified by:
getClassifierID in interface GenPackage

getClassifierValue

public int getClassifierValue(GenClassifier genClassifier)
Specified by:
getClassifierValue in interface GenPackage

getLocalClassifierIndex

public int getLocalClassifierIndex(GenClassifier genClassifier)
Specified by:
getLocalClassifierIndex in interface GenPackage

getPackageSimpleDependencies

public List getPackageSimpleDependencies()
Specified by:
getPackageSimpleDependencies in interface GenPackage

getPackageInterDependencies

public List getPackageInterDependencies()
Specified by:
getPackageInterDependencies in interface GenPackage

getPackageLoadInterDependencies

public List getPackageLoadInterDependencies()
Specified by:
getPackageLoadInterDependencies in interface GenPackage

getPackageBuildInterDependencies

public List getPackageBuildInterDependencies()
Specified by:
getPackageBuildInterDependencies in interface GenPackage

getPackageInitializationDependencies

public List getPackageInitializationDependencies()
Specified by:
getPackageInitializationDependencies in interface GenPackage

getPackageInstanceVariable

public String getPackageInstanceVariable(GenPackage genPackage)
Specified by:
getPackageInstanceVariable in interface GenPackage

collectPackages

protected void collectPackages(List result,
                               List genPackages,
                               int depth)
Collects into result nested GenPackages to the specified depth, not counting those without classifiers (for which nothing is ever generated); -1 for no limit.


getSubGenPackages

public List getSubGenPackages()
Description copied from interface: GenPackage
Returns a list of those nestedGenPackages for which hasClassifiers() is true.

Specified by:
getSubGenPackages in interface GenPackage

getSuperGenPackage

public GenPackage getSuperGenPackage()
Description copied from interface: GenPackage
Returns the closest GenPackage-typed container for which hasClassifiers() is true, or null if there is none.

Specified by:
getSuperGenPackage in interface GenPackage

getRootGenPackage

public GenPackage getRootGenPackage()
Description copied from interface: GenPackage
Returns the top-most GenPackage-typed container for which hasClassifiers() is true, which may be this GenPackage, itself.

Specified by:
getRootGenPackage in interface GenPackage

isLoadingInitialization

public boolean isLoadingInitialization()
Description copied from interface: GenPackage
Returns true if this is a root package that requires, or has a direct or indirect subpackage that requires, load initialization.

Specified by:
isLoadingInitialization in interface GenPackage

isLoadedInitialization

public boolean isLoadedInitialization()
Description copied from interface: GenPackage
Returns true if this package's root, which may be itself, requires, or has a subpackage that requires, load initialization.

Specified by:
isLoadedInitialization in interface GenPackage

isEcorePackage

public boolean isEcorePackage()
Specified by:
isEcorePackage in interface GenPackage

hasJavaLangConflict

public boolean hasJavaLangConflict()
Specified by:
hasJavaLangConflict in interface GenPackage

getJavaLangConflicts

public List getJavaLangConflicts()
Specified by:
getJavaLangConflicts in interface GenPackage

hasInterfaceImplConflict

public boolean hasInterfaceImplConflict()
Specified by:
hasInterfaceImplConflict in interface GenPackage

getAllSwitchGenClasses

public List getAllSwitchGenClasses()
Specified by:
getAllSwitchGenClasses in interface GenPackage

getClassUniqueName

public String getClassUniqueName(GenClass genClass)
Specified by:
getClassUniqueName in interface GenPackage

getAllValidatorBaseGenPackages

public List getAllValidatorBaseGenPackages()
Specified by:
getAllValidatorBaseGenPackages in interface GenPackage

getValidatorPackageUniqueSafeName

public String getValidatorPackageUniqueSafeName(GenPackage genPackage)
Specified by:
getValidatorPackageUniqueSafeName in interface GenPackage

initialize

public void initialize(EPackage ePackage)
Specified by:
initialize in interface GenPackage

hasModelContribution

protected boolean hasModelContribution()
Overrides:
hasModelContribution in class GenBaseImpl

generate

public void generate(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.

Specified by:
generate in interface GenBase
Overrides:
generate in class GenBaseImpl

prepareCache

public void prepareCache()
Create helpers to cache and supply information for unique naming.

Specified by:
prepareCache in interface GenPackage

clearCache

public void clearCache()
Clear the cache for unique naming information.

Specified by:
clearCache in interface GenPackage

generateSchema

public void generateSchema()
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.

Specified by:
generateSchema in interface GenPackage

canGenerateSchema

public boolean canGenerateSchema()
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.

Specified by:
canGenerateSchema in interface GenBase
Overrides:
canGenerateSchema in class GenBaseImpl

generateSchema

public void generateSchema(Monitor progressMonitor)
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.

Specified by:
generateSchema in interface GenBase
Overrides:
generateSchema in class GenBaseImpl

generateXSD

protected void generateXSD(String type)
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.


generatePackageSerialization

public void generatePackageSerialization(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.


getProviderPackageName

public String getProviderPackageName()
Specified by:
getProviderPackageName in interface GenPackage

getPresentationPackageName

public String getPresentationPackageName()
Specified by:
getPresentationPackageName in interface GenPackage

getQualifiedPackageName

protected String getQualifiedPackageName(String suffix)

getQualifiedPackageName

public String getQualifiedPackageName()
Specified by:
getQualifiedPackageName in interface GenPackage

getItemProviderAdapterFactoryClassName

public String getItemProviderAdapterFactoryClassName()
Specified by:
getItemProviderAdapterFactoryClassName in interface GenPackage

getQualifiedItemProviderAdapterFactoryClassName

public String getQualifiedItemProviderAdapterFactoryClassName()
Specified by:
getQualifiedItemProviderAdapterFactoryClassName in interface GenPackage

getImportedItemProviderAdapterFactoryClassName

public String getImportedItemProviderAdapterFactoryClassName()
Specified by:
getImportedItemProviderAdapterFactoryClassName in interface GenPackage

getEditorClassName

public String getEditorClassName()
Specified by:
getEditorClassName in interface GenPackage

getQualifiedEditorClassName

public String getQualifiedEditorClassName()
Specified by:
getQualifiedEditorClassName in interface GenPackage

getImportedEditorClassName

public String getImportedEditorClassName()
Specified by:
getImportedEditorClassName in interface GenPackage

getModelWizardClassName

public String getModelWizardClassName()
Specified by:
getModelWizardClassName in interface GenPackage

getQualifiedModelWizardClassName

public String getQualifiedModelWizardClassName()
Specified by:
getQualifiedModelWizardClassName in interface GenPackage

getImportedModelWizardClassName

public String getImportedModelWizardClassName()
Specified by:
getImportedModelWizardClassName in interface GenPackage

getActionBarContributorClassName

public String getActionBarContributorClassName()
Specified by:
getActionBarContributorClassName in interface GenPackage

getQualifiedActionBarContributorClassName

public String getQualifiedActionBarContributorClassName()
Specified by:
getQualifiedActionBarContributorClassName in interface GenPackage

getImportedActionBarContributorClassName

public String getImportedActionBarContributorClassName()
Specified by:
getImportedActionBarContributorClassName in interface GenPackage

getAdapterFactoryDelegateName

public String getAdapterFactoryDelegateName(GenPackage genDelegate)
Specified by:
getAdapterFactoryDelegateName in interface GenPackage

getUncapAdapterFactoryDelegateName

public String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
Specified by:
getUncapAdapterFactoryDelegateName in interface GenPackage

getEditPluginClassName

public String getEditPluginClassName()
Specified by:
getEditPluginClassName in interface GenPackage

getQualifiedEditPluginClassName

public String getQualifiedEditPluginClassName()
Specified by:
getQualifiedEditPluginClassName in interface GenPackage

getImportedEditPluginClassName

public String getImportedEditPluginClassName()
Specified by:
getImportedEditPluginClassName in interface GenPackage

getEditorPluginClassName

public String getEditorPluginClassName()
Specified by:
getEditorPluginClassName in interface GenPackage

getQualifiedEditorPluginClassName

public String getQualifiedEditorPluginClassName()
Specified by:
getQualifiedEditorPluginClassName in interface GenPackage

getImportedEditorPluginClassName

public String getImportedEditorPluginClassName()
Specified by:
getImportedEditorPluginClassName in interface GenPackage

getCapPackageID

public String getCapPackageID()

getAllGenFeatures

public List getAllGenFeatures()
Specified by:
getAllGenFeatures in interface GenPackage

getFilteredAllGenFeatures

public List getFilteredAllGenFeatures()

getAdapterDelegatePackages

public List getAdapterDelegatePackages()
Specified by:
getAdapterDelegatePackages in interface GenPackage

getAdapterDelegateSuperClasses

public List getAdapterDelegateSuperClasses()
Specified by:
getAdapterDelegateSuperClasses in interface GenPackage

hasStatefulProvider

public boolean hasStatefulProvider()
Specified by:
hasStatefulProvider in interface GenPackage

generateEdit

public void generateEdit(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.

Specified by:
generateEdit in interface GenBase
Overrides:
generateEdit in class GenBaseImpl

generateEditor

public void generateEditor(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.

Specified by:
generateEditor in interface GenBase
Overrides:
generateEditor in class GenBaseImpl

hasTests

public boolean hasTests()
Specified by:
hasTests in interface GenPackage

canGenerateTests

public boolean canGenerateTests()
Specified by:
canGenerateTests in interface GenBase
Overrides:
canGenerateTests in class GenBaseImpl

generateTests

public void generateTests(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code. This method will be removed after 2.2.

Specified by:
generateTests in interface GenBase
Overrides:
generateTests in class GenBaseImpl

getModelIconFileName

public String getModelIconFileName()
Specified by:
getModelIconFileName in interface GenPackage

getModelWizardIconFileName

public String getModelWizardIconFileName()
Specified by:
getModelWizardIconFileName in interface GenPackage

hasClassifiers

public boolean hasClassifiers()
Specified by:
hasClassifiers in interface GenPackage

hasClassifiers

public boolean hasClassifiers(boolean traverseNestedPackages)
Specified by:
hasClassifiers in interface GenPackage

getModelInfo

public String getModelInfo()
Specified by:
getModelInfo in interface GenPackage
Overrides:
getModelInfo in class GenBaseImpl

reconcile

public boolean reconcile(GenPackage oldGenPackageVersion)
Specified by:
reconcile in interface GenPackage

reconcileSettings

protected void reconcileSettings(GenPackage oldGenPackageVersion)

reconcile

public boolean reconcile()
Specified by:
reconcile in interface GenBase

getAnnotationSources

public List getAnnotationSources()
Specified by:
getAnnotationSources in interface GenPackage

getAnnotationSourceIdentifier

public String getAnnotationSourceIdentifier(String annotationSource)
Specified by:
getAnnotationSourceIdentifier in interface GenPackage

getAllAnnotations

public List getAllAnnotations()
Specified by:
getAllAnnotations in interface GenPackage

getAnnotatedModelElementAccessor

public String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
Specified by:
getAnnotatedModelElementAccessor in interface GenPackage

getAllNestedAnnotations

public List getAllNestedAnnotations(EAnnotation eAnnotation)
Specified by:
getAllNestedAnnotations in interface GenPackage

getResourceClassName

public String getResourceClassName()
Specified by:
getResourceClassName in interface GenPackage

getQualifiedResourceClassName

public String getQualifiedResourceClassName()
Specified by:
getQualifiedResourceClassName in interface GenPackage

getImportedResourceClassName

public String getImportedResourceClassName()
Specified by:
getImportedResourceClassName in interface GenPackage

getImportedResourceBaseClassName

public String getImportedResourceBaseClassName()
Specified by:
getImportedResourceBaseClassName in interface GenPackage

getResourceFactoryClassName

public String getResourceFactoryClassName()
Specified by:
getResourceFactoryClassName in interface GenPackage

getQualifiedResourceFactoryClassName

public String getQualifiedResourceFactoryClassName()
Specified by:
getQualifiedResourceFactoryClassName in interface GenPackage

getImportedResourceFactoryClassName

public String getImportedResourceFactoryClassName()
Specified by:
getImportedResourceFactoryClassName in interface GenPackage

getImportedResourceFactoryBaseClassName

public String getImportedResourceFactoryBaseClassName()
Specified by:
getImportedResourceFactoryBaseClassName in interface GenPackage

hasDocumentRoot

public boolean hasDocumentRoot()
Specified by:
hasDocumentRoot in interface GenPackage

getDocumentRoot

public GenClass getDocumentRoot()
Specified by:
getDocumentRoot in interface GenPackage

hasExtendedMetaData

public boolean hasExtendedMetaData()
Specified by:
hasExtendedMetaData in interface GenPackage

hasExtendedMetaData

protected static boolean hasExtendedMetaData(EPackage ePackage)

hasXMLMap

public boolean hasXMLMap()
Specified by:
hasXMLMap in interface GenPackage

hasTargetNamespace

public boolean hasTargetNamespace()
Specified by:
hasTargetNamespace in interface GenPackage

getSerializedPackageFilename

public String getSerializedPackageFilename()
Specified by:
getSerializedPackageFilename in interface GenPackage

isBigModel

protected boolean isBigModel()

getProviderSupportedTypes

public List getProviderSupportedTypes()
Specified by:
getProviderSupportedTypes in interface GenPackage

getRootClass

public GenClass getRootClass()
Specified by:
getRootClass in interface GenPackage

getRootFeature

public GenFeature getRootFeature()
Specified by:
getRootFeature in interface GenPackage

hasConcreteClasses

public boolean hasConcreteClasses()
Specified by:
hasConcreteClasses in interface GenPackage

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.