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

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.NotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.EObjectImpl
              |
              +--org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                    |
                    +--org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl
All Implemented Interfaces:
EObject, GenBase, GenClassifier, InternalEObject, Notifier
Direct Known Subclasses:
GenClassImpl, GenDataTypeImpl

public abstract class GenClassifierImpl
extends GenBaseImpl
implements GenClassifier

An implementation of the model object 'Gen Meta Object'.

The following features are implemented:


Inner classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
GenBaseImpl.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.ImportManager, GenBaseImpl.UniqueNameHelper
 
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
EObjectImpl.EPropertiesHolder
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
ecoreGenPackage, javaLangTypes, javaReservedWords, theEcorePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties
 
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected GenClassifierImpl()
          
 
Method Summary
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
          
 boolean eIsSet(EStructuralFeature eFeature)
          
protected  EClass eStaticClass()
          
 java.lang.String getClassifierAccessorName()
           
 java.lang.String getClassifierID()
           
 java.lang.String getClassifierInstanceName()
           
 EClassifier getEcoreClassifier()
           
 java.lang.String getFormattedName()
          This returns a name like 'XSDElementDeclaration' formatted like 'XSD Element Declaration'
 GenPackage getGenPackage()
          
 java.lang.String getImportedMetaType()
           
 java.lang.String getMetaType()
           
 java.lang.String getName()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, capName, collectGenClasses, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, generate, generateEdit, generateEditor, getAllGenPackages, getGenModel, getImplClassName, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasModelContribution, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, setImportManager, uncapName, uncapPrefixedName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eProperties, eProxyURI, eResource, eSet, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings, eUnset, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver
 
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, ePackageGenModel, format, generate, generateEdit, generateEditor, getGenModel, reconcile, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, 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
 

Constructor Detail

GenClassifierImpl

protected GenClassifierImpl()
Method Detail

eStaticClass

protected EClass eStaticClass()
Overrides:
eStaticClass in class GenBaseImpl

getGenPackage

public GenPackage getGenPackage()
Specified by:
getGenPackage in interface GenClassifier
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClassifier
Returns:
the value of the 'Gen Package' reference.
See Also:
GenModelPackage.getGenClassifier_GenPackage(), GenPackage.getGenClassifiers()

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface EObject
Overrides:
eGet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to fetch.
resolve - whether to resolve.
Returns:
the value of the given feature of the object.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
InternalEList.basicIterator(), InternalEList.basicList(), EcoreUtil.resolve(EObject, ResourceSet), EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature)

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)
Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Returns:
whether the feature of the object is set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

getEcoreClassifier

public EClassifier getEcoreClassifier()
Specified by:
getEcoreClassifier in interface GenClassifier

getImportedMetaType

public java.lang.String getImportedMetaType()
Specified by:
getImportedMetaType in interface GenClassifier

getMetaType

public java.lang.String getMetaType()
Specified by:
getMetaType in interface GenClassifier

getName

public java.lang.String getName()
Specified by:
getName in interface GenClassifier
Overrides:
getName in class GenBaseImpl

getClassifierAccessorName

public java.lang.String getClassifierAccessorName()
Specified by:
getClassifierAccessorName in interface GenClassifier

getFormattedName

public java.lang.String getFormattedName()
Description copied from interface: GenClassifier
This returns a name like 'XSDElementDeclaration' formatted like 'XSD Element Declaration'
Specified by:
getFormattedName in interface GenClassifier

getClassifierInstanceName

public java.lang.String getClassifierInstanceName()
Specified by:
getClassifierInstanceName in interface GenClassifier

getClassifierID

public java.lang.String getClassifierID()
Specified by:
getClassifierID in interface GenClassifier

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