|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenOperation
A representation of the model object 'Gen Operation'.
The following features are supported:
GenModelPackage.getGenOperation()
Method Summary | |
---|---|
java.lang.String |
getBody(java.lang.String indentation)
|
java.lang.String |
getCapName()
|
EOperation |
getEcoreOperation()
Returns the value of the 'Ecore Operation' reference |
java.lang.String |
getFormattedName()
|
GenClass |
getGenClass()
Returns the value of the 'Gen Class' container reference. |
java.util.List<GenClassifier> |
getGenExceptions()
|
GenPackage |
getGenPackage()
|
EList<GenParameter> |
getGenParameters()
Returns the value of the 'Gen Parameters' containment reference list. |
EList<GenTypeParameter> |
getGenTypeParameters()
Returns the value of the 'Gen Type Parameters' containment reference list. |
java.lang.String |
getImportedMetaType()
|
java.lang.String |
getImportedReturnType()
Deprecated. As of EMF 2.1, use getImportedType(GenClass) instead. |
java.lang.String |
getModelInfo()
|
java.lang.String |
getName()
|
java.lang.String |
getObjectReturnType()
Deprecated. As of EMF 2.1, use getObjectType(GenClass) instead. |
java.lang.String |
getParameterNames(java.lang.String separator)
|
java.lang.String |
getParameters()
Deprecated. |
java.lang.String |
getParameters(GenClass context)
|
java.lang.String |
getParameterTypes(java.lang.String separator)
|
java.lang.String |
getParameterTypes(java.lang.String separator,
boolean qualified)
|
java.lang.String |
getReturnType()
Deprecated. As of EMF 2.1, use getType(GenClass) 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()
Deprecated. |
java.lang.String |
getThrows(GenClass context)
|
java.lang.String |
getTypeParameters(GenClass context)
|
boolean |
hasBody()
|
boolean |
hasGenericExceptions()
|
boolean |
hasParameterDocumentation()
|
void |
initialize(EOperation eOperation)
|
boolean |
isInvariant()
|
boolean |
isOverrideOf(GenClass context,
GenOperation genOperation)
|
boolean |
isOverrideOf(GenOperation genOperation)
Deprecated. |
boolean |
isPrimitiveReturnType()
Deprecated. As of EMF 2.1, use isPrimitiveType instead. |
boolean |
isSuppressedVisibility()
|
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.GenBase |
---|
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getCopyright, getDocumentation, getGenAnnotation, getGenAnnotations, getGenModel, hasCopyright, 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 |
---|
GenClass getGenClass()
Gen Operations
'.
setGenClass(GenClass)
,
GenModelPackage.getGenOperation_GenClass()
,
GenClass.getGenOperations()
void setGenClass(GenClass value)
Gen Class
' container reference.
value
- the new value of the 'Gen Class' container reference.getGenClass()
EOperation getEcoreOperation()
setEcoreOperation(EOperation)
,
GenModelPackage.getGenOperation_EcoreOperation()
void setEcoreOperation(EOperation value)
Ecore Operation
' reference.
value
- the new value of the 'Ecore Operation' reference.getEcoreOperation()
EList<GenParameter> getGenParameters()
GenParameter
.
It is bidirectional and its opposite is 'Gen Operation
'.
GenModelPackage.getGenOperation_GenParameters()
,
GenParameter.getGenOperation()
EList<GenTypeParameter> getGenTypeParameters()
GenTypeParameter
.
GenModelPackage.getGenOperation_GenTypeParameters()
java.lang.String getName()
java.lang.String getCapName()
java.lang.String getFormattedName()
boolean isVoid()
@Deprecated java.lang.String getReturnTypeClassifier()
getTypeClassifierAccessorName
instead.
@Deprecated GenPackage getReturnTypeGenPackage()
getTypeGenPackage
instead.
@Deprecated java.lang.String getReturnType()
getType(GenClass)
instead.
@Deprecated java.lang.String getImportedReturnType()
getImportedType(GenClass)
instead.
@Deprecated java.lang.String getObjectReturnType()
getObjectType(GenClass)
instead.
@Deprecated boolean isPrimitiveReturnType()
isPrimitiveType
instead.
java.lang.String getParameters(GenClass context)
@Deprecated java.lang.String getParameters()
getParameters(GenClass)
with either null
for erasing type parameter references
or a GenClass
context representing potential type substitutions for type parameter references.
By default, this will just do getParameters(getGenClass())
.
getParameters(GenClass)
java.lang.String getParameterTypes(java.lang.String separator)
java.lang.String getParameterTypes(java.lang.String separator, boolean qualified)
java.lang.String getParameterNames(java.lang.String separator)
java.lang.String getImportedMetaType()
GenPackage getGenPackage()
void initialize(EOperation eOperation)
java.lang.String getModelInfo()
boolean reconcile(GenOperation oldGenOperationVersion)
boolean hasBody()
java.lang.String getBody(java.lang.String indentation)
java.util.List<GenClassifier> getGenExceptions()
java.lang.String getThrows(GenClass context)
@Deprecated java.lang.String getThrows()
getThrows(GenClass)
with either null
for erasing type parameter references
or a GenClass
context representing potential type substitutions for type parameter references.
By default, this will just do getThrows(getGenClass())
.
getThrows(GenClass)
boolean isInvariant()
boolean isOverrideOf(GenClass context, GenOperation genOperation)
@Deprecated boolean isOverrideOf(GenOperation genOperation)
isOverrideOf(GenClass, GenOperation)
with either null
for erasing type parameter references
or a GenClass
context representing potential type substitutions for type parameter references.
By default, this will just do isOverrideOf(getGenClass(), genOperation)
.
isOverrideOf(GenClass, GenOperation)
java.lang.String getTypeParameters(GenClass context)
boolean hasGenericExceptions()
boolean hasParameterDocumentation()
boolean isSuppressedVisibility()
|
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 |