org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenParameterImpl
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.GenParameterImpl
- All Implemented Interfaces:
- EObject, GenBase, GenParameter, InternalEObject, Notifier
- public class GenParameterImpl
- extends GenBaseImpl
- implements GenParameter
An implementation of the model object 'Gen Parameter'.
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, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings, 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, safeName, uncapName, uncapPrefixedName |
ecoreParameter
protected EParameter ecoreParameter
- The cached value of the '
Ecore Parameter' reference.
- See Also:
getEcoreParameter()
GenParameterImpl
protected GenParameterImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class GenBaseImpl
getGenOperation
public GenOperation getGenOperation()
-
- Specified by:
getGenOperation in interface GenParameter
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenParameter
- Returns:
- the value of the 'Gen Operation' container reference.
- See Also:
GenParameter.setGenOperation(GenOperation),
GenModelPackage.getGenParameter_GenOperation(),
GenOperation.getGenParameters()
setGenOperation
public void setGenOperation(GenOperation newGenOperation)
-
- Specified by:
setGenOperation in interface GenParameter
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenParameter
- Parameters:
value - the new value of the 'Gen Operation' container reference.- See Also:
GenParameter.getGenOperation()
getEcoreParameter
public EParameter getEcoreParameter()
-
- Specified by:
getEcoreParameter in interface GenParameter
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenParameter
- Returns:
- the value of the 'Ecore Parameter' reference.
- See Also:
GenParameter.setEcoreParameter(EParameter),
GenModelPackage.getGenParameter_EcoreParameter()
basicGetEcoreParameter
public EParameter basicGetEcoreParameter()
-
setEcoreParameter
public void setEcoreParameter(EParameter newEcoreParameter)
-
- Specified by:
setEcoreParameter in interface GenParameter
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenParameter
- Parameters:
value - the new value of the 'Ecore Parameter' reference.- See Also:
GenParameter.getEcoreParameter()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseAdd in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseRemove in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainer in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
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)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to set.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.ClassCastException - if there is a type conflict.ArrayStoreException - if there is a type conflect.- See Also:
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.- See Also:
EObject.eIsSet(EStructuralFeature),
EObject.eSet(EStructuralFeature, Object),
EObject.eGet(EStructuralFeature, boolean)
getName
public java.lang.String getName()
- Specified by:
getName in interface GenParameter- Overrides:
getName in class GenBaseImpl
getType
public java.lang.String getType()
- Specified by:
getType in interface GenParameter
getImportedType
public java.lang.String getImportedType()
- Specified by:
getImportedType in interface GenParameter
getTypeClassifier
public java.lang.String getTypeClassifier()
- Specified by:
getTypeClassifier in interface GenParameter
getTypeGenPackage
public GenPackage getTypeGenPackage()
- Specified by:
getTypeGenPackage in interface GenParameter
getGenPackage
public GenPackage getGenPackage()
- Specified by:
getGenPackage in interface GenParameter
initialize
public void initialize(EParameter eParameter)
- Specified by:
initialize in interface GenParameter
reconcile
public boolean reconcile(GenParameter oldGenParameterVersion)
- Specified by:
reconcile in interface GenParameter
reconcileSettings
protected void reconcileSettings(GenParameter oldGenParameterVersion)
reconcile
public boolean reconcile()
- Specified by:
reconcile in interface GenBase