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

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                  extended byorg.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:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, 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.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
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, 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 interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected GenClassifierImpl()
           
 
Method Summary
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
protected  EClass eStaticClass()
           
 List getAllGenConstraints()
           
 String getClassifierAccessorName()
           
 String getClassifierID()
           
 String getClassifierInstanceName()
           
 GenClassifier getConstraintImplementor(String constraint)
           
abstract  EClassifier getEcoreClassifier()
           
 EModelElement getEcoreModelElement()
           
 String getFormattedName()
          This returns a name like 'XSDElementDeclaration' formatted like 'XSD Element Declaration'
 List getGenConstraints()
           
 GenPackage getGenPackage()
           
abstract  String getImportedMetaType()
           
 String getMetaType()
           
 String getName()
           
 String getSafeUncapName()
           
 String getUncapName()
           
 boolean hasOnlyDefaultConstraints()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
addNonDuplicates, appendAnnotationInfo, appendAnnotationInfo, appendAnnotationInfo, appendLineBreak, appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, collectGenClasses, collectGenConstraints, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, escapeString, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenOperation, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, formatCode, generate, generate, generate, generate, generate, generateEdit, generateEditor, generateSchema, generateTests, getAllGenPackages, getAnnotationInfo, getAnnotationInfo, getDocumentation, getDocumentation, getEffectiveEObjectType, getEffectiveFeatureMapWrapperInterface, getEffectiveListType, getEffectiveMapType, getExtendedMetaData, getGenModel, getImplClassName, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, hasModelContribution, indent, isBlank, isEffectiveSuppressEMFTypes, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, setImportManager, uncapName, uncapPrefixedName, uncapPrefixedName, unicodeEscapeEncode
 
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.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eUnset, toString
 
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.GenClassifier
getConstraintDelegate, getGeneratedInstanceClassFlag, getImportedInstanceClassName
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, format, generate, generateEdit, generateEditor, generateSchema, generateTests, getDocumentation, getGenModel, hasDocumentation, reconcile, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, 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
Returns:
the value of the 'Gen Package' reference.
See Also:
GenModelPackage.getGenClassifier_GenPackage(), GenPackage.getGenClassifiers()

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface EObject
Overrides:
eGet in class BasicEObjectImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class BasicEObjectImpl

getEcoreModelElement

public EModelElement getEcoreModelElement()
Specified by:
getEcoreModelElement in class GenBaseImpl

getEcoreClassifier

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

getImportedMetaType

public abstract String getImportedMetaType()
Specified by:
getImportedMetaType in interface GenClassifier

getMetaType

public String getMetaType()
Specified by:
getMetaType in interface GenClassifier

getName

public String getName()
Specified by:
getName in interface GenClassifier
Specified by:
getName in class GenBaseImpl

getUncapName

public String getUncapName()

getSafeUncapName

public String getSafeUncapName()
Specified by:
getSafeUncapName in interface GenClassifier

getClassifierAccessorName

public String getClassifierAccessorName()
Specified by:
getClassifierAccessorName in interface GenClassifier

getFormattedName

public 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 String getClassifierInstanceName()
Specified by:
getClassifierInstanceName in interface GenClassifier

getClassifierID

public String getClassifierID()
Specified by:
getClassifierID in interface GenClassifier

getGenConstraints

public List getGenConstraints()
Specified by:
getGenConstraints in interface GenClassifier

getAllGenConstraints

public List getAllGenConstraints()
Specified by:
getAllGenConstraints in interface GenClassifier

getConstraintImplementor

public GenClassifier getConstraintImplementor(String constraint)
Specified by:
getConstraintImplementor in interface GenClassifier

hasOnlyDefaultConstraints

public boolean hasOnlyDefaultConstraints()
Specified by:
hasOnlyDefaultConstraints in interface GenClassifier

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