org.eclipse.emf.codegen.ecore.genmodel
Interface GenOperation

All Superinterfaces:
EObject, GenBase, GenTypedElement, Notifier
All Known Implementing Classes:
GenOperationImpl

public interface GenOperation
extends GenTypedElement

A representation of the model object 'Gen Operation'.

The following features are supported:

See Also:
GenModelPackage.getGenOperation()

Method Summary
 String getBody(String indentation)
           
 String getCapName()
           
 EOperation getEcoreOperation()
          Returns the value of the 'Ecore Operation' reference
 String getFormattedName()
           
 GenClass getGenClass()
          Returns the value of the 'Gen Class' container reference.
 List getGenExceptions()
           
 GenPackage getGenPackage()
           
 EList getGenParameters()
          Returns the value of the 'Gen Parameters' containment reference list.
 String getImportedMetaType()
           
 String getImportedReturnType()
          Deprecated. As of EMF 2.1, use getImportedType instead.
 String getModelInfo()
           
 String getName()
           
 String getObjectReturnType()
          Deprecated. As of EMF 2.1, use getObjectType instead.
 String getParameterNames(String separator)
           
 String getParameters()
           
 String getParameterTypes(String separator)
           
 String getParameterTypes(String separator, boolean qualified)
           
 String getReturnType()
          Deprecated. As of EMF 2.1, use getType instead.
 String getReturnTypeClassifier()
          Deprecated. As of EMF 2.1, use getTypeClassifierAccessorName instead.
 GenPackage getReturnTypeGenPackage()
          Deprecated. As of EMF 2.1, use getTypeGenPackage instead.
 String getThrows()
           
 boolean hasBody()
           
 void initialize(EOperation eOperation)
           
 boolean isInvariant()
           
 boolean isOverrideOf(GenOperation genOperation)
           
 boolean isPrimitiveReturnType()
          Deprecated. As of EMF 2.1, use isPrimitiveType instead.
 boolean isVoid()
           
 boolean reconcile(GenOperation oldGenOperationVersion)
           
 void setEcoreOperation(EOperation value)
          Sets the value of the 'Ecore Operation' reference
 void setGenClass(GenClass value)
          Sets the value of the 'Gen Class' container reference
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenTypedElement
getEcoreModelElement, getEObjectCast, getGenClassType, getGenDataTypeType, getGenEnumType, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedInternalType, getImportedMapEntryType, getImportedType, getInternalTypeCast, getListItemType, getLowerBound, getMapEntryTypeGenClass, getMapGenClass, getMapItemType, getNonEObjectInternalTypeCast, getObjectType, getOrderedFlag, getPrimitiveValueFunction, getQualifiedListItemType, getType, getTypeClassifier, getTypeClassifierAccessorName, getTypeGenClass, getTypeGenClassifier, getTypeGenDataType, getTypeGenEnum, getTypeGenPackage, getUniqueFlag, getUpperBound, isBooleanType, isEffectiveSuppressEMFTypes, isEnumBasedType, isEnumType, isFeatureMapType, isFeatureMapWrapped, isListType, isMapType, isPrimitiveType, isStringBasedType, isStringType, isUnique, isWrappedFeatureMapType
 
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
 

Method Detail

getGenClass

public GenClass getGenClass()
Returns the value of the 'Gen Class' container reference. It is bidirectional and its opposite is 'Gen Operations'.

If the meaning of the 'Gen Class' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Gen Class' container reference.
See Also:
setGenClass(GenClass), GenModelPackage.getGenOperation_GenClass(), GenClass.getGenOperations()

setGenClass

public void setGenClass(GenClass value)
Sets the value of the 'Gen Class' container reference.

Parameters:
value - the new value of the 'Gen Class' container reference.
See Also:
getGenClass()

getEcoreOperation

public EOperation getEcoreOperation()
Returns the value of the 'Ecore Operation' reference.

If the meaning of the 'Ecore Operation' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ecore Operation' reference.
See Also:
setEcoreOperation(EOperation), GenModelPackage.getGenOperation_EcoreOperation()

setEcoreOperation

public void setEcoreOperation(EOperation value)
Sets the value of the 'Ecore Operation' reference.

Parameters:
value - the new value of the 'Ecore Operation' reference.
See Also:
getEcoreOperation()

getGenParameters

public EList getGenParameters()
Returns the value of the 'Gen Parameters' containment reference list. The list contents are of type GenParameter. It is bidirectional and its opposite is 'Gen Operation'.

If the meaning of the 'Gen Parameters' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Gen Parameters' containment reference list.
See Also:
GenModelPackage.getGenOperation_GenParameters(), GenParameter.getGenOperation()

getName

public String getName()

getCapName

public String getCapName()

getFormattedName

public String getFormattedName()

isVoid

public boolean isVoid()

getReturnTypeClassifier

public String getReturnTypeClassifier()
Deprecated. As of EMF 2.1, use getTypeClassifierAccessorName instead.


getReturnTypeGenPackage

public GenPackage getReturnTypeGenPackage()
Deprecated. As of EMF 2.1, use getTypeGenPackage instead.


getReturnType

public String getReturnType()
Deprecated. As of EMF 2.1, use getType instead.


getImportedReturnType

public String getImportedReturnType()
Deprecated. As of EMF 2.1, use getImportedType instead.


getObjectReturnType

public String getObjectReturnType()
Deprecated. As of EMF 2.1, use getObjectType instead.


isPrimitiveReturnType

public boolean isPrimitiveReturnType()
Deprecated. As of EMF 2.1, use isPrimitiveType instead.


getParameters

public String getParameters()

getParameterTypes

public String getParameterTypes(String separator)

getParameterTypes

public String getParameterTypes(String separator,
                                boolean qualified)

getParameterNames

public String getParameterNames(String separator)

getImportedMetaType

public String getImportedMetaType()

getGenPackage

public GenPackage getGenPackage()

initialize

public void initialize(EOperation eOperation)

getModelInfo

public String getModelInfo()

reconcile

public boolean reconcile(GenOperation oldGenOperationVersion)

hasBody

public boolean hasBody()

getBody

public String getBody(String indentation)

getGenExceptions

public List getGenExceptions()

getThrows

public String getThrows()

isInvariant

public boolean isInvariant()

isOverrideOf

public boolean isOverrideOf(GenOperation genOperation)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.