|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl org.eclipse.emf.codegen.ecore.genmodel.impl.GenPackageImpl
public class GenPackageImpl
An implementation of the model object 'Gen Package'.
The following features are implemented:
Prefix
Base Package
Resource
Disposable Provider Factory
Adapter Factory
Load Initialization
Interface Package Suffix
Meta Data Package Suffix
Class Package Suffix
Utility Package Suffix
Provider Package Suffix
Presentation Package Suffix
Tests Package Suffix
Generate Example Class
Literals Interface
Data Type Converters
Multiple Editor Pages
Generate Model Wizard
Extensible Provider Factory
Child Creation Extenders
Content Type Identifier
File Extensions
Ecore Package
Gen Model
Gen Enums
Gen Data Types
Gen Classes
Nested Gen Packages
Gen Classifiers
Nested Class Summary |
---|
Nested classes/interfaces 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/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface 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 java.lang.String |
BASE_PACKAGE_EDEFAULT
The default value of the ' Base Package ' attribute |
protected java.lang.String |
basePackage
The cached value of the ' Base Package ' attribute |
protected static boolean |
CHILD_CREATION_EXTENDERS_EDEFAULT
The default value of the ' Child Creation Extenders ' attribute |
protected boolean |
childCreationExtenders
The cached value of the ' Child Creation Extenders ' attribute |
protected static java.lang.String |
CLASS_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Class Package Suffix ' attribute |
protected java.lang.String |
classPackageSuffix
The cached value of the ' Class Package Suffix ' attribute |
protected static java.lang.String |
CONTENT_TYPE_IDENTIFIER_EDEFAULT
The default value of the ' Content Type Identifier ' attribute |
protected java.lang.String |
contentTypeIdentifier
The cached value of the ' Content Type Identifier ' 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 static boolean |
EXTENSIBLE_PROVIDER_FACTORY_EDEFAULT
The default value of the ' Extensible Provider Factory ' attribute |
protected boolean |
extensibleProviderFactory
The cached value of the ' Extensible Provider Factory ' attribute |
protected static java.lang.String |
FILE_EXTENSIONS_EDEFAULT
The default value of the ' File Extensions ' attribute |
protected java.lang.String |
fileExtensions
The cached value of the ' File Extensions ' attribute |
protected EList<GenClass> |
genClasses
The cached value of the ' Gen Classes ' containment reference list |
protected EList<GenDataType> |
genDataTypes
The cached value of the ' Gen Data Types ' containment reference list |
protected EList<GenEnum> |
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 static boolean |
GENERATE_MODEL_WIZARD_EDEFAULT
The default value of the ' Generate Model Wizard ' attribute |
protected boolean |
generateExampleClass
The cached value of the ' Generate Example Class ' attribute |
protected boolean |
generateModelWizard
The cached value of the ' Generate Model Wizard ' attribute |
protected static java.lang.String |
INTERFACE_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Interface Package Suffix ' attribute |
protected java.lang.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 java.lang.String |
META_DATA_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Meta Data Package Suffix ' attribute |
protected java.lang.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<GenPackage> |
nestedGenPackages
The cached value of the ' Nested Gen Packages ' containment reference list |
protected static boolean |
NO_CONSTRAINTS
|
protected java.lang.String |
prefix
The cached value of the ' Prefix ' attribute |
protected static java.lang.String |
PREFIX_EDEFAULT
The default value of the ' Prefix ' attribute |
protected static java.lang.String |
PRESENTATION_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Presentation Package Suffix ' attribute |
protected java.lang.String |
presentationPackageSuffix
The cached value of the ' Presentation Package Suffix ' attribute |
protected static java.lang.String |
PROVIDER_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Provider Package Suffix ' attribute |
protected java.lang.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 java.lang.String |
TESTS_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Tests Package Suffix ' attribute |
protected java.lang.String |
testsPackageSuffix
The cached value of the ' Tests Package Suffix ' attribute |
protected static java.lang.String |
UTILITY_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Utility Package Suffix ' attribute |
protected java.lang.String |
utilityPackageSuffix
The cached value of the ' Utility Package Suffix ' attribute |
protected static java.lang.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(java.util.List<GenPackage> result,
java.util.List<GenPackage> 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)
|
java.lang.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,
java.lang.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(java.lang.String type)
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2. |
java.lang.String |
getActionBarContributorClassName()
|
java.util.List<GenPackage> |
getAdapterDelegatePackages()
|
java.util.List<GenClass> |
getAdapterDelegateSuperClasses()
|
java.lang.String |
getAdapterFactoryClassName()
|
java.lang.String |
getAdapterFactoryDelegateName(GenPackage genDelegate)
|
java.util.List<EAnnotation> |
getAllAnnotations()
|
java.util.List<GenDataType> |
getAllGenDataTypes()
|
java.util.List<GenFeature> |
getAllGenFeatures()
|
java.util.List<EAnnotation> |
getAllNestedAnnotations(EAnnotation eAnnotation)
|
java.util.List<GenClass> |
getAllSwitchGenClasses()
|
java.util.List<GenPackage> |
getAllValidatorBaseGenPackages()
|
java.lang.String |
getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
|
java.lang.String |
getAnnotationSourceIdentifier(java.lang.String annotationSource)
|
java.util.List<java.lang.String> |
getAnnotationSources()
|
java.lang.String |
getBasePackage()
Returns the value of the 'Base Package' attribute |
java.lang.String |
getBasePackageGen()
|
java.lang.String |
getBasicPackageName()
Returns the name of the single package class generated when interfaces are suppressed. |
java.lang.String |
getCapPackageID()
|
java.lang.String |
getChildCreationExtenderName(GenPackage genPackage)
|
java.lang.String |
getClassifierID(GenClassifier genClassifier)
|
int |
getClassifierValue(GenClassifier genClassifier)
|
java.lang.String |
getClassPackageName()
|
java.lang.String |
getClassPackageSuffix()
|
java.lang.String |
getClassUniqueName(GenClass genClass)
|
java.lang.String |
getContentTypeIdentifier()
|
GenClass |
getDocumentRoot()
|
EModelElement |
getEcoreModelElement()
|
EPackage |
getEcorePackage()
|
java.lang.String |
getEditorClassName()
|
java.lang.String |
getEditorPluginClassName()
|
java.lang.String |
getEditPluginClassName()
|
java.lang.String |
getExampleClassName()
|
java.util.Map<GenPackage,java.util.Map<GenClass,java.util.List<GenClass.ChildCreationData>>> |
getExtendedChildCreationData()
Returns a nested map structure describing the child creation extensions that this package provides to other packages. |
java.lang.String |
getFactoryClassName()
|
java.lang.String |
getFactoryInstanceName()
|
java.lang.String |
getFactoryInterfaceName()
|
java.lang.String |
getFactoryName()
Returns the name of the single factory class generated when interfaces are suppressed. |
java.lang.String |
getFileExtension()
Returns the first file extension in the comma-separated list. |
java.lang.String |
getFileExtensions()
Returns the value of the 'File Extensions' attribute |
java.lang.String |
getFileExtensionsGen()
|
java.util.List<GenFeature> |
getFilteredAllGenFeatures()
|
EList<GenClass> |
getGenClasses()
|
EList<GenClassifier> |
getGenClassifiers()
|
EList<GenDataType> |
getGenDataTypes()
|
EList<GenEnum> |
getGenEnums()
|
GenModel |
getGenModel()
Returns the value of the 'Gen Model' container reference. |
GenModel |
getGenModelGen()
Deprecated. |
java.lang.String |
getImportedActionBarContributorClassName()
|
java.lang.String |
getImportedAdapterFactoryClassName()
|
java.lang.String |
getImportedEditorClassName()
|
java.lang.String |
getImportedEditorPluginClassName()
|
java.lang.String |
getImportedEditPluginClassName()
|
java.lang.String |
getImportedFactoryClassName()
|
java.lang.String |
getImportedFactoryInterfaceName()
|
java.lang.String |
getImportedItemProviderAdapterFactoryClassName()
|
java.lang.String |
getImportedModelWizardClassName()
|
java.lang.String |
getImportedPackageClassName()
|
java.lang.String |
getImportedPackageInterfaceName()
|
java.lang.String |
getImportedResourceBaseClassName()
|
java.lang.String |
getImportedResourceClassName()
|
java.lang.String |
getImportedResourceFactoryBaseClassName()
|
java.lang.String |
getImportedResourceFactoryClassName()
|
java.lang.String |
getImportedTestSuiteClassName()
|
java.lang.String |
getImportedValidatorClassName()
|
java.lang.String |
getImportedXMLProcessorBaseClassName()
|
java.lang.String |
getInterfacePackageName()
|
java.lang.String |
getInterfacePackageSuffix()
|
java.lang.String |
getItemProviderAdapterFactoryClassName()
|
java.util.List<java.lang.String> |
getJavaLangConflicts()
|
int |
getLocalClassifierIndex(GenClassifier genClassifier)
|
java.lang.String |
getMetaDataPackageSuffix()
|
java.lang.String |
getModelIconFileName()
|
java.lang.String |
getModelInfo()
|
java.lang.String |
getModelWizardClassName()
|
java.lang.String |
getModelWizardIconFileName()
|
java.lang.String |
getName()
|
EList<GenPackage> |
getNestedGenPackages()
|
java.lang.String |
getNSName()
|
java.lang.String |
getNSURI()
|
java.util.List<GenClass> |
getOrderedGenClasses()
Returns the list of GenClasses in the GenPackage, ordered such that a class always follows all of the classes it extends. |
java.util.List<GenClassifier> |
getOrderedGenClassifiers()
|
java.util.List<GenPackage> |
getPackageBuildInterDependencies()
|
java.lang.String |
getPackageClassName()
|
java.lang.String |
getPackageID()
|
java.util.List<GenPackage> |
getPackageInitializationDependencies()
|
java.lang.String |
getPackageInstanceVariable(GenPackage genPackage)
|
java.util.List<GenPackage> |
getPackageInterDependencies()
|
java.lang.String |
getPackageInterfaceName()
|
java.util.List<GenPackage> |
getPackageLoadInterDependencies()
|
java.lang.String |
getPackageName()
|
java.util.List<GenPackage> |
getPackageSimpleDependencies()
|
java.lang.String |
getPrefix()
Returns the value of the 'Prefix' attribute |
protected java.lang.String |
getPrefixedName(java.lang.String name)
|
java.lang.String |
getPrefixGen()
|
java.lang.String |
getPresentationPackageName()
|
java.lang.String |
getPresentationPackageSuffix()
|
java.lang.String |
getProviderPackageName()
|
java.lang.String |
getProviderPackageSuffix()
|
java.util.List<java.lang.String> |
getProviderSupportedTypes()
|
java.lang.String |
getQualifiedActionBarContributorClassName()
|
java.lang.String |
getQualifiedAdapterFactoryClassName()
|
java.lang.String |
getQualifiedContentTypeIdentifier()
Returns the qualified content type identifier. |
java.lang.String |
getQualifiedEditorClassName()
|
java.lang.String |
getQualifiedEditorPluginClassName()
|
java.lang.String |
getQualifiedEditPluginClassName()
|
java.lang.String |
getQualifiedEFactoryInstanceAccessor()
|
java.lang.String |
getQualifiedEFactoryInternalInstanceAccessor()
|
java.lang.String |
getQualifiedEffectiveResourceFactoryClassName()
Returns the package's resource factory class name , or the framework's
default XMI resource factory class name if no resource will be generated for the package. |
java.lang.String |
getQualifiedExampleClassName()
|
java.lang.String |
getQualifiedFactoryClassName()
|
java.lang.String |
getQualifiedFactoryInstanceAccessor()
|
java.lang.String |
getQualifiedFactoryInterfaceName()
|
java.lang.String |
getQualifiedItemProviderAdapterFactoryClassName()
|
java.lang.String |
getQualifiedModelWizardClassName()
|
java.lang.String |
getQualifiedPackageClassName()
|
java.lang.String |
getQualifiedPackageInterfaceName()
|
java.lang.String |
getQualifiedPackageName()
|
protected java.lang.String |
getQualifiedPackageName(java.lang.String suffix)
|
java.lang.String |
getQualifiedResourceClassName()
|
java.lang.String |
getQualifiedResourceFactoryClassName()
|
java.lang.String |
getQualifiedSwitchClassName()
|
java.lang.String |
getQualifiedTestSuiteClassName()
|
java.lang.String |
getQualifiedValidatorClassName()
|
java.lang.String |
getQualifiedXMLProcessorClassName()
|
java.lang.String |
getReflectionClassPackageName()
|
java.lang.String |
getReflectionPackageName()
|
GenResourceKind |
getResource()
|
java.lang.String |
getResourceClassName()
|
java.lang.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. |
java.lang.String |
getSerializedPackageFilename()
|
java.util.List<GenPackage> |
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. |
java.lang.String |
getSwitchClassName()
|
java.lang.String |
getTestsPackageName()
|
java.lang.String |
getTestsPackageSuffix()
|
java.lang.String |
getTestSuiteClassName()
|
java.lang.String |
getUncapAdapterFactoryClassName()
|
java.lang.String |
getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
|
java.lang.String |
getUncapFactoryInterfaceName()
|
java.lang.String |
getUncapFactoryName()
|
java.lang.String |
getUncapPackageInterfaceName()
|
java.lang.String |
getUncapPackageName()
|
java.lang.String |
getUtilitiesPackageName()
|
java.lang.String |
getUtilityPackageSuffix()
|
java.lang.String |
getValidatorClassName()
|
java.lang.String |
getValidatorPackageUniqueSafeName(GenPackage genPackage)
|
java.lang.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 |
isChildCreationExtenders()
|
boolean |
isContentType()
Returns whether the package should define a content type. |
boolean |
isDataTypeConverters()
|
boolean |
isDisposableProviderFactory()
|
boolean |
isEcorePackage()
|
boolean |
isExtensibleProviderFactory()
|
boolean |
isGenerateExampleClass()
|
boolean |
isGenerateModelWizard()
|
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()
|
boolean |
isMultipleFileExtensions()
Returns whether the model supports multiple file extensions, based both on the specified extensions and the use of a content type . |
boolean |
isXMIResource()
Returns whether the package's resource produces an XMI serialization. |
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(java.lang.String newBasePackage)
|
void |
setChildCreationExtenders(boolean newChildCreationExtenders)
|
void |
setClassPackageSuffix(java.lang.String newClassPackageSuffix)
|
void |
setContentTypeIdentifier(java.lang.String newContentTypeIdentifier)
|
void |
setDataTypeConverters(boolean newDataTypeConverters)
|
void |
setDisposableProviderFactory(boolean newDisposableProviderFactory)
|
void |
setEcorePackage(EPackage newEcorePackage)
|
void |
setExtensibleProviderFactory(boolean newExtensibleProviderFactory)
|
void |
setFileExtensions(java.lang.String newFileExtensions)
|
void |
setGenerateExampleClass(boolean newGenerateExampleClass)
|
void |
setGenerateModelWizard(boolean newGenerateModelWizard)
|
void |
setGenModel(GenModel newGenModel)
|
void |
setInterfacePackageSuffix(java.lang.String newInterfacePackageSuffix)
|
void |
setLiteralsInterface(boolean newLiteralsInterface)
|
void |
setLoadInitialization(boolean newLoadInitialization)
|
void |
setMetaDataPackageSuffix(java.lang.String newMetaDataPackageSuffix)
|
void |
setMultipleEditorPages(boolean newMultipleEditorPages)
|
void |
setPrefix(java.lang.String newPrefix)
|
void |
setPresentationPackageSuffix(java.lang.String newPresentationPackageSuffix)
|
void |
setProviderPackageSuffix(java.lang.String newProviderPackageSuffix)
|
void |
setResource(GenResourceKind newResource)
|
void |
setTestsPackageSuffix(java.lang.String newTestsPackageSuffix)
|
void |
setUtilityPackageSuffix(java.lang.String newUtilityPackageSuffix)
|
java.lang.String |
toString()
|
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.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, getCopyright, getDocumentation, getGenAnnotation, getGenAnnotations, hasCopyright, 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 |
---|
protected static final java.lang.String XSD2ECORE_URI
protected static final java.lang.String PREFIX_EDEFAULT
Prefix
' attribute.
getPrefix()
protected java.lang.String prefix
Prefix
' attribute.
getPrefix()
protected static final java.lang.String BASE_PACKAGE_EDEFAULT
Base Package
' attribute.
getBasePackage()
protected java.lang.String basePackage
Base Package
' attribute.
getBasePackage()
protected static final GenResourceKind RESOURCE_EDEFAULT
Resource
' attribute.
getResource()
protected GenResourceKind resource
Resource
' attribute.
getResource()
protected static final boolean DISPOSABLE_PROVIDER_FACTORY_EDEFAULT
Disposable Provider Factory
' attribute.
isDisposableProviderFactory()
,
Constant Field Valuesprotected boolean disposableProviderFactory
Disposable Provider Factory
' attribute.
isDisposableProviderFactory()
protected static final boolean ADAPTER_FACTORY_EDEFAULT
Adapter Factory
' attribute.
isAdapterFactory()
,
Constant Field Valuesprotected boolean adapterFactory
Adapter Factory
' attribute.
isAdapterFactory()
protected static final boolean LOAD_INITIALIZATION_EDEFAULT
Load Initialization
' attribute.
isLoadInitialization()
,
Constant Field Valuesprotected boolean loadInitialization
Load Initialization
' attribute.
isLoadInitialization()
protected static final java.lang.String INTERFACE_PACKAGE_SUFFIX_EDEFAULT
Interface Package Suffix
' attribute.
getInterfacePackageSuffix()
,
Constant Field Valuesprotected java.lang.String interfacePackageSuffix
Interface Package Suffix
' attribute.
getInterfacePackageSuffix()
protected static final java.lang.String META_DATA_PACKAGE_SUFFIX_EDEFAULT
Meta Data Package Suffix
' attribute.
getMetaDataPackageSuffix()
,
Constant Field Valuesprotected java.lang.String metaDataPackageSuffix
Meta Data Package Suffix
' attribute.
getMetaDataPackageSuffix()
protected static final java.lang.String CLASS_PACKAGE_SUFFIX_EDEFAULT
Class Package Suffix
' attribute.
getClassPackageSuffix()
,
Constant Field Valuesprotected java.lang.String classPackageSuffix
Class Package Suffix
' attribute.
getClassPackageSuffix()
protected static final java.lang.String UTILITY_PACKAGE_SUFFIX_EDEFAULT
Utility Package Suffix
' attribute.
getUtilityPackageSuffix()
,
Constant Field Valuesprotected java.lang.String utilityPackageSuffix
Utility Package Suffix
' attribute.
getUtilityPackageSuffix()
protected static final java.lang.String PROVIDER_PACKAGE_SUFFIX_EDEFAULT
Provider Package Suffix
' attribute.
getProviderPackageSuffix()
,
Constant Field Valuesprotected java.lang.String providerPackageSuffix
Provider Package Suffix
' attribute.
getProviderPackageSuffix()
protected static final java.lang.String PRESENTATION_PACKAGE_SUFFIX_EDEFAULT
Presentation Package Suffix
' attribute.
getPresentationPackageSuffix()
,
Constant Field Valuesprotected java.lang.String presentationPackageSuffix
Presentation Package Suffix
' attribute.
getPresentationPackageSuffix()
protected static final java.lang.String TESTS_PACKAGE_SUFFIX_EDEFAULT
Tests Package Suffix
' attribute.
getTestsPackageSuffix()
,
Constant Field Valuesprotected java.lang.String testsPackageSuffix
Tests Package Suffix
' attribute.
getTestsPackageSuffix()
protected static final boolean GENERATE_EXAMPLE_CLASS_EDEFAULT
Generate Example Class
' attribute.
isGenerateExampleClass()
,
Constant Field Valuesprotected boolean generateExampleClass
Generate Example Class
' attribute.
isGenerateExampleClass()
protected static final boolean LITERALS_INTERFACE_EDEFAULT
Literals Interface
' attribute.
isLiteralsInterface()
,
Constant Field Valuesprotected boolean literalsInterface
Literals Interface
' attribute.
isLiteralsInterface()
protected static final boolean DATA_TYPE_CONVERTERS_EDEFAULT
Data Type Converters
' attribute.
isDataTypeConverters()
,
Constant Field Valuesprotected boolean dataTypeConverters
Data Type Converters
' attribute.
isDataTypeConverters()
protected static final boolean MULTIPLE_EDITOR_PAGES_EDEFAULT
Multiple Editor Pages
' attribute.
isMultipleEditorPages()
,
Constant Field Valuesprotected boolean multipleEditorPages
Multiple Editor Pages
' attribute.
isMultipleEditorPages()
protected static final boolean GENERATE_MODEL_WIZARD_EDEFAULT
Generate Model Wizard
' attribute.
isGenerateModelWizard()
,
Constant Field Valuesprotected boolean generateModelWizard
Generate Model Wizard
' attribute.
isGenerateModelWizard()
protected static final boolean EXTENSIBLE_PROVIDER_FACTORY_EDEFAULT
Extensible Provider Factory
' attribute.
isExtensibleProviderFactory()
,
Constant Field Valuesprotected boolean extensibleProviderFactory
Extensible Provider Factory
' attribute.
isExtensibleProviderFactory()
protected static final boolean CHILD_CREATION_EXTENDERS_EDEFAULT
Child Creation Extenders
' attribute.
isChildCreationExtenders()
,
Constant Field Valuesprotected boolean childCreationExtenders
Child Creation Extenders
' attribute.
isChildCreationExtenders()
protected static final java.lang.String CONTENT_TYPE_IDENTIFIER_EDEFAULT
Content Type Identifier
' attribute.
getContentTypeIdentifier()
protected java.lang.String contentTypeIdentifier
Content Type Identifier
' attribute.
getContentTypeIdentifier()
protected static final java.lang.String FILE_EXTENSIONS_EDEFAULT
File Extensions
' attribute.
getFileExtensions()
protected java.lang.String fileExtensions
File Extensions
' attribute.
getFileExtensions()
protected EPackage ecorePackage
Ecore Package
' reference.
getEcorePackage()
protected EList<GenEnum> genEnums
Gen Enums
' containment reference list.
getGenEnums()
protected EList<GenDataType> genDataTypes
Gen Data Types
' containment reference list.
getGenDataTypes()
protected EList<GenClass> genClasses
Gen Classes
' containment reference list.
getGenClasses()
protected EList<GenPackage> nestedGenPackages
Nested Gen Packages
' containment reference list.
getNestedGenPackages()
protected static final boolean NO_CONSTRAINTS
Constructor Detail |
---|
protected GenPackageImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class GenBaseImpl
public java.lang.String getPrefixGen()
public java.lang.String getPrefix()
GenPackage
getPrefix
in interface GenPackage
GenPackage.setPrefix(String)
,
GenModelPackage.getGenPackage_Prefix()
public void setPrefix(java.lang.String newPrefix)
setPrefix
in interface GenPackage
newPrefix
- the new value of the 'Prefix' attribute.GenPackage.getPrefix()
public java.lang.String getBasePackageGen()
public java.lang.String getBasePackage()
GenPackage
getBasePackage
in interface GenPackage
GenPackage.setBasePackage(String)
,
GenModelPackage.getGenPackage_BasePackage()
public void setBasePackage(java.lang.String newBasePackage)
setBasePackage
in interface GenPackage
newBasePackage
- the new value of the 'Base Package' attribute.GenPackage.getBasePackage()
public GenResourceKind getResource()
getResource
in interface GenPackage
GenResourceKind
,
GenPackage.setResource(GenResourceKind)
,
GenModelPackage.getGenPackage_Resource()
public void setResource(GenResourceKind newResource)
setResource
in interface GenPackage
newResource
- the new value of the 'Resource' attribute.GenResourceKind
,
GenPackage.getResource()
public boolean isDisposableProviderFactory()
isDisposableProviderFactory
in interface GenPackage
GenPackage.setDisposableProviderFactory(boolean)
,
GenModelPackage.getGenPackage_DisposableProviderFactory()
public void setDisposableProviderFactory(boolean newDisposableProviderFactory)
setDisposableProviderFactory
in interface GenPackage
newDisposableProviderFactory
- the new value of the 'Disposable Provider Factory' attribute.GenPackage.isDisposableProviderFactory()
public boolean isAdapterFactory()
isAdapterFactory
in interface GenPackage
GenPackage.setAdapterFactory(boolean)
,
GenModelPackage.getGenPackage_AdapterFactory()
public void setAdapterFactory(boolean newAdapterFactory)
setAdapterFactory
in interface GenPackage
newAdapterFactory
- the new value of the 'Adapter Factory' attribute.GenPackage.isAdapterFactory()
public boolean isLoadInitialization()
isLoadInitialization
in interface GenPackage
GenPackage.setLoadInitialization(boolean)
,
GenModelPackage.getGenPackage_LoadInitialization()
public void setLoadInitialization(boolean newLoadInitialization)
setLoadInitialization
in interface GenPackage
newLoadInitialization
- the new value of the 'Load Initialization' attribute.GenPackage.isLoadInitialization()
public java.lang.String getInterfacePackageSuffix()
getInterfacePackageSuffix
in interface GenPackage
GenPackage.setInterfacePackageSuffix(String)
,
GenModelPackage.getGenPackage_InterfacePackageSuffix()
public void setInterfacePackageSuffix(java.lang.String newInterfacePackageSuffix)
setInterfacePackageSuffix
in interface GenPackage
newInterfacePackageSuffix
- the new value of the 'Interface Package Suffix' attribute.GenPackage.getInterfacePackageSuffix()
public java.lang.String getMetaDataPackageSuffix()
getMetaDataPackageSuffix
in interface GenPackage
GenPackage.setMetaDataPackageSuffix(String)
,
GenModelPackage.getGenPackage_MetaDataPackageSuffix()
public void setMetaDataPackageSuffix(java.lang.String newMetaDataPackageSuffix)
setMetaDataPackageSuffix
in interface GenPackage
newMetaDataPackageSuffix
- the new value of the 'Meta Data Package Suffix' attribute.GenPackage.getMetaDataPackageSuffix()
public java.lang.String getClassPackageSuffix()
getClassPackageSuffix
in interface GenPackage
GenPackage.setClassPackageSuffix(String)
,
GenModelPackage.getGenPackage_ClassPackageSuffix()
public void setClassPackageSuffix(java.lang.String newClassPackageSuffix)
setClassPackageSuffix
in interface GenPackage
newClassPackageSuffix
- the new value of the 'Class Package Suffix' attribute.GenPackage.getClassPackageSuffix()
public java.lang.String getUtilityPackageSuffix()
getUtilityPackageSuffix
in interface GenPackage
GenPackage.setUtilityPackageSuffix(String)
,
GenModelPackage.getGenPackage_UtilityPackageSuffix()
public void setUtilityPackageSuffix(java.lang.String newUtilityPackageSuffix)
setUtilityPackageSuffix
in interface GenPackage
newUtilityPackageSuffix
- the new value of the 'Utility Package Suffix' attribute.GenPackage.getUtilityPackageSuffix()
public java.lang.String getProviderPackageSuffix()
getProviderPackageSuffix
in interface GenPackage
GenPackage.setProviderPackageSuffix(String)
,
GenModelPackage.getGenPackage_ProviderPackageSuffix()
public void setProviderPackageSuffix(java.lang.String newProviderPackageSuffix)
setProviderPackageSuffix
in interface GenPackage
newProviderPackageSuffix
- the new value of the 'Provider Package Suffix' attribute.GenPackage.getProviderPackageSuffix()
public java.lang.String getPresentationPackageSuffix()
getPresentationPackageSuffix
in interface GenPackage
GenPackage.setPresentationPackageSuffix(String)
,
GenModelPackage.getGenPackage_PresentationPackageSuffix()
public void setPresentationPackageSuffix(java.lang.String newPresentationPackageSuffix)
setPresentationPackageSuffix
in interface GenPackage
newPresentationPackageSuffix
- the new value of the 'Presentation Package Suffix' attribute.GenPackage.getPresentationPackageSuffix()
public java.lang.String getTestsPackageSuffix()
getTestsPackageSuffix
in interface GenPackage
GenPackage.setTestsPackageSuffix(String)
,
GenModelPackage.getGenPackage_TestsPackageSuffix()
public void setTestsPackageSuffix(java.lang.String newTestsPackageSuffix)
setTestsPackageSuffix
in interface GenPackage
newTestsPackageSuffix
- the new value of the 'Tests Package Suffix' attribute.GenPackage.getTestsPackageSuffix()
public boolean isGenerateExampleClass()
isGenerateExampleClass
in interface GenPackage
GenPackage.setGenerateExampleClass(boolean)
,
GenModelPackage.getGenPackage_GenerateExampleClass()
public void setGenerateExampleClass(boolean newGenerateExampleClass)
setGenerateExampleClass
in interface GenPackage
newGenerateExampleClass
- the new value of the 'Generate Example Class' attribute.GenPackage.isGenerateExampleClass()
public boolean isLiteralsInterface()
isLiteralsInterface
in interface GenPackage
GenPackage.setLiteralsInterface(boolean)
,
GenModelPackage.getGenPackage_LiteralsInterface()
public void setLiteralsInterface(boolean newLiteralsInterface)
setLiteralsInterface
in interface GenPackage
newLiteralsInterface
- the new value of the 'Literals Interface' attribute.GenPackage.isLiteralsInterface()
public boolean isDataTypeConverters()
isDataTypeConverters
in interface GenPackage
GenPackage.setDataTypeConverters(boolean)
,
GenModelPackage.getGenPackage_DataTypeConverters()
public void setDataTypeConverters(boolean newDataTypeConverters)
setDataTypeConverters
in interface GenPackage
newDataTypeConverters
- the new value of the 'Data Type Converters' attribute.GenPackage.isDataTypeConverters()
public boolean isMultipleEditorPages()
isMultipleEditorPages
in interface GenPackage
GenPackage.setMultipleEditorPages(boolean)
,
GenModelPackage.getGenPackage_MultipleEditorPages()
public void setMultipleEditorPages(boolean newMultipleEditorPages)
setMultipleEditorPages
in interface GenPackage
newMultipleEditorPages
- the new value of the 'Multiple Editor Pages' attribute.GenPackage.isMultipleEditorPages()
public boolean isGenerateModelWizard()
isGenerateModelWizard
in interface GenPackage
GenPackage.setGenerateModelWizard(boolean)
,
GenModelPackage.getGenPackage_GenerateModelWizard()
public void setGenerateModelWizard(boolean newGenerateModelWizard)
setGenerateModelWizard
in interface GenPackage
newGenerateModelWizard
- the new value of the 'Generate Model Wizard' attribute.GenPackage.isGenerateModelWizard()
public boolean isExtensibleProviderFactory()
isExtensibleProviderFactory
in interface GenPackage
GenPackage.setExtensibleProviderFactory(boolean)
,
GenModelPackage.getGenPackage_ExtensibleProviderFactory()
public void setExtensibleProviderFactory(boolean newExtensibleProviderFactory)
setExtensibleProviderFactory
in interface GenPackage
newExtensibleProviderFactory
- the new value of the 'Extensible Provider Factory' attribute.GenPackage.isExtensibleProviderFactory()
public boolean isChildCreationExtenders()
isChildCreationExtenders
in interface GenPackage
GenPackage.setChildCreationExtenders(boolean)
,
GenModelPackage.getGenPackage_ChildCreationExtenders()
public void setChildCreationExtenders(boolean newChildCreationExtenders)
setChildCreationExtenders
in interface GenPackage
newChildCreationExtenders
- the new value of the 'Child Creation Extenders' attribute.GenPackage.isChildCreationExtenders()
public java.lang.String getContentTypeIdentifier()
getContentTypeIdentifier
in interface GenPackage
GenPackage.setContentTypeIdentifier(String)
,
GenModelPackage.getGenPackage_ContentTypeIdentifier()
public void setContentTypeIdentifier(java.lang.String newContentTypeIdentifier)
setContentTypeIdentifier
in interface GenPackage
newContentTypeIdentifier
- the new value of the 'Content Type Identifier' attribute.GenPackage.getContentTypeIdentifier()
public java.lang.String getFileExtensionsGen()
public java.lang.String getFileExtensions()
GenPackage
The file extensions against which to register the resource factory for this package. Multiple extensions can be
specified as a comma-separated list, but only if this package defines a content type
.
This will always return a non-null string. The default (returned after the attribute is set to null) is based on
the GenPackage.getPrefix()
.
getFileExtensions
in interface GenPackage
GenPackage.setFileExtensions(String)
,
GenModelPackage.getGenPackage_FileExtensions()
public void setFileExtensions(java.lang.String newFileExtensions)
setFileExtensions
in interface GenPackage
newFileExtensions
- the new value of the 'File Extensions' attribute.GenPackage.getFileExtensions()
public EModelElement getEcoreModelElement()
getEcoreModelElement
in interface GenBase
getEcoreModelElement
in class GenBaseImpl
public EPackage getEcorePackage()
getEcorePackage
in interface GenPackage
GenPackage.setEcorePackage(EPackage)
,
GenModelPackage.getGenPackage_EcorePackage()
public EPackage basicGetEcorePackage()
public void setEcorePackage(EPackage newEcorePackage)
setEcorePackage
in interface GenPackage
newEcorePackage
- the new value of the 'Ecore Package' reference.GenPackage.getEcorePackage()
public GenModel getGenModel()
GenPackage
Gen Packages
'.
getGenModel
in interface GenBase
getGenModel
in interface GenPackage
getGenModel
in class GenBaseImpl
GenPackage.setGenModel(GenModel)
,
GenModelPackage.getGenPackage_GenModel()
,
GenModel.getGenPackages()
@Deprecated public GenModel getGenModelGen()
public NotificationChain basicSetGenModel(GenModel newGenModel, NotificationChain msgs)
public void setGenModel(GenModel newGenModel)
setGenModel
in interface GenPackage
newGenModel
- the new value of the 'Gen Model' container reference.GenPackage.getGenModel()
public EList<GenEnum> getGenEnums()
getGenEnums
in interface GenPackage
GenModelPackage.getGenPackage_GenEnums()
public EList<GenDataType> getGenDataTypes()
getGenDataTypes
in interface GenPackage
GenModelPackage.getGenPackage_GenDataTypes()
public EList<GenClass> getGenClasses()
getGenClasses
in interface GenPackage
GenModelPackage.getGenPackage_GenClasses()
public EList<GenPackage> getNestedGenPackages()
getNestedGenPackages
in interface GenPackage
GenModelPackage.getGenPackage_NestedGenPackages()
public EList<GenClassifier> getGenClassifiers()
getGenClassifiers
in interface GenPackage
GenModelPackage.getGenPackage_GenClassifiers()
,
GenClassifier.getGenPackage()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class GenBaseImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class GenBaseImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class GenBaseImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class GenBaseImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class GenBaseImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class GenBaseImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
public java.lang.String getName()
getName
in class GenBaseImpl
public java.lang.String getPackageName()
getPackageName
in interface GenPackage
public java.lang.String getInterfacePackageName()
getInterfacePackageName
in interface GenPackage
public java.lang.String getReflectionPackageName()
getReflectionPackageName
in interface GenPackage
public java.lang.String getReflectionClassPackageName()
getReflectionClassPackageName
in interface GenPackage
public java.lang.String getClassPackageName()
getClassPackageName
in interface GenPackage
public java.lang.String getUtilitiesPackageName()
getUtilitiesPackageName
in interface GenPackage
public java.lang.String getTestsPackageName()
getTestsPackageName
in interface GenPackage
public java.lang.String getPackageID()
public java.lang.String getNSName()
getNSName
in interface GenPackage
public java.lang.String getNSURI()
getNSURI
in interface GenPackage
public java.lang.String getBasicPackageName()
GenPackage
prefix
, with "Package" appended.
This method is analagous to GenPackage.getFactoryName()
and would be called
getPackageName()
if that name were not already taken.
getBasicPackageName
in interface GenPackage
public java.lang.String getUncapPackageName()
getUncapPackageName
in interface GenPackage
public java.lang.String getPackageInterfaceName()
getPackageInterfaceName
in interface GenPackage
public java.lang.String getQualifiedPackageInterfaceName()
getQualifiedPackageInterfaceName
in interface GenPackage
public java.lang.String getImportedPackageInterfaceName()
getImportedPackageInterfaceName
in interface GenPackage
public java.lang.String getUncapPackageInterfaceName()
getUncapPackageInterfaceName
in interface GenPackage
public java.lang.String getPackageClassName()
getPackageClassName
in interface GenPackage
public java.lang.String getQualifiedPackageClassName()
getQualifiedPackageClassName
in interface GenPackage
public java.lang.String getImportedPackageClassName()
getImportedPackageClassName
in interface GenPackage
public java.lang.String getFactoryName()
GenPackage
prefix
, with "Factory" appended.
getFactoryName
in interface GenPackage
public java.lang.String getUncapFactoryName()
getUncapFactoryName
in interface GenPackage
public java.lang.String getFactoryInterfaceName()
getFactoryInterfaceName
in interface GenPackage
public java.lang.String getQualifiedFactoryInterfaceName()
getQualifiedFactoryInterfaceName
in interface GenPackage
public java.lang.String getImportedFactoryInterfaceName()
getImportedFactoryInterfaceName
in interface GenPackage
public java.lang.String getUncapFactoryInterfaceName()
getUncapFactoryInterfaceName
in interface GenPackage
public java.lang.String getFactoryClassName()
getFactoryClassName
in interface GenPackage
public java.lang.String getQualifiedFactoryClassName()
getQualifiedFactoryClassName
in interface GenPackage
public java.lang.String getImportedFactoryClassName()
getImportedFactoryClassName
in interface GenPackage
public java.lang.String getFactoryInstanceName()
getFactoryInstanceName
in interface GenPackage
public java.lang.String getQualifiedFactoryInstanceAccessor()
getQualifiedFactoryInstanceAccessor
in interface GenPackage
public java.lang.String getQualifiedEFactoryInstanceAccessor()
getQualifiedEFactoryInstanceAccessor
in interface GenPackage
public java.lang.String getQualifiedEFactoryInternalInstanceAccessor()
getQualifiedEFactoryInternalInstanceAccessor
in interface GenPackage
public java.lang.String getAdapterFactoryClassName()
getAdapterFactoryClassName
in interface GenPackage
public java.lang.String getQualifiedAdapterFactoryClassName()
getQualifiedAdapterFactoryClassName
in interface GenPackage
public java.lang.String getImportedAdapterFactoryClassName()
getImportedAdapterFactoryClassName
in interface GenPackage
public java.lang.String getUncapAdapterFactoryClassName()
getUncapAdapterFactoryClassName
in interface GenPackage
public java.lang.String getSwitchClassName()
getSwitchClassName
in interface GenPackage
public java.lang.String getQualifiedSwitchClassName()
getQualifiedSwitchClassName
in interface GenPackage
public java.lang.String getTestSuiteClassName()
getTestSuiteClassName
in interface GenPackage
public java.lang.String getQualifiedTestSuiteClassName()
getQualifiedTestSuiteClassName
in interface GenPackage
public java.lang.String getImportedTestSuiteClassName()
getImportedTestSuiteClassName
in interface GenPackage
public java.lang.String getExampleClassName()
getExampleClassName
in interface GenPackage
public java.lang.String getQualifiedExampleClassName()
getQualifiedExampleClassName
in interface GenPackage
public boolean hasConstraints()
hasConstraints
in interface GenPackage
public java.lang.String getValidatorClassName()
getValidatorClassName
in interface GenPackage
public java.lang.String getQualifiedValidatorClassName()
getQualifiedValidatorClassName
in interface GenPackage
public java.lang.String getImportedValidatorClassName()
getImportedValidatorClassName
in interface GenPackage
public java.lang.String getImportedXMLProcessorBaseClassName()
getImportedXMLProcessorBaseClassName
in interface GenPackage
public java.lang.String getQualifiedXMLProcessorClassName()
getQualifiedXMLProcessorClassName
in interface GenPackage
public java.lang.String getXMLProcessorClassName()
getXMLProcessorClassName
in interface GenPackage
protected java.lang.String getPrefixedName(java.lang.String name)
public java.util.List<GenDataType> getAllGenDataTypes()
getAllGenDataTypes
in interface GenPackage
public java.util.List<GenClass> getOrderedGenClasses()
GenPackage
getOrderedGenClasses
in interface GenPackage
public java.util.List<GenClassifier> getOrderedGenClassifiers()
getOrderedGenClassifiers
in interface GenPackage
public java.lang.String getClassifierID(GenClassifier genClassifier)
getClassifierID
in interface GenPackage
public int getClassifierValue(GenClassifier genClassifier)
getClassifierValue
in interface GenPackage
public int getLocalClassifierIndex(GenClassifier genClassifier)
getLocalClassifierIndex
in interface GenPackage
public java.util.List<GenPackage> getPackageSimpleDependencies()
getPackageSimpleDependencies
in interface GenPackage
public java.util.List<GenPackage> getPackageInterDependencies()
getPackageInterDependencies
in interface GenPackage
public java.util.List<GenPackage> getPackageLoadInterDependencies()
getPackageLoadInterDependencies
in interface GenPackage
public java.util.List<GenPackage> getPackageBuildInterDependencies()
getPackageBuildInterDependencies
in interface GenPackage
public java.util.List<GenPackage> getPackageInitializationDependencies()
getPackageInitializationDependencies
in interface GenPackage
public java.lang.String getPackageInstanceVariable(GenPackage genPackage)
getPackageInstanceVariable
in interface GenPackage
protected void collectPackages(java.util.List<GenPackage> result, java.util.List<GenPackage> genPackages, int depth)
public java.util.List<GenPackage> getSubGenPackages()
GenPackage
getSubGenPackages
in interface GenPackage
public GenPackage getSuperGenPackage()
GenPackage
getSuperGenPackage
in interface GenPackage
public GenPackage getRootGenPackage()
GenPackage
getRootGenPackage
in interface GenPackage
public boolean isLoadingInitialization()
GenPackage
isLoadingInitialization
in interface GenPackage
public boolean isLoadedInitialization()
GenPackage
isLoadedInitialization
in interface GenPackage
public boolean isEcorePackage()
isEcorePackage
in interface GenPackage
public boolean hasJavaLangConflict()
hasJavaLangConflict
in interface GenPackage
public java.util.List<java.lang.String> getJavaLangConflicts()
getJavaLangConflicts
in interface GenPackage
public boolean hasInterfaceImplConflict()
hasInterfaceImplConflict
in interface GenPackage
public java.util.List<GenClass> getAllSwitchGenClasses()
getAllSwitchGenClasses
in interface GenPackage
public java.lang.String getClassUniqueName(GenClass genClass)
getClassUniqueName
in interface GenPackage
public java.util.List<GenPackage> getAllValidatorBaseGenPackages()
getAllValidatorBaseGenPackages
in interface GenPackage
public java.lang.String getValidatorPackageUniqueSafeName(GenPackage genPackage)
getValidatorPackageUniqueSafeName
in interface GenPackage
public void initialize(EPackage ePackage)
initialize
in interface GenPackage
protected boolean hasModelContribution()
hasModelContribution
in class GenBaseImpl
@Deprecated public void generate(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generate
in interface GenBase
generate
in class GenBaseImpl
public void prepareCache()
prepareCache
in interface GenPackage
public void clearCache()
clearCache
in interface GenPackage
@Deprecated public void generateSchema()
generateSchema
in interface GenPackage
@Deprecated public boolean canGenerateSchema()
canGenerateSchema
in interface GenBase
canGenerateSchema
in class GenBaseImpl
@Deprecated public void generateSchema(Monitor progressMonitor)
generateSchema
in interface GenBase
generateSchema
in class GenBaseImpl
@Deprecated protected void generateXSD(java.lang.String type)
@Deprecated public void generatePackageSerialization(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
public java.lang.String getProviderPackageName()
getProviderPackageName
in interface GenPackage
public java.lang.String getPresentationPackageName()
getPresentationPackageName
in interface GenPackage
protected java.lang.String getQualifiedPackageName(java.lang.String suffix)
public java.lang.String getQualifiedPackageName()
getQualifiedPackageName
in interface GenPackage
public java.lang.String getItemProviderAdapterFactoryClassName()
getItemProviderAdapterFactoryClassName
in interface GenPackage
public java.lang.String getQualifiedItemProviderAdapterFactoryClassName()
getQualifiedItemProviderAdapterFactoryClassName
in interface GenPackage
public java.lang.String getImportedItemProviderAdapterFactoryClassName()
getImportedItemProviderAdapterFactoryClassName
in interface GenPackage
public java.lang.String getEditorClassName()
getEditorClassName
in interface GenPackage
public java.lang.String getQualifiedEditorClassName()
getQualifiedEditorClassName
in interface GenPackage
public java.lang.String getImportedEditorClassName()
getImportedEditorClassName
in interface GenPackage
public java.lang.String getModelWizardClassName()
getModelWizardClassName
in interface GenPackage
public java.lang.String getQualifiedModelWizardClassName()
getQualifiedModelWizardClassName
in interface GenPackage
public java.lang.String getImportedModelWizardClassName()
getImportedModelWizardClassName
in interface GenPackage
public java.lang.String getActionBarContributorClassName()
getActionBarContributorClassName
in interface GenPackage
public java.lang.String getQualifiedActionBarContributorClassName()
getQualifiedActionBarContributorClassName
in interface GenPackage
public java.lang.String getImportedActionBarContributorClassName()
getImportedActionBarContributorClassName
in interface GenPackage
public java.lang.String getAdapterFactoryDelegateName(GenPackage genDelegate)
getAdapterFactoryDelegateName
in interface GenPackage
public java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
getUncapAdapterFactoryDelegateName
in interface GenPackage
public java.lang.String getEditPluginClassName()
getEditPluginClassName
in interface GenPackage
public java.lang.String getQualifiedEditPluginClassName()
getQualifiedEditPluginClassName
in interface GenPackage
public java.lang.String getImportedEditPluginClassName()
getImportedEditPluginClassName
in interface GenPackage
public java.lang.String getEditorPluginClassName()
getEditorPluginClassName
in interface GenPackage
public java.lang.String getQualifiedEditorPluginClassName()
getQualifiedEditorPluginClassName
in interface GenPackage
public java.lang.String getImportedEditorPluginClassName()
getImportedEditorPluginClassName
in interface GenPackage
public java.lang.String getCapPackageID()
public java.util.List<GenFeature> getAllGenFeatures()
getAllGenFeatures
in interface GenPackage
public java.util.List<GenFeature> getFilteredAllGenFeatures()
public java.util.List<GenPackage> getAdapterDelegatePackages()
getAdapterDelegatePackages
in interface GenPackage
public java.util.List<GenClass> getAdapterDelegateSuperClasses()
getAdapterDelegateSuperClasses
in interface GenPackage
public boolean hasStatefulProvider()
hasStatefulProvider
in interface GenPackage
@Deprecated public void generateEdit(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generateEdit
in interface GenBase
generateEdit
in class GenBaseImpl
@Deprecated public void generateEditor(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generateEditor
in interface GenBase
generateEditor
in class GenBaseImpl
public boolean hasTests()
hasTests
in interface GenPackage
public boolean canGenerateTests()
canGenerateTests
in interface GenBase
canGenerateTests
in class GenBaseImpl
@Deprecated public void generateTests(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generateTests
in interface GenBase
generateTests
in class GenBaseImpl
public java.lang.String getModelIconFileName()
getModelIconFileName
in interface GenPackage
public java.lang.String getModelWizardIconFileName()
getModelWizardIconFileName
in interface GenPackage
public boolean hasClassifiers()
hasClassifiers
in interface GenPackage
public boolean hasClassifiers(boolean traverseNestedPackages)
hasClassifiers
in interface GenPackage
public java.lang.String getModelInfo()
getModelInfo
in interface GenPackage
getModelInfo
in class GenBaseImpl
public boolean reconcile(GenPackage oldGenPackageVersion)
reconcile
in interface GenPackage
protected void reconcileSettings(GenPackage oldGenPackageVersion)
public boolean reconcile()
reconcile
in interface GenBase
public java.util.List<java.lang.String> getAnnotationSources()
getAnnotationSources
in interface GenPackage
public java.lang.String getAnnotationSourceIdentifier(java.lang.String annotationSource)
getAnnotationSourceIdentifier
in interface GenPackage
public java.util.List<EAnnotation> getAllAnnotations()
getAllAnnotations
in interface GenPackage
public java.lang.String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
getAnnotatedModelElementAccessor
in interface GenPackage
public java.util.List<EAnnotation> getAllNestedAnnotations(EAnnotation eAnnotation)
getAllNestedAnnotations
in interface GenPackage
public java.lang.String getResourceClassName()
getResourceClassName
in interface GenPackage
public java.lang.String getQualifiedResourceClassName()
getQualifiedResourceClassName
in interface GenPackage
public java.lang.String getImportedResourceClassName()
getImportedResourceClassName
in interface GenPackage
public java.lang.String getImportedResourceBaseClassName()
getImportedResourceBaseClassName
in interface GenPackage
public java.lang.String getResourceFactoryClassName()
getResourceFactoryClassName
in interface GenPackage
public java.lang.String getQualifiedResourceFactoryClassName()
getQualifiedResourceFactoryClassName
in interface GenPackage
public java.lang.String getImportedResourceFactoryClassName()
getImportedResourceFactoryClassName
in interface GenPackage
public java.lang.String getImportedResourceFactoryBaseClassName()
getImportedResourceFactoryBaseClassName
in interface GenPackage
public boolean hasDocumentRoot()
hasDocumentRoot
in interface GenPackage
public GenClass getDocumentRoot()
getDocumentRoot
in interface GenPackage
public boolean hasExtendedMetaData()
hasExtendedMetaData
in interface GenPackage
protected static boolean hasExtendedMetaData(EPackage ePackage)
public boolean hasXMLMap()
hasXMLMap
in interface GenPackage
public boolean hasTargetNamespace()
hasTargetNamespace
in interface GenPackage
public java.lang.String getSerializedPackageFilename()
getSerializedPackageFilename
in interface GenPackage
protected boolean isBigModel()
public java.util.List<java.lang.String> getProviderSupportedTypes()
getProviderSupportedTypes
in interface GenPackage
public GenClass getRootClass()
getRootClass
in interface GenPackage
public GenFeature getRootFeature()
getRootFeature
in interface GenPackage
public boolean hasConcreteClasses()
hasConcreteClasses
in interface GenPackage
public java.util.Map<GenPackage,java.util.Map<GenClass,java.util.List<GenClass.ChildCreationData>>> getExtendedChildCreationData()
GenPackage
getExtendedChildCreationData
in interface GenPackage
public java.lang.String getChildCreationExtenderName(GenPackage genPackage)
getChildCreationExtenderName
in interface GenPackage
public boolean isContentType()
GenPackage
isContentType
in interface GenPackage
GenPackage.getContentTypeIdentifier()
public java.lang.String getQualifiedContentTypeIdentifier()
GenPackage
GenPackage.getContentTypeIdentifier()
;
however, if that value is unqualified, this will add the implicit model plug-in ID qualification.
getQualifiedContentTypeIdentifier
in interface GenPackage
GenPackage.getContentTypeIdentifier()
public boolean isXMIResource()
GenPackage
resource
produces an XMI serialization.
isXMIResource
in interface GenPackage
GenPackage.getResource()
public java.lang.String getQualifiedEffectiveResourceFactoryClassName()
GenPackage
resource factory class name
, or the framework's
default XMI resource factory class name if no resource
will be generated for the package.
getQualifiedEffectiveResourceFactoryClassName
in interface GenPackage
GenPackage.getQualifiedResourceFactoryClassName()
,
GenPackage.getResource()
public boolean isMultipleFileExtensions()
GenPackage
extensions
and the use of a content type
.
isMultipleFileExtensions
in interface GenPackage
GenPackage.getFileExtensions()
,
GenPackage.isContentType()
public java.lang.String getFileExtension()
GenPackage
file extension
in the comma-separated list.
getFileExtension
in interface GenPackage
GenPackage.getFileExtensions()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |