|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.GenTypedElementImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenOperationImpl
An implementation of the model object 'Gen Operation'.
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 | |
protected EOperation |
ecoreOperation
The cached value of the ' Ecore Operation ' reference |
protected EList |
genParameters
The cached value of the ' Gen Parameters ' containment reference list |
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 |
GenOperationImpl()
|
Method Summary | |
EOperation |
basicGetEcoreOperation()
|
NotificationChain |
basicSetGenClass(GenClass newGenClass,
NotificationChain msgs)
|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
protected java.lang.String |
getBody()
|
java.lang.String |
getBody(java.lang.String indentation)
|
java.lang.String |
getCapName()
|
EOperation |
getEcoreOperation()
|
ETypedElement |
getEcoreTypedElement()
|
java.lang.String |
getFormattedName()
|
GenClass |
getGenClass()
|
java.util.List |
getGenExceptions()
|
GenPackage |
getGenPackage()
|
EList |
getGenParameters()
|
java.lang.String |
getImportedInternalType()
|
java.lang.String |
getImportedMetaType()
|
java.lang.String |
getImportedReturnType()
Deprecated. As of EMF 2.1, use getImportedType instead. |
java.lang.String |
getImportedType()
|
java.lang.String |
getListItemType()
|
java.lang.String |
getModelInfo()
|
java.lang.String |
getName()
|
java.lang.String |
getObjectReturnType()
Deprecated. As of EMF 2.1, use getObjectType instead. |
java.lang.String |
getObjectType()
|
java.lang.String |
getParameterNames(java.lang.String separator)
|
java.lang.String |
getParameters()
|
protected java.lang.String |
getParameters(boolean formal)
|
java.lang.String |
getParameterTypes(java.lang.String separator)
|
java.lang.String |
getParameterTypes(java.lang.String separator,
boolean qualified)
|
java.lang.String |
getPrimitiveValueFunction()
|
java.lang.String |
getQualifiedListItemType()
|
protected EClassifier |
getReturn()
Deprecated. As of EMF 2.1, simply call getEcoreTypedElement().getEType() . |
java.lang.String |
getReturnType()
Deprecated. As of EMF 2.1, use getType instead. |
java.lang.String |
getReturnTypeClassifier()
Deprecated. As of EMF 2.1, use getTypeClassifierAccessorName instead. |
GenPackage |
getReturnTypeGenPackage()
Deprecated. As of EMF 2.1, use getTypeGenPackage instead. |
java.lang.String |
getThrows()
|
java.lang.String |
getType()
|
java.lang.String |
getTypeClassifierAccessorName()
|
GenPackage |
getTypeGenPackage()
|
boolean |
hasBody()
|
void |
initialize(EOperation eOperation)
|
boolean |
isFeatureMapType()
|
boolean |
isInvariant()
|
boolean |
isOverrideOf(GenOperation genOperation)
|
boolean |
isPrimitiveReturnType()
Deprecated. As of EMF 2.1, use isPrimitiveType instead. |
boolean |
isPrimitiveType()
|
boolean |
isStringBasedType()
|
boolean |
isStringType()
|
boolean |
isVoid()
|
boolean |
reconcile()
|
boolean |
reconcile(GenOperation oldGenOperationVersion)
|
protected void |
reconcileSettings(GenOperation oldGenOperationVersion)
|
void |
setEcoreOperation(EOperation newEcoreOperation)
|
void |
setGenClass(GenClass newGenClass)
|
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.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.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, 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 |
Field Detail |
protected EOperation ecoreOperation
Ecore Operation
' reference.
getEcoreOperation()
protected EList genParameters
Gen Parameters
' containment reference list.
getGenParameters()
Constructor Detail |
protected GenOperationImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class GenTypedElementImpl
public GenClass getGenClass()
getGenClass
in interface GenOperation
GenOperation.setGenClass(GenClass)
,
GenModelPackage.getGenOperation_GenClass()
,
GenClass.getGenOperations()
public NotificationChain basicSetGenClass(GenClass newGenClass, NotificationChain msgs)
public void setGenClass(GenClass newGenClass)
setGenClass
in interface GenOperation
newGenClass
- the new value of the 'Gen Class' container reference.GenOperation.getGenClass()
public EOperation getEcoreOperation()
getEcoreOperation
in interface GenOperation
GenOperation.setEcoreOperation(EOperation)
,
GenModelPackage.getGenOperation_EcoreOperation()
public EOperation basicGetEcoreOperation()
public void setEcoreOperation(EOperation newEcoreOperation)
setEcoreOperation
in interface GenOperation
newEcoreOperation
- the new value of the 'Ecore Operation' reference.GenOperation.getEcoreOperation()
public EList getGenParameters()
getGenParameters
in interface GenOperation
GenModelPackage.getGenOperation_GenParameters()
,
GenParameter.getGenOperation()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class GenBaseImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class GenBaseImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class GenBaseImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class GenBaseImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class GenBaseImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class GenBaseImpl
public ETypedElement getEcoreTypedElement()
getEcoreTypedElement
in class GenTypedElementImpl
public java.lang.String getName()
getName
in interface GenOperation
getName
in class GenBaseImpl
public java.lang.String getCapName()
getCapName
in interface GenOperation
public java.lang.String getFormattedName()
getFormattedName
in interface GenOperation
public boolean isVoid()
isVoid
in interface GenOperation
protected EClassifier getReturn()
getEcoreTypedElement().getEType()
.
public java.lang.String getTypeClassifierAccessorName()
getTypeClassifierAccessorName
in interface GenTypedElement
getTypeClassifierAccessorName
in class GenTypedElementImpl
public GenPackage getTypeGenPackage()
getTypeGenPackage
in interface GenTypedElement
getTypeGenPackage
in class GenTypedElementImpl
public java.lang.String getType()
getType
in interface GenTypedElement
getType
in class GenTypedElementImpl
public java.lang.String getImportedType()
getImportedType
in interface GenTypedElement
getImportedType
in class GenTypedElementImpl
public java.lang.String getObjectType()
getObjectType
in interface GenTypedElement
getObjectType
in class GenTypedElementImpl
public java.lang.String getImportedInternalType()
getImportedInternalType
in interface GenTypedElement
getImportedInternalType
in class GenTypedElementImpl
public boolean isFeatureMapType()
isFeatureMapType
in interface GenTypedElement
isFeatureMapType
in class GenTypedElementImpl
public java.lang.String getListItemType()
getListItemType
in interface GenTypedElement
getListItemType
in class GenTypedElementImpl
public java.lang.String getQualifiedListItemType()
getQualifiedListItemType
in interface GenTypedElement
getQualifiedListItemType
in class GenTypedElementImpl
public boolean isPrimitiveType()
isPrimitiveType
in interface GenTypedElement
isPrimitiveType
in class GenTypedElementImpl
public java.lang.String getPrimitiveValueFunction()
getPrimitiveValueFunction
in interface GenTypedElement
getPrimitiveValueFunction
in class GenTypedElementImpl
public boolean isStringType()
isStringType
in interface GenTypedElement
isStringType
in class GenTypedElementImpl
public boolean isStringBasedType()
isStringBasedType
in interface GenTypedElement
isStringBasedType
in class GenTypedElementImpl
public java.lang.String getReturnTypeClassifier()
getTypeClassifierAccessorName
instead.
getReturnTypeClassifier
in interface GenOperation
public GenPackage getReturnTypeGenPackage()
getTypeGenPackage
instead.
getReturnTypeGenPackage
in interface GenOperation
public java.lang.String getReturnType()
getType
instead.
getReturnType
in interface GenOperation
public java.lang.String getImportedReturnType()
getImportedType
instead.
getImportedReturnType
in interface GenOperation
public java.lang.String getObjectReturnType()
getObjectType
instead.
getObjectReturnType
in interface GenOperation
public boolean isPrimitiveReturnType()
isPrimitiveType
instead.
isPrimitiveReturnType
in interface GenOperation
public java.lang.String getParameters()
getParameters
in interface GenOperation
protected java.lang.String getParameters(boolean formal)
public java.lang.String getParameterTypes(java.lang.String separator)
getParameterTypes
in interface GenOperation
public java.lang.String getParameterTypes(java.lang.String separator, boolean qualified)
getParameterTypes
in interface GenOperation
public java.lang.String getImportedMetaType()
getImportedMetaType
in interface GenOperation
public GenPackage getGenPackage()
getGenPackage
in interface GenOperation
public void initialize(EOperation eOperation)
initialize
in interface GenOperation
public java.lang.String getModelInfo()
getModelInfo
in interface GenOperation
getModelInfo
in class GenBaseImpl
public boolean reconcile(GenOperation oldGenOperationVersion)
reconcile
in interface GenOperation
protected void reconcileSettings(GenOperation oldGenOperationVersion)
public boolean reconcile()
reconcile
in interface GenBase
protected java.lang.String getBody()
public boolean hasBody()
hasBody
in interface GenOperation
public java.lang.String getBody(java.lang.String indentation)
getBody
in interface GenOperation
public java.util.List getGenExceptions()
getGenExceptions
in interface GenOperation
public java.lang.String getThrows()
getThrows
in interface GenOperation
public boolean isInvariant()
isInvariant
in interface GenOperation
public java.lang.String getParameterNames(java.lang.String separator)
getParameterNames
in interface GenOperation
public boolean isOverrideOf(GenOperation genOperation)
isOverrideOf
in interface GenOperation
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |