|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenPackage
A representation of the model object 'Gen Package'.
The following features are supported:
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
GenModelPackage.getGenPackage()
Method Summary | |
---|---|
void |
clearCache()
|
void |
generateSchema()
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 |
getBasicPackageName()
Returns the name of the single package class generated when interfaces are suppressed. |
java.lang.String |
getChildCreationExtenderName(GenPackage genPackage)
|
java.lang.String |
getClassifierID(GenClassifier genClassifier)
|
int |
getClassifierValue(GenClassifier genClassifier)
|
java.lang.String |
getClassPackageName()
|
java.lang.String |
getClassPackageSuffix()
Returns the value of the 'Class Package Suffix' attribute. |
java.lang.String |
getClassUniqueName(GenClass genClass)
|
java.lang.String |
getContentTypeIdentifier()
Returns the value of the 'Content Type Identifier' attribute |
GenClass |
getDocumentRoot()
|
EPackage |
getEcorePackage()
Returns the value of the 'Ecore Package' reference |
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 |
EList<GenClass> |
getGenClasses()
Returns the value of the 'Gen Classes' containment reference list. |
EList<GenClassifier> |
getGenClassifiers()
Returns the value of the 'Gen Classifiers' reference list. |
EList<GenDataType> |
getGenDataTypes()
Returns the value of the 'Gen Data Types' containment reference list. |
EList<GenEnum> |
getGenEnums()
Returns the value of the 'Gen Enums' containment reference list. |
GenModel |
getGenModel()
Returns the value of the 'Gen Model' container reference. |
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()
Returns the value of the 'Interface Package Suffix' attribute. |
java.lang.String |
getItemProviderAdapterFactoryClassName()
|
java.util.List<java.lang.String> |
getJavaLangConflicts()
|
int |
getLocalClassifierIndex(GenClassifier genClassifier)
|
java.lang.String |
getMetaDataPackageSuffix()
Returns the value of the 'Meta Data Package Suffix' attribute. |
java.lang.String |
getModelIconFileName()
|
java.lang.String |
getModelInfo()
|
java.lang.String |
getModelWizardClassName()
|
java.lang.String |
getModelWizardIconFileName()
|
EList<GenPackage> |
getNestedGenPackages()
Returns the value of the 'Nested Gen Packages' containment reference list. |
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.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 |
java.lang.String |
getPresentationPackageName()
|
java.lang.String |
getPresentationPackageSuffix()
Returns the value of the 'Presentation Package Suffix' attribute. |
java.lang.String |
getProviderPackageName()
|
java.lang.String |
getProviderPackageSuffix()
Returns the value of the 'Provider Package Suffix' attribute. |
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()
|
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()
Returns the value of the 'Resource' attribute. |
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()
Returns the value of the 'Tests Package Suffix' attribute. |
java.lang.String |
getTestSuiteClassName()
|
java.lang.String |
getUncapAdapterFactoryClassName()
|
java.lang.String |
getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
|
java.lang.String |
getUncapFactoryInterfaceName()
Deprecated. Use getUncapFactoryName() , which won't change with the interface name pattern, instead. |
java.lang.String |
getUncapFactoryName()
|
java.lang.String |
getUncapPackageInterfaceName()
Deprecated. Use getUncapFactoryName() , which won't change with the interface name pattern, instead. |
java.lang.String |
getUncapPackageName()
|
java.lang.String |
getUtilitiesPackageName()
|
java.lang.String |
getUtilityPackageSuffix()
Returns the value of the 'Utility Package Suffix' attribute. |
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()
|
boolean |
hasInterfaceImplConflict()
|
boolean |
hasJavaLangConflict()
|
boolean |
hasStatefulProvider()
|
boolean |
hasTargetNamespace()
|
boolean |
hasTests()
|
boolean |
hasXMLMap()
|
void |
initialize(EPackage ePackage)
|
boolean |
isAdapterFactory()
Returns the value of the 'Adapter Factory' attribute. |
boolean |
isChildCreationExtenders()
Returns the value of the 'Child Creation Extenders' attribute |
boolean |
isContentType()
Returns whether the package should define a content type. |
boolean |
isDataTypeConverters()
Returns the value of the 'Data Type Converters' attribute |
boolean |
isDisposableProviderFactory()
Returns the value of the 'Disposable Provider Factory' attribute |
boolean |
isEcorePackage()
|
boolean |
isExtensibleProviderFactory()
Returns the value of the 'Extensible Provider Factory' attribute |
boolean |
isGenerateExampleClass()
Returns the value of the 'Generate Example Class' attribute. |
boolean |
isGenerateModelWizard()
Returns the value of the 'Generate Model Wizard' attribute. |
boolean |
isLiteralsInterface()
Returns the value of the 'Literals Interface' attribute. |
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()
Returns the value of the 'Load Initialization' attribute |
boolean |
isMultipleEditorPages()
Returns the value of the 'Multiple Editor Pages' attribute. |
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()
|
boolean |
reconcile(GenPackage oldGenPackageVersion)
|
void |
setAdapterFactory(boolean value)
Sets the value of the ' Adapter Factory ' attribute |
void |
setBasePackage(java.lang.String value)
Sets the value of the ' Base Package ' attribute |
void |
setChildCreationExtenders(boolean value)
Sets the value of the ' Child Creation Extenders ' attribute |
void |
setClassPackageSuffix(java.lang.String value)
Sets the value of the ' Class Package Suffix ' attribute |
void |
setContentTypeIdentifier(java.lang.String value)
Sets the value of the ' Content Type Identifier ' attribute |
void |
setDataTypeConverters(boolean value)
Sets the value of the ' Data Type Converters ' attribute |
void |
setDisposableProviderFactory(boolean value)
Sets the value of the ' Disposable Provider Factory ' attribute |
void |
setEcorePackage(EPackage value)
Sets the value of the ' Ecore Package ' reference |
void |
setExtensibleProviderFactory(boolean value)
Sets the value of the ' Extensible Provider Factory ' attribute |
void |
setFileExtensions(java.lang.String value)
Sets the value of the ' File Extensions ' attribute |
void |
setGenerateExampleClass(boolean value)
Sets the value of the ' Generate Example Class ' attribute |
void |
setGenerateModelWizard(boolean value)
Sets the value of the ' Generate Model Wizard ' attribute |
void |
setGenModel(GenModel value)
Sets the value of the ' Gen Model ' container reference |
void |
setInterfacePackageSuffix(java.lang.String value)
Sets the value of the ' Interface Package Suffix ' attribute |
void |
setLiteralsInterface(boolean value)
Sets the value of the ' Literals Interface ' attribute |
void |
setLoadInitialization(boolean value)
Sets the value of the ' Load Initialization ' attribute |
void |
setMetaDataPackageSuffix(java.lang.String value)
Sets the value of the ' Meta Data Package Suffix ' attribute |
void |
setMultipleEditorPages(boolean value)
Sets the value of the ' Multiple Editor Pages ' attribute |
void |
setPrefix(java.lang.String value)
Sets the value of the ' Prefix ' attribute |
void |
setPresentationPackageSuffix(java.lang.String value)
Sets the value of the ' Presentation Package Suffix ' attribute |
void |
setProviderPackageSuffix(java.lang.String value)
Sets the value of the ' Provider Package Suffix ' attribute |
void |
setResource(GenResourceKind value)
Sets the value of the ' Resource ' attribute |
void |
setTestsPackageSuffix(java.lang.String value)
Sets the value of the ' Tests Package Suffix ' attribute |
void |
setUtilityPackageSuffix(java.lang.String value)
Sets the value of the ' Utility Package Suffix ' attribute |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
---|
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getCopyright, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, hasCopyright, hasDocumentation, reconcile, 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 |
Method Detail |
---|
java.lang.String getPrefix()
setPrefix(String)
,
GenModelPackage.getGenPackage_Prefix()
void setPrefix(java.lang.String value)
Prefix
' attribute.
value
- the new value of the 'Prefix' attribute.getPrefix()
java.lang.String getBasePackage()
setBasePackage(String)
,
GenModelPackage.getGenPackage_BasePackage()
void setBasePackage(java.lang.String value)
Base Package
' attribute.
value
- the new value of the 'Base Package' attribute.getBasePackage()
GenResourceKind getResource()
GenResourceKind
.
GenResourceKind
,
setResource(GenResourceKind)
,
GenModelPackage.getGenPackage_Resource()
void setResource(GenResourceKind value)
Resource
' attribute.
value
- the new value of the 'Resource' attribute.GenResourceKind
,
getResource()
boolean isDisposableProviderFactory()
setDisposableProviderFactory(boolean)
,
GenModelPackage.getGenPackage_DisposableProviderFactory()
void setDisposableProviderFactory(boolean value)
Disposable Provider Factory
' attribute.
value
- the new value of the 'Disposable Provider Factory' attribute.isDisposableProviderFactory()
boolean isAdapterFactory()
"true"
.
setAdapterFactory(boolean)
,
GenModelPackage.getGenPackage_AdapterFactory()
void setAdapterFactory(boolean value)
Adapter Factory
' attribute.
value
- the new value of the 'Adapter Factory' attribute.isAdapterFactory()
boolean isLoadInitialization()
If true, the package meta-data will be initialized by loading it from a resource, instead of building it up programmatically. This should be used for large packasges, for which the generated code for building it would excede the 64k method limit.
setLoadInitialization(boolean)
,
GenModelPackage.getGenPackage_LoadInitialization()
void setLoadInitialization(boolean value)
Load Initialization
' attribute.
value
- the new value of the 'Load Initialization' attribute.isLoadInitialization()
java.lang.String getInterfacePackageSuffix()
""
.
setInterfacePackageSuffix(String)
,
GenModelPackage.getGenPackage_InterfacePackageSuffix()
void setInterfacePackageSuffix(java.lang.String value)
Interface Package Suffix
' attribute.
value
- the new value of the 'Interface Package Suffix' attribute.getInterfacePackageSuffix()
java.lang.String getMetaDataPackageSuffix()
""
.
setMetaDataPackageSuffix(String)
,
GenModelPackage.getGenPackage_MetaDataPackageSuffix()
void setMetaDataPackageSuffix(java.lang.String value)
Meta Data Package Suffix
' attribute.
value
- the new value of the 'Meta Data Package Suffix' attribute.getMetaDataPackageSuffix()
java.lang.String getClassPackageSuffix()
"impl"
.
setClassPackageSuffix(String)
,
GenModelPackage.getGenPackage_ClassPackageSuffix()
void setClassPackageSuffix(java.lang.String value)
Class Package Suffix
' attribute.
value
- the new value of the 'Class Package Suffix' attribute.getClassPackageSuffix()
java.lang.String getUtilityPackageSuffix()
"util"
.
setUtilityPackageSuffix(String)
,
GenModelPackage.getGenPackage_UtilityPackageSuffix()
void setUtilityPackageSuffix(java.lang.String value)
Utility Package Suffix
' attribute.
value
- the new value of the 'Utility Package Suffix' attribute.getUtilityPackageSuffix()
java.lang.String getProviderPackageSuffix()
"provider"
.
setProviderPackageSuffix(String)
,
GenModelPackage.getGenPackage_ProviderPackageSuffix()
void setProviderPackageSuffix(java.lang.String value)
Provider Package Suffix
' attribute.
value
- the new value of the 'Provider Package Suffix' attribute.getProviderPackageSuffix()
java.lang.String getPresentationPackageSuffix()
"presentation"
.
setPresentationPackageSuffix(String)
,
GenModelPackage.getGenPackage_PresentationPackageSuffix()
void setPresentationPackageSuffix(java.lang.String value)
Presentation Package Suffix
' attribute.
value
- the new value of the 'Presentation Package Suffix' attribute.getPresentationPackageSuffix()
java.lang.String getTestsPackageSuffix()
"tests"
.
setTestsPackageSuffix(String)
,
GenModelPackage.getGenPackage_TestsPackageSuffix()
void setTestsPackageSuffix(java.lang.String value)
Tests Package Suffix
' attribute.
value
- the new value of the 'Tests Package Suffix' attribute.getTestsPackageSuffix()
boolean isGenerateExampleClass()
"true"
.
setGenerateExampleClass(boolean)
,
GenModelPackage.getGenPackage_GenerateExampleClass()
void setGenerateExampleClass(boolean value)
Generate Example Class
' attribute.
value
- the new value of the 'Generate Example Class' attribute.isGenerateExampleClass()
boolean isLiteralsInterface()
"true"
.
setLiteralsInterface(boolean)
,
GenModelPackage.getGenPackage_LiteralsInterface()
void setLiteralsInterface(boolean value)
Literals Interface
' attribute.
value
- the new value of the 'Literals Interface' attribute.isLiteralsInterface()
boolean isDataTypeConverters()
setDataTypeConverters(boolean)
,
GenModelPackage.getGenPackage_DataTypeConverters()
void setDataTypeConverters(boolean value)
Data Type Converters
' attribute.
value
- the new value of the 'Data Type Converters' attribute.isDataTypeConverters()
boolean isMultipleEditorPages()
"true"
.
setMultipleEditorPages(boolean)
,
GenModelPackage.getGenPackage_MultipleEditorPages()
void setMultipleEditorPages(boolean value)
Multiple Editor Pages
' attribute.
value
- the new value of the 'Multiple Editor Pages' attribute.isMultipleEditorPages()
boolean isGenerateModelWizard()
"true"
.
setGenerateModelWizard(boolean)
,
GenModelPackage.getGenPackage_GenerateModelWizard()
void setGenerateModelWizard(boolean value)
Generate Model Wizard
' attribute.
value
- the new value of the 'Generate Model Wizard' attribute.isGenerateModelWizard()
boolean isExtensibleProviderFactory()
setExtensibleProviderFactory(boolean)
,
GenModelPackage.getGenPackage_ExtensibleProviderFactory()
void setExtensibleProviderFactory(boolean value)
Extensible Provider Factory
' attribute.
value
- the new value of the 'Extensible Provider Factory' attribute.isExtensibleProviderFactory()
boolean isChildCreationExtenders()
setChildCreationExtenders(boolean)
,
GenModelPackage.getGenPackage_ChildCreationExtenders()
void setChildCreationExtenders(boolean value)
Child Creation Extenders
' attribute.
value
- the new value of the 'Child Creation Extenders' attribute.isChildCreationExtenders()
java.lang.String getContentTypeIdentifier()
A content type identifier against which to register the resource factory for this package.
setContentTypeIdentifier(String)
,
GenModelPackage.getGenPackage_ContentTypeIdentifier()
void setContentTypeIdentifier(java.lang.String value)
Content Type Identifier
' attribute.
value
- the new value of the 'Content Type Identifier' attribute.getContentTypeIdentifier()
java.lang.String getFileExtensions()
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 getPrefix()
.
setFileExtensions(String)
,
GenModelPackage.getGenPackage_FileExtensions()
void setFileExtensions(java.lang.String value)
File Extensions
' attribute.
value
- the new value of the 'File Extensions' attribute.getFileExtensions()
EPackage getEcorePackage()
setEcorePackage(EPackage)
,
GenModelPackage.getGenPackage_EcorePackage()
void setEcorePackage(EPackage value)
Ecore Package
' reference.
value
- the new value of the 'Ecore Package' reference.getEcorePackage()
GenModel getGenModel()
Gen Packages
'.
getGenModel
in interface GenBase
setGenModel(GenModel)
,
GenModelPackage.getGenPackage_GenModel()
,
GenModel.getGenPackages()
void setGenModel(GenModel value)
Gen Model
' container reference.
value
- the new value of the 'Gen Model' container reference.getGenModel()
EList<GenEnum> getGenEnums()
GenEnum
.
GenModelPackage.getGenPackage_GenEnums()
EList<GenDataType> getGenDataTypes()
GenDataType
.
GenModelPackage.getGenPackage_GenDataTypes()
EList<GenClass> getGenClasses()
GenClass
.
GenModelPackage.getGenPackage_GenClasses()
EList<GenPackage> getNestedGenPackages()
GenPackage
.
GenModelPackage.getGenPackage_NestedGenPackages()
EList<GenClassifier> getGenClassifiers()
GenClassifier
.
It is bidirectional and its opposite is 'Gen Package
'.
GenModelPackage.getGenPackage_GenClassifiers()
,
GenClassifier.getGenPackage()
java.lang.String getInterfacePackageName()
java.lang.String getReflectionPackageName()
java.lang.String getReflectionClassPackageName()
java.lang.String getClassPackageName()
java.lang.String getUtilitiesPackageName()
java.lang.String getTestsPackageName()
java.lang.String getNSName()
java.lang.String getNSURI()
java.lang.String getPackageName()
java.lang.String getQualifiedPackageName()
java.lang.String getBasicPackageName()
prefix
, with "Package" appended.
This method is analagous to getFactoryName()
and would be called
getPackageName()
if that name were not already taken.
java.lang.String getUncapPackageName()
java.lang.String getPackageInterfaceName()
java.lang.String getQualifiedPackageInterfaceName()
java.lang.String getImportedPackageInterfaceName()
@Deprecated java.lang.String getUncapPackageInterfaceName()
getUncapFactoryName()
, which won't change with the interface name pattern, instead.
java.lang.String getPackageClassName()
java.lang.String getQualifiedPackageClassName()
java.lang.String getImportedPackageClassName()
java.lang.String getFactoryName()
prefix
, with "Factory" appended.
java.lang.String getUncapFactoryName()
java.lang.String getFactoryInterfaceName()
java.lang.String getQualifiedFactoryInterfaceName()
java.lang.String getImportedFactoryInterfaceName()
@Deprecated java.lang.String getUncapFactoryInterfaceName()
getUncapFactoryName()
, which won't change with the interface name pattern, instead.
java.lang.String getFactoryClassName()
java.lang.String getQualifiedFactoryClassName()
java.lang.String getImportedFactoryClassName()
java.lang.String getFactoryInstanceName()
java.lang.String getQualifiedFactoryInstanceAccessor()
java.lang.String getQualifiedEFactoryInstanceAccessor()
java.lang.String getQualifiedEFactoryInternalInstanceAccessor()
java.lang.String getAdapterFactoryClassName()
java.lang.String getQualifiedAdapterFactoryClassName()
java.lang.String getImportedAdapterFactoryClassName()
java.lang.String getUncapAdapterFactoryClassName()
java.lang.String getSwitchClassName()
java.lang.String getQualifiedSwitchClassName()
java.lang.String getValidatorClassName()
java.lang.String getQualifiedValidatorClassName()
java.lang.String getImportedValidatorClassName()
java.lang.String getTestSuiteClassName()
java.lang.String getQualifiedTestSuiteClassName()
java.lang.String getImportedTestSuiteClassName()
java.lang.String getExampleClassName()
java.lang.String getQualifiedExampleClassName()
java.lang.String getQualifiedXMLProcessorClassName()
java.lang.String getXMLProcessorClassName()
java.lang.String getImportedXMLProcessorBaseClassName()
java.util.List<GenDataType> getAllGenDataTypes()
java.util.List<GenClass> getOrderedGenClasses()
java.util.List<GenClassifier> getOrderedGenClassifiers()
java.lang.String getClassifierID(GenClassifier genClassifier)
int getClassifierValue(GenClassifier genClassifier)
int getLocalClassifierIndex(GenClassifier genClassifier)
java.util.List<GenPackage> getPackageSimpleDependencies()
java.util.List<GenPackage> getPackageInterDependencies()
java.util.List<GenPackage> getPackageLoadInterDependencies()
java.util.List<GenPackage> getPackageBuildInterDependencies()
java.util.List<GenPackage> getPackageInitializationDependencies()
java.lang.String getPackageInstanceVariable(GenPackage genPackage)
java.util.List<GenPackage> getSubGenPackages()
GenPackage getSuperGenPackage()
GenPackage getRootGenPackage()
boolean isLoadingInitialization()
boolean isLoadedInitialization()
boolean isEcorePackage()
boolean hasInterfaceImplConflict()
boolean hasJavaLangConflict()
java.util.List<java.lang.String> getJavaLangConflicts()
boolean hasClassifiers()
boolean hasClassifiers(boolean traverseNestedPackages)
java.util.List<GenClass> getAllSwitchGenClasses()
java.lang.String getClassUniqueName(GenClass genClass)
java.util.List<GenPackage> getAllValidatorBaseGenPackages()
java.lang.String getValidatorPackageUniqueSafeName(GenPackage genPackage)
void initialize(EPackage ePackage)
void prepareCache()
void clearCache()
@Deprecated void generateSchema()
java.lang.String getProviderPackageName()
java.lang.String getPresentationPackageName()
java.lang.String getItemProviderAdapterFactoryClassName()
java.lang.String getQualifiedItemProviderAdapterFactoryClassName()
java.lang.String getImportedItemProviderAdapterFactoryClassName()
java.lang.String getEditorClassName()
java.lang.String getQualifiedEditorClassName()
java.lang.String getImportedEditorClassName()
java.lang.String getModelWizardClassName()
java.lang.String getQualifiedModelWizardClassName()
java.lang.String getImportedModelWizardClassName()
java.lang.String getActionBarContributorClassName()
java.lang.String getQualifiedActionBarContributorClassName()
java.lang.String getImportedActionBarContributorClassName()
java.lang.String getAdapterFactoryDelegateName(GenPackage genDelegate)
java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
java.lang.String getEditPluginClassName()
java.lang.String getQualifiedEditPluginClassName()
java.lang.String getImportedEditPluginClassName()
java.lang.String getEditorPluginClassName()
java.lang.String getQualifiedEditorPluginClassName()
java.lang.String getImportedEditorPluginClassName()
java.lang.String getModelIconFileName()
java.lang.String getModelWizardIconFileName()
java.util.List<GenFeature> getAllGenFeatures()
java.util.List<GenPackage> getAdapterDelegatePackages()
java.util.List<GenClass> getAdapterDelegateSuperClasses()
boolean hasStatefulProvider()
java.lang.String getModelInfo()
boolean reconcile(GenPackage oldGenPackageVersion)
java.util.List<java.lang.String> getAnnotationSources()
java.lang.String getAnnotationSourceIdentifier(java.lang.String annotationSource)
java.util.List<EAnnotation> getAllAnnotations()
java.lang.String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
java.util.List<EAnnotation> getAllNestedAnnotations(EAnnotation eAnnotation)
java.lang.String getResourceClassName()
java.lang.String getQualifiedResourceClassName()
java.lang.String getImportedResourceClassName()
java.lang.String getImportedResourceBaseClassName()
java.lang.String getResourceFactoryClassName()
java.lang.String getQualifiedResourceFactoryClassName()
java.lang.String getImportedResourceFactoryClassName()
java.lang.String getImportedResourceFactoryBaseClassName()
boolean hasXMLMap()
boolean hasDocumentRoot()
GenClass getDocumentRoot()
boolean hasExtendedMetaData()
boolean hasTargetNamespace()
boolean hasConstraints()
java.lang.String getSerializedPackageFilename()
java.util.List<java.lang.String> getProviderSupportedTypes()
GenClass getRootClass()
GenFeature getRootFeature()
boolean hasConcreteClasses()
boolean hasTests()
java.util.Map<GenPackage,java.util.Map<GenClass,java.util.List<GenClass.ChildCreationData>>> getExtendedChildCreationData()
java.lang.String getChildCreationExtenderName(GenPackage genPackage)
boolean isContentType()
getContentTypeIdentifier()
java.lang.String getQualifiedContentTypeIdentifier()
getContentTypeIdentifier()
;
however, if that value is unqualified, this will add the implicit model plug-in ID qualification.
getContentTypeIdentifier()
boolean isXMIResource()
resource
produces an XMI serialization.
getResource()
java.lang.String getQualifiedEffectiveResourceFactoryClassName()
resource factory class name
, or the framework's
default XMI resource factory class name if no resource
will be generated for the package.
getQualifiedResourceFactoryClassName()
,
getResource()
boolean isMultipleFileExtensions()
extensions
and the use of a content type
.
getFileExtensions()
,
isContentType()
java.lang.String getFileExtension()
file extension
in the comma-separated list.
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 |