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.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
 
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 GenClassifierImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
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 getQualifiedClassifierAccessor()
           
 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, createInputStream, createMonitor, createOutputStream, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, escapeString, eSet, eUnset, eURIFragmentSegment, exists, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenOperation, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, format, formatCode, gen, gen, genEdit, genEditor, generate, generate, generate, generate, generate, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getAllGenPackages, getAnnotationInfo, getAnnotationInfo, getContents, getDocumentation, getDocumentation, getEffectiveEObjectType, getEffectiveFeatureMapWrapperInterface, getEffectiveListType, getEffectiveMapType, getEncoding, getExtendedMetaData, getGenAnnotation, getGenAnnotations, getGenModel, getImplClassName, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, hasModelContribution, indent, isBlank, isEffectiveSuppressEMFTypes, isJavaUtilMapEntry, isPrimitiveType, isReadOnly, parseName, reconcileGenAnnotations, safeName, setImportManager, setOverwriteable, 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
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, 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, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getDocumentation, getGenAnnotation, getGenAnnotations, getGenModel, 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
 
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(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class GenBaseImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class GenBaseImpl

getEcoreModelElement

public EModelElement getEcoreModelElement()
Specified by:
getEcoreModelElement in interface GenBase
Overrides:
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

getQualifiedClassifierAccessor

public String getQualifiedClassifierAccessor()
Specified by:
getQualifiedClassifierAccessor 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-2006 IBM Corporation and others.
All Rights Reserved.