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:
| 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 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 |
GenClassifierImpl
protected GenClassifierImpl()
-
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