org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenEnumLiteralImpl
java.lang.Object
org.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.GenEnumLiteralImpl
- All Implemented Interfaces:
- EObject, GenBase, GenEnumLiteral, InternalEObject, Notifier
- public class GenEnumLiteralImpl
- extends GenBaseImpl
- implements GenEnumLiteral
An implementation of the model object 'Gen Enum Literal'.
The following features are implemented:
| Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, capName, collectGenClasses, collectGenConstraints, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, generate, generateEdit, generateEditor, generateSchema, getAllGenPackages, getDocumentation, getDocumentation, getExtendedMetaData, getGenModel, getImplClassName, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, hasModelContribution, indent, isBlank, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, setImportManager, uncapName, 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, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, toString |
| Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, generateSchema, getDocumentation, getGenModel, hasDocumentation, safeName, uncapName, uncapPrefixedName |
ecoreEnumLiteral
protected EEnumLiteral ecoreEnumLiteral
- The cached value of the '
Ecore Enum Literal' reference.
- See Also:
getEcoreEnumLiteral()
GenEnumLiteralImpl
protected GenEnumLiteralImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class GenBaseImpl
getGenEnum
public GenEnum getGenEnum()
-
- Specified by:
getGenEnum in interface GenEnumLiteral
- Returns:
- the value of the 'Gen Enum' container reference.
- See Also:
GenEnumLiteral.setGenEnum(GenEnum),
GenModelPackage.getGenEnumLiteral_GenEnum(),
GenEnum.getGenEnumLiterals()
setGenEnum
public void setGenEnum(GenEnum newGenEnum)
-
- Specified by:
setGenEnum in interface GenEnumLiteral
- Parameters:
newGenEnum - the new value of the 'Gen Enum' container reference.- See Also:
GenEnumLiteral.getGenEnum()
getEcoreModelElement
public EModelElement getEcoreModelElement()
- Specified by:
getEcoreModelElement in class GenBaseImpl
getEcoreEnumLiteral
public EEnumLiteral getEcoreEnumLiteral()
-
- Specified by:
getEcoreEnumLiteral in interface GenEnumLiteral
- Returns:
- the value of the 'Ecore Enum Literal' reference.
- See Also:
GenEnumLiteral.setEcoreEnumLiteral(EEnumLiteral),
GenModelPackage.getGenEnumLiteral_EcoreEnumLiteral()
basicGetEcoreEnumLiteral
public EEnumLiteral basicGetEcoreEnumLiteral()
-
setEcoreEnumLiteral
public void setEcoreEnumLiteral(EEnumLiteral newEcoreEnumLiteral)
-
- Specified by:
setEcoreEnumLiteral in interface GenEnumLiteral
- Parameters:
newEcoreEnumLiteral - the new value of the 'Ecore Enum Literal' reference.- See Also:
GenEnumLiteral.getEcoreEnumLiteral()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseAdd in interface InternalEObject- Overrides:
eInverseAdd in class BasicEObjectImpl
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseRemove in interface InternalEObject- Overrides:
eInverseRemove in class BasicEObjectImpl
eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
-
- Specified by:
eBasicRemoveFromContainer in interface InternalEObject- Overrides:
eBasicRemoveFromContainer in class BasicEObjectImpl
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
eSet
public void eSet(EStructuralFeature eFeature,
Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class BasicEObjectImpl
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class BasicEObjectImpl
getName
public String getName()
- Specified by:
getName in interface GenEnumLiteral- Specified by:
getName in class GenBaseImpl
getCapName
public String getCapName()
- Specified by:
getCapName in interface GenEnumLiteral
getFormattedName
public String getFormattedName()
- Specified by:
getFormattedName in interface GenEnumLiteral
getValue
public int getValue()
- Specified by:
getValue in interface GenEnumLiteral
getEnumLiteralID
public String getEnumLiteralID()
- Specified by:
getEnumLiteralID in interface GenEnumLiteral
getGenPackage
public GenPackage getGenPackage()
- Specified by:
getGenPackage in interface GenEnumLiteral
getEnumLiteralAccessorName
public String getEnumLiteralAccessorName()
- Specified by:
getEnumLiteralAccessorName in interface GenEnumLiteral
initialize
public void initialize(EEnumLiteral eEnumLiteral)
- Specified by:
initialize in interface GenEnumLiteral
getModelInfo
public String getModelInfo()
- Specified by:
getModelInfo in interface GenEnumLiteral- Overrides:
getModelInfo in class GenBaseImpl
reconcile
public boolean reconcile(GenEnumLiteral oldGenEnumLiteralVersion)
- Specified by:
reconcile in interface GenEnumLiteral
reconcileSettings
protected void reconcileSettings(GenEnumLiteral oldGenEnumLiteralVersion)
reconcile
public boolean reconcile()
- Specified by:
reconcile in interface GenBase