|
|||||||||||
| 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 GenClassifierImplpublic GenProviderKind getProvider()
getProvider in interface GenClassGenProviderKind,
GenClass.setProvider(GenProviderKind),
GenModelPackage.getGenClass_Provider()public boolean isProviderSingleton()
isProviderSingleton in interface GenClasspublic void setProvider(GenProviderKind newProvider)
setProvider in interface GenClassnewProvider - the new value of the 'Provider' attribute.GenProviderKind,
GenClass.getProvider()public boolean isImage()
isImage in interface GenClassGenClass.setImage(boolean),
GenModelPackage.getGenClass_Image()public void setImage(boolean newImage)
setImage in interface GenClassnewImage - the new value of the 'Image' attribute.GenClass.isImage()public boolean isDynamic()
isDynamic in interface GenClassGenClass.setDynamic(boolean),
GenModelPackage.getGenClass_Dynamic()public void setDynamic(boolean newDynamic)
setDynamic in interface GenClassnewDynamic - the new value of the 'Dynamic' attribute.GenClass.isDynamic()public EClass getEcoreClass()
getEcoreClass in interface GenClassGenClass.setEcoreClass(EClass),
GenModelPackage.getGenClass_EcoreClass()public EClass basicGetEcoreClass()
public void setEcoreClass(EClass newEcoreClass)
setEcoreClass in interface GenClassnewEcoreClass - the new value of the 'Ecore Class' reference.GenClass.getEcoreClass()public EList getGenFeatures()
getGenFeatures in interface GenClassGenModelPackage.getGenClass_GenFeatures(),
GenFeature.getGenClass()public EList getGenOperations()
getGenOperations in interface GenClassGenModelPackage.getGenClass_GenOperations(),
GenOperation.getGenClass()public EClassifier getEcoreClassifier()
getEcoreClassifier in interface GenClassifiergetEcoreClassifier in class GenClassifierImplpublic String getImportedMetaType()
getImportedMetaType in interface GenClassifiergetImportedMetaType in class GenClassifierImplpublic String getInterfaceName()
GenClass
getInterfaceName in interface GenClasspublic String getQualifiedInterfaceName()
getQualifiedInterfaceName in interface GenClassprotected String getInternalQualifiedInterfaceName()
public String getImportedInstanceClassName()
getImportedInstanceClassName in interface GenClassifierpublic String getImportedInterfaceName()
getImportedInterfaceName in interface GenClasspublic String getClassName()
getClassName in interface GenClasspublic String getQualifiedClassName()
getQualifiedClassName in interface GenClasspublic String getImportedClassName()
getImportedClassName in interface GenClasspublic List getBaseGenClasses()
getBaseGenClasses in interface GenClasspublic List getAllBaseGenClasses()
getAllBaseGenClasses in interface GenClasspublic List getSwitchGenClasses()
GenClass
getSwitchGenClasses in interface GenClasspublic GenClass getBaseGenClass()
GenClass
getBaseGenClass in interface GenClasspublic GenClass getClassExtendsGenClass()
GenClass
getClassExtendsGenClass in interface GenClasspublic String getClassExtends()
getClassExtends in interface GenClasspublic boolean needsRootImplementsInterfaceOperations()
protected List getClassImplementsList()
public String getClassImplements()
getClassImplements in interface GenClasspublic boolean needsRootExtendsInterfaceExtendsTag()
needsRootExtendsInterfaceExtendsTag in interface GenClasspublic List getInterfaceExtendsList()
public String getInterfaceExtends()
getInterfaceExtends in interface GenClasspublic List getAllGenFeatures()
getAllGenFeatures in interface GenClasspublic List getInheritedGenFeatures()
getInheritedGenFeatures in interface GenClasspublic List getAllGenOperations()
getAllGenOperations in interface GenClasspublic String getFeatureID(GenFeature genFeature)
getFeatureID in interface GenClasspublic String getQualifiedFeatureID(GenFeature genFeature)
getQualifiedFeatureID in interface GenClasspublic String getOperationID(GenOperation genOperation)
getOperationID in interface GenClasspublic String getFeatureValue(GenFeature genFeature)
getFeatureValue in interface GenClasspublic String getLocalFeatureIndex(GenFeature genFeature)
getLocalFeatureIndex in interface GenClasspublic String getFlagsField(GenFeature genFeature)
getFlagsField in interface GenClasspublic int getFlagIndex(GenFeature genFeature)
getFlagIndex in interface GenClasspublic String getESetFlagsField(GenFeature genFeature)
getESetFlagsField in interface GenClasspublic int getESetFlagIndex(GenFeature genFeature)
getESetFlagIndex in interface GenClasspublic String getFeatureCountID()
getFeatureCountID in interface GenClasspublic String getQualifiedFeatureCountID()
getQualifiedFeatureCountID in interface GenClasspublic String getFeatureCountValue()
getFeatureCountValue in interface GenClasspublic int getFeatureCount()
getFeatureCount in interface GenClasspublic boolean isEObject()
isEObject in interface GenClasspublic boolean isEObjectExtension()
isEObjectExtension in interface GenClasspublic String getCastFromEObject()
getCastFromEObject in interface GenClasspublic boolean isAbstract()
isAbstract in interface GenClasspublic String getAbstractFlag()
getAbstractFlag in interface GenClasspublic boolean isInterface()
isInterface in interface GenClasspublic String getInterfaceFlag()
getInterfaceFlag in interface GenClasspublic String getGeneratedInstanceClassFlag()
getGeneratedInstanceClassFlag in interface GenClassifierpublic boolean isExternalInterface()
GenClass
isExternalInterface in interface GenClasspublic boolean isMapEntry()
isMapEntry in interface GenClasspublic GenFeature getMapEntryKeyFeature()
getMapEntryKeyFeature in interface GenClasspublic GenFeature getMapEntryValueFeature()
getMapEntryValueFeature in interface GenClasspublic List getImplementedGenClasses()
getImplementedGenClasses in interface GenClasspublic List getImplementedGenFeatures()
getImplementedGenFeatures in interface GenClasspublic GenModel getImplementingGenModel(GenFeature genFeature)
getImplementingGenModel in interface GenClasspublic List getImplementedGenOperations()
getImplementedGenOperations in interface GenClasspublic List getExtendedGenClasses()
getExtendedGenClasses in interface GenClasspublic List getExtendedGenFeatures()
getExtendedGenFeatures in interface GenClasspublic List getExtendedGenOperations()
getExtendedGenOperations in interface GenClasspublic List getDeclaredGenFeatures()
getDeclaredGenFeatures in interface GenClasspublic List getDeclaredGenOperations()
getDeclaredGenOperations in interface GenClasspublic List getFlagGenFeatures()
getFlagGenFeatures in interface GenClasspublic List getFlagGenFeatures(String staticDefaultValue)
getFlagGenFeatures in interface GenClasspublic List getESetGenFeatures()
getESetGenFeatures in interface GenClasspublic List getEInverseAddGenFeatures()
getEInverseAddGenFeatures in interface GenClasspublic List getEInverseRemoveGenFeatures()
getEInverseRemoveGenFeatures in interface GenClasspublic List getEBasicRemoveFromContainerGenFeatures()
getEBasicRemoveFromContainerGenFeatures in interface GenClasspublic List getToStringGenFeatures()
getToStringGenFeatures in interface GenClasspublic List getMixinGenClasses()
getMixinGenClasses in interface GenClasspublic List getMixinGenFeatures()
getMixinGenFeatures in interface GenClasspublic List getMixinGenOperations()
getMixinGenOperations in interface GenClasspublic void initialize(EClass eClass)
initialize in interface GenClassprotected boolean hasModelContribution()
hasModelContribution in class GenBaseImplpublic void generate(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generate in interface GenBasegenerate in class GenBaseImplpublic String getModelInfo()
getModelInfo in interface GenClassgetModelInfo in class GenBaseImplpublic String getProviderClassName()
getProviderClassName in interface GenClasspublic String getQualifiedProviderClassName()
getQualifiedProviderClassName in interface GenClasspublic String getImportedProviderClassName()
getImportedProviderClassName in interface GenClasspublic String getItemIconFileName()
getItemIconFileName in interface GenClass
public String getCreateChildIconFileName(GenFeature feature,
GenClass childClass)
getCreateChildIconFileName in interface GenClassprotected GenClass getProviderExtendsGenClass()
public String getProviderBaseClassName()
getProviderBaseClassName in interface GenClasspublic List getProviderImplementedGenClasses()
getProviderImplementedGenClasses in interface GenClassprotected List getProviderImplementedGenFeatures()
public List getLabelFeatureCandidates()
getLabelFeatureCandidates in interface GenClasspublic List getPropertyFeatures()
getPropertyFeatures in interface GenClasspublic List getNotifyFeatures()
getNotifyFeatures in interface GenClasspublic List getLabelNotifyFeatures()
getLabelNotifyFeatures in interface GenClasspublic List getContentNotifyFeatures()
getContentNotifyFeatures in interface GenClasspublic List getLabelAndContentNotifyFeatures()
getLabelAndContentNotifyFeatures in interface GenClasspublic List getChildrenFeatures()
getChildrenFeatures in interface GenClasspublic List getAllChildrenFeatures()
getAllChildrenFeatures in interface GenClasspublic List getCreateChildFeatures()
getCreateChildFeatures in interface GenClasspublic List getAllCreateChildFeatures()
getAllCreateChildFeatures in interface GenClasspublic List getAllCreateChildFeaturesIncludingDelegation()
getAllCreateChildFeaturesIncludingDelegation in interface GenClasspublic List getCrossPackageCreateChildFeatures()
getCrossPackageCreateChildFeatures in interface GenClasspublic List getSharedClassCreateChildFeatures()
getSharedClassCreateChildFeatures in interface GenClasspublic boolean hasFeatureMapCreateChildFeatures()
hasFeatureMapCreateChildFeatures in interface GenClasspublic List getChildrenClasses(GenFeature genFeature)
getChildrenClasses in interface GenClasspublic List getCrossPackageChildrenClasses(GenFeature genFeature)
getCrossPackageChildrenClasses in interface GenClasspublic GenFeature getLabelFeatureGen()
public GenFeature getLabelFeature()
GenClassIf the meaning of the 'Label Feature' reference isn't clear, there really should be more of a description here...
getLabelFeature in interface GenClassGenClass.setLabelFeature(GenFeature),
GenModelPackage.getGenClass_LabelFeature()public GenFeature basicGetLabelFeature()
public void setLabelFeature(GenFeature newLabelFeature)
setLabelFeature in interface GenClassnewLabelFeature - 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 InternalEObjecteGet in class GenClassifierImpl
public void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class GenBaseImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class GenBaseImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class GenClassifierImplpublic String toString()
toString in class BasicEObjectImplpublic String getItemProviderAdapterFactoryClassName()
getItemProviderAdapterFactoryClassName in interface GenClasspublic String getTestCaseClassName()
getTestCaseClassName in interface GenClasspublic String getQualifiedTestCaseClassName()
getQualifiedTestCaseClassName in interface GenClasspublic String getImportedTestCaseClassName()
getImportedTestCaseClassName in interface GenClasspublic boolean canGenerate()
canGenerate in interface GenBasecanGenerate in class GenBaseImplpublic boolean canGenerateEdit()
canGenerateEdit in interface GenBasecanGenerateEdit in class GenBaseImplpublic boolean canGenerateEditor()
canGenerateEditor in interface GenBasecanGenerateEditor in class GenBaseImplpublic void generateEdit(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generateEdit in interface GenBasegenerateEdit in class GenBaseImplpublic boolean hasTests()
hasTests in interface GenClasspublic boolean canGenerateTests()
canGenerateTests in interface GenBasecanGenerateTests in class GenBaseImplpublic void generateTests(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generateTests in interface GenBasegenerateTests in class GenBaseImplpublic boolean reconcile(GenClass oldGenClassVersion)
reconcile in interface GenClassprotected void reconcileSettings(GenClass oldGenClassVersion)
public boolean reconcile()
reconcile in interface GenBasepublic List getGenConstraints()
getGenConstraints in interface GenClassifiergetGenConstraints in class GenClassifierImplpublic List getAllGenConstraints()
getAllGenConstraints in interface GenClassifiergetAllGenConstraints in class GenClassifierImplpublic GenClassifier getConstraintImplementor(String constraint)
getConstraintImplementor in interface GenClassifiergetConstraintImplementor in class GenClassifierImplpublic GenClassifier getConstraintDelegate(String constraint)
getConstraintDelegate in interface GenClassifierpublic boolean hasOnlyDefaultConstraints()
hasOnlyDefaultConstraints in interface GenClassifierhasOnlyDefaultConstraints in class GenClassifierImplpublic List getInvariantOperations()
getInvariantOperations in interface GenClasspublic GenOperation getInvariantOperation(String constraint)
getInvariantOperation in interface GenClasspublic boolean isDocumentRoot()
isDocumentRoot in interface GenClassprotected boolean isMixed()
public GenFeature getMixedGenFeature()
getMixedGenFeature in interface GenClasspublic String getListConstructor(GenFeature genFeature)
getListConstructor in interface GenClasspublic boolean isModelRoot()
isModelRoot in interface GenClasspublic List getDeclaredFieldGenFeatures()
getDeclaredFieldGenFeatures in interface GenClasspublic boolean isFlag(GenFeature genFeature)
isFlag in interface GenClasspublic boolean isESetFlag(GenFeature genFeature)
isESetFlag in interface GenClasspublic boolean isField(GenFeature genFeature)
isField in interface GenClasspublic boolean isESetField(GenFeature genFeature)
isESetField in interface GenClasspublic boolean implementsAny(Collection genFeatures)
implementsAny in interface GenClassprotected int getNonPrimitiveFeatureCount()
public String getEVirtualValuesField()
getEVirtualValuesField in interface GenClasspublic List getEVirtualIndexBitFields(List eVirtualIndexBitFields)
getEVirtualIndexBitFields in interface GenClasspublic List getAllEVirtualIndexBitFields(List allEVirtualIndexBitFields)
getAllEVirtualIndexBitFields in interface GenClasspublic boolean isJavaIOSerializable()
isJavaIOSerializable in interface GenClasspublic 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 | ||||||||||