|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.GenClassifierImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl
An implementation of the model object 'Gen Class'.
The following features are implemented:
Nested Class Summary | |
class |
GenClassImpl.CollidingGenOperationFilter
|
Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.EclipseUtil, GenBaseImpl.GenAnnotationCopier, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected boolean |
dynamic
The cached value of the ' Dynamic ' attribute |
protected static boolean |
DYNAMIC_EDEFAULT
The default value of the ' Dynamic ' attribute |
protected EClass |
ecoreClass
The cached value of the ' Ecore Class ' reference |
protected EList |
genFeatures
The cached value of the ' Gen Features ' containment reference list |
protected EList |
genOperations
The cached value of the ' Gen Operations ' containment reference list |
protected boolean |
image
The cached value of the ' Image ' attribute |
protected static boolean |
IMAGE_EDEFAULT
The default value of the ' Image ' attribute |
static List |
INTRINSIC_CONSTRAINTS
|
protected GenFeature |
labelFeature
The cached value of the ' Label Feature ' reference |
protected GenProviderKind |
provider
The cached value of the ' Provider ' attribute |
protected static GenProviderKind |
PROVIDER_EDEFAULT
The default value of the ' Provider ' attribute |
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 |
GenClassImpl()
|
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl |
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getEcoreModelElement, getFormattedName, getGenPackage, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName, getUncapName |
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.GenClass |
getUncapName |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenClassifier |
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getFormattedName, getGenPackage, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerateSchema, capName, format, gen, genEdit, genEditor, generate, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, genSchema, genTests, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, getGenModel, 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 GenProviderKind PROVIDER_EDEFAULT
Provider
' attribute.
getProvider()
protected GenProviderKind provider
Provider
' attribute.
getProvider()
protected static final boolean IMAGE_EDEFAULT
Image
' attribute.
isImage()
,
Constant Field Valuesprotected boolean image
Image
' attribute.
isImage()
protected static final boolean DYNAMIC_EDEFAULT
Dynamic
' attribute.
isDynamic()
,
Constant Field Valuesprotected boolean dynamic
Dynamic
' attribute.
isDynamic()
protected EClass ecoreClass
Ecore Class
' reference.
getEcoreClass()
protected EList genFeatures
Gen Features
' containment reference list.
getGenFeatures()
protected EList genOperations
Gen Operations
' containment reference list.
getGenOperations()
protected GenFeature labelFeature
Label Feature
' reference.
getLabelFeature()
public static final List INTRINSIC_CONSTRAINTS
Constructor Detail |
protected GenClassImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class GenClassifierImpl
public GenProviderKind getProvider()
getProvider
in interface GenClass
GenProviderKind
,
GenClass.setProvider(GenProviderKind)
,
GenModelPackage.getGenClass_Provider()
public boolean isProviderSingleton()
isProviderSingleton
in interface GenClass
public void setProvider(GenProviderKind newProvider)
setProvider
in interface GenClass
newProvider
- the new value of the 'Provider' attribute.GenProviderKind
,
GenClass.getProvider()
public boolean isImage()
isImage
in interface GenClass
GenClass.setImage(boolean)
,
GenModelPackage.getGenClass_Image()
public void setImage(boolean newImage)
setImage
in interface GenClass
newImage
- the new value of the 'Image' attribute.GenClass.isImage()
public boolean isDynamic()
isDynamic
in interface GenClass
GenClass.setDynamic(boolean)
,
GenModelPackage.getGenClass_Dynamic()
public void setDynamic(boolean newDynamic)
setDynamic
in interface GenClass
newDynamic
- the new value of the 'Dynamic' attribute.GenClass.isDynamic()
public EClass getEcoreClass()
getEcoreClass
in interface GenClass
GenClass.setEcoreClass(EClass)
,
GenModelPackage.getGenClass_EcoreClass()
public EClass basicGetEcoreClass()
public void setEcoreClass(EClass newEcoreClass)
setEcoreClass
in interface GenClass
newEcoreClass
- the new value of the 'Ecore Class' reference.GenClass.getEcoreClass()
public EList getGenFeatures()
getGenFeatures
in interface GenClass
GenModelPackage.getGenClass_GenFeatures()
,
GenFeature.getGenClass()
public EList getGenOperations()
getGenOperations
in interface GenClass
GenModelPackage.getGenClass_GenOperations()
,
GenOperation.getGenClass()
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface GenClassifier
getEcoreClassifier
in class GenClassifierImpl
public String getImportedMetaType()
getImportedMetaType
in interface GenClassifier
getImportedMetaType
in class GenClassifierImpl
public String getInterfaceName()
GenClass
getInterfaceName
in interface GenClass
public String getQualifiedInterfaceName()
getQualifiedInterfaceName
in interface GenClass
protected String getInternalQualifiedInterfaceName()
public String getImportedInstanceClassName()
getImportedInstanceClassName
in interface GenClassifier
public String getImportedInterfaceName()
getImportedInterfaceName
in interface GenClass
public String getClassName()
getClassName
in interface GenClass
public String getQualifiedClassName()
getQualifiedClassName
in interface GenClass
public String getImportedClassName()
getImportedClassName
in interface GenClass
public List getBaseGenClasses()
getBaseGenClasses
in interface GenClass
public List getAllBaseGenClasses()
getAllBaseGenClasses
in interface GenClass
public List getSwitchGenClasses()
GenClass
getSwitchGenClasses
in interface GenClass
public GenClass getBaseGenClass()
GenClass
getBaseGenClass
in interface GenClass
public GenClass getClassExtendsGenClass()
GenClass
getClassExtendsGenClass
in interface GenClass
public String getClassExtends()
getClassExtends
in interface GenClass
public boolean needsRootImplementsInterfaceOperations()
protected List getClassImplementsList()
public String getClassImplements()
getClassImplements
in interface GenClass
public boolean needsRootExtendsInterfaceExtendsTag()
needsRootExtendsInterfaceExtendsTag
in interface GenClass
public List getInterfaceExtendsList()
public String getInterfaceExtends()
getInterfaceExtends
in interface GenClass
public List getAllGenFeatures()
getAllGenFeatures
in interface GenClass
public List getInheritedGenFeatures()
getInheritedGenFeatures
in interface GenClass
public List getAllGenOperations()
getAllGenOperations
in interface GenClass
public String getFeatureID(GenFeature genFeature)
getFeatureID
in interface GenClass
public String getQualifiedFeatureID(GenFeature genFeature)
getQualifiedFeatureID
in interface GenClass
public String getOperationID(GenOperation genOperation)
getOperationID
in interface GenClass
public String getFeatureValue(GenFeature genFeature)
getFeatureValue
in interface GenClass
public String getLocalFeatureIndex(GenFeature genFeature)
getLocalFeatureIndex
in interface GenClass
public String getFlagsField(GenFeature genFeature)
getFlagsField
in interface GenClass
public int getFlagIndex(GenFeature genFeature)
getFlagIndex
in interface GenClass
public String getESetFlagsField(GenFeature genFeature)
getESetFlagsField
in interface GenClass
public int getESetFlagIndex(GenFeature genFeature)
getESetFlagIndex
in interface GenClass
public String getFeatureCountID()
getFeatureCountID
in interface GenClass
public String getQualifiedFeatureCountID()
getQualifiedFeatureCountID
in interface GenClass
public String getFeatureCountValue()
getFeatureCountValue
in interface GenClass
public int getFeatureCount()
getFeatureCount
in interface GenClass
public boolean isEObject()
isEObject
in interface GenClass
public boolean isEObjectExtension()
isEObjectExtension
in interface GenClass
public String getCastFromEObject()
getCastFromEObject
in interface GenClass
public boolean isAbstract()
isAbstract
in interface GenClass
public String getAbstractFlag()
getAbstractFlag
in interface GenClass
public boolean isInterface()
isInterface
in interface GenClass
public String getInterfaceFlag()
getInterfaceFlag
in interface GenClass
public String getGeneratedInstanceClassFlag()
getGeneratedInstanceClassFlag
in interface GenClassifier
public boolean isExternalInterface()
GenClass
isExternalInterface
in interface GenClass
public boolean isMapEntry()
isMapEntry
in interface GenClass
public GenFeature getMapEntryKeyFeature()
getMapEntryKeyFeature
in interface GenClass
public GenFeature getMapEntryValueFeature()
getMapEntryValueFeature
in interface GenClass
public List getImplementedGenClasses()
getImplementedGenClasses
in interface GenClass
public List getImplementedGenFeatures()
getImplementedGenFeatures
in interface GenClass
public GenModel getImplementingGenModel(GenFeature genFeature)
getImplementingGenModel
in interface GenClass
public List getImplementedGenOperations()
getImplementedGenOperations
in interface GenClass
public List getExtendedGenClasses()
getExtendedGenClasses
in interface GenClass
public List getExtendedGenFeatures()
getExtendedGenFeatures
in interface GenClass
public List getExtendedGenOperations()
getExtendedGenOperations
in interface GenClass
public List getDeclaredGenFeatures()
getDeclaredGenFeatures
in interface GenClass
public List getDeclaredGenOperations()
getDeclaredGenOperations
in interface GenClass
public List getFlagGenFeatures()
getFlagGenFeatures
in interface GenClass
public List getFlagGenFeatures(String staticDefaultValue)
getFlagGenFeatures
in interface GenClass
public List getESetGenFeatures()
getESetGenFeatures
in interface GenClass
public List getEInverseAddGenFeatures()
getEInverseAddGenFeatures
in interface GenClass
public List getEInverseRemoveGenFeatures()
getEInverseRemoveGenFeatures
in interface GenClass
public List getEBasicRemoveFromContainerGenFeatures()
getEBasicRemoveFromContainerGenFeatures
in interface GenClass
public List getToStringGenFeatures()
getToStringGenFeatures
in interface GenClass
public List getMixinGenClasses()
getMixinGenClasses
in interface GenClass
public List getMixinGenFeatures()
getMixinGenFeatures
in interface GenClass
public List getMixinGenOperations()
getMixinGenOperations
in interface GenClass
public void initialize(EClass eClass)
initialize
in interface GenClass
protected boolean hasModelContribution()
hasModelContribution
in class GenBaseImpl
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 String getModelInfo()
getModelInfo
in interface GenClass
getModelInfo
in class GenBaseImpl
public String getProviderClassName()
getProviderClassName
in interface GenClass
public String getQualifiedProviderClassName()
getQualifiedProviderClassName
in interface GenClass
public String getImportedProviderClassName()
getImportedProviderClassName
in interface GenClass
public String getItemIconFileName()
getItemIconFileName
in interface GenClass
public String getCreateChildIconFileName(GenFeature feature, GenClass childClass)
getCreateChildIconFileName
in interface GenClass
protected GenClass getProviderExtendsGenClass()
public String getProviderBaseClassName()
getProviderBaseClassName
in interface GenClass
public List getProviderImplementedGenClasses()
getProviderImplementedGenClasses
in interface GenClass
protected List getProviderImplementedGenFeatures()
public List getLabelFeatureCandidates()
getLabelFeatureCandidates
in interface GenClass
public List getPropertyFeatures()
getPropertyFeatures
in interface GenClass
public List getNotifyFeatures()
getNotifyFeatures
in interface GenClass
public List getLabelNotifyFeatures()
getLabelNotifyFeatures
in interface GenClass
public List getContentNotifyFeatures()
getContentNotifyFeatures
in interface GenClass
public List getLabelAndContentNotifyFeatures()
getLabelAndContentNotifyFeatures
in interface GenClass
public List getChildrenFeatures()
getChildrenFeatures
in interface GenClass
public List getAllChildrenFeatures()
getAllChildrenFeatures
in interface GenClass
public List getCreateChildFeatures()
getCreateChildFeatures
in interface GenClass
public List getAllCreateChildFeatures()
getAllCreateChildFeatures
in interface GenClass
public List getAllCreateChildFeaturesIncludingDelegation()
getAllCreateChildFeaturesIncludingDelegation
in interface GenClass
public List getCrossPackageCreateChildFeatures()
getCrossPackageCreateChildFeatures
in interface GenClass
public List getSharedClassCreateChildFeatures()
getSharedClassCreateChildFeatures
in interface GenClass
public boolean hasFeatureMapCreateChildFeatures()
hasFeatureMapCreateChildFeatures
in interface GenClass
public List getChildrenClasses(GenFeature genFeature)
getChildrenClasses
in interface GenClass
public List getCrossPackageChildrenClasses(GenFeature genFeature)
getCrossPackageChildrenClasses
in interface GenClass
public GenFeature getLabelFeatureGen()
public GenFeature getLabelFeature()
GenClass
If the meaning of the 'Label Feature' reference isn't clear, there really should be more of a description here...
getLabelFeature
in interface GenClass
GenClass.setLabelFeature(GenFeature)
,
GenModelPackage.getGenClass_LabelFeature()
public GenFeature basicGetLabelFeature()
public void setLabelFeature(GenFeature newLabelFeature)
setLabelFeature
in interface GenClass
newLabelFeature
- the new value of the 'Label Feature' reference.GenClass.getLabelFeature()
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 Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class GenClassifierImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class GenBaseImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class GenBaseImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class GenClassifierImpl
public String toString()
toString
in class BasicEObjectImpl
public String getItemProviderAdapterFactoryClassName()
getItemProviderAdapterFactoryClassName
in interface GenClass
public String getTestCaseClassName()
getTestCaseClassName
in interface GenClass
public String getQualifiedTestCaseClassName()
getQualifiedTestCaseClassName
in interface GenClass
public String getImportedTestCaseClassName()
getImportedTestCaseClassName
in interface GenClass
public boolean canGenerate()
canGenerate
in interface GenBase
canGenerate
in class GenBaseImpl
public boolean canGenerateEdit()
canGenerateEdit
in interface GenBase
canGenerateEdit
in class GenBaseImpl
public boolean canGenerateEditor()
canGenerateEditor
in interface GenBase
canGenerateEditor
in class GenBaseImpl
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
public boolean hasTests()
hasTests
in interface GenClass
public boolean canGenerateTests()
canGenerateTests
in interface GenBase
canGenerateTests
in class GenBaseImpl
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 boolean reconcile(GenClass oldGenClassVersion)
reconcile
in interface GenClass
protected void reconcileSettings(GenClass oldGenClassVersion)
public boolean reconcile()
reconcile
in interface GenBase
public List getGenConstraints()
getGenConstraints
in interface GenClassifier
getGenConstraints
in class GenClassifierImpl
public List getAllGenConstraints()
getAllGenConstraints
in interface GenClassifier
getAllGenConstraints
in class GenClassifierImpl
public GenClassifier getConstraintImplementor(String constraint)
getConstraintImplementor
in interface GenClassifier
getConstraintImplementor
in class GenClassifierImpl
public GenClassifier getConstraintDelegate(String constraint)
getConstraintDelegate
in interface GenClassifier
public boolean hasOnlyDefaultConstraints()
hasOnlyDefaultConstraints
in interface GenClassifier
hasOnlyDefaultConstraints
in class GenClassifierImpl
public List getInvariantOperations()
getInvariantOperations
in interface GenClass
public GenOperation getInvariantOperation(String constraint)
getInvariantOperation
in interface GenClass
public boolean isDocumentRoot()
isDocumentRoot
in interface GenClass
protected boolean isMixed()
public GenFeature getMixedGenFeature()
getMixedGenFeature
in interface GenClass
public String getListConstructor(GenFeature genFeature)
getListConstructor
in interface GenClass
public boolean isModelRoot()
isModelRoot
in interface GenClass
public List getDeclaredFieldGenFeatures()
getDeclaredFieldGenFeatures
in interface GenClass
public boolean isFlag(GenFeature genFeature)
isFlag
in interface GenClass
public boolean isESetFlag(GenFeature genFeature)
isESetFlag
in interface GenClass
public boolean isField(GenFeature genFeature)
isField
in interface GenClass
public boolean isESetField(GenFeature genFeature)
isESetField
in interface GenClass
public boolean implementsAny(Collection genFeatures)
implementsAny
in interface GenClass
protected int getNonPrimitiveFeatureCount()
public String getEVirtualValuesField()
getEVirtualValuesField
in interface GenClass
public List getEVirtualIndexBitFields(List eVirtualIndexBitFields)
getEVirtualIndexBitFields
in interface GenClass
public List getAllEVirtualIndexBitFields(List allEVirtualIndexBitFields)
getAllEVirtualIndexBitFields
in interface GenClass
public boolean isJavaIOSerializable()
isJavaIOSerializable
in interface GenClass
public boolean hasFactoryInterfaceCreateMethod()
hasFactoryInterfaceCreateMethod
in interface GenClass
|
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 |