org.eclipse.emf.ecore.xcore
Interface XOperation

All Superinterfaces:
EObject, Notifier, XMember, XModelElement, XNamedElement, XTypedElement
All Known Implementing Classes:
XOperationImpl

public interface XOperation
extends XMember

A representation of the model object 'XOperation'.

The following features are supported:

See Also:
XcorePackage.getXOperation()

Method Summary
 org.eclipse.xtext.xbase.XBlockExpression getBody()
          Returns the value of the 'Body' containment reference
 EList<XGenericType> getExceptions()
          Returns the value of the 'Exceptions' containment reference list.
 EList<XParameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 EList<XTypeParameter> getTypeParameters()
          Returns the value of the 'Type Parameters' containment reference list.
 void setBody(org.eclipse.xtext.xbase.XBlockExpression value)
          Sets the value of the 'Body' containment reference
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XMember
getContainingClass
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XTypedElement
getMultiplicity, getType, isUnique, isUnordered, setMultiplicity, setType, setUnique, setUnordered
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XNamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XModelElement
getAnnotation, getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getTypeParameters

EList<XTypeParameter> getTypeParameters()
Returns the value of the 'Type Parameters' containment reference list. The list contents are of type XTypeParameter.

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

Returns:
the value of the 'Type Parameters' containment reference list.
See Also:
XcorePackage.getXOperation_TypeParameters()

getParameters

EList<XParameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type XParameter. It is bidirectional and its opposite is 'Operation'.

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

Returns:
the value of the 'Parameters' containment reference list.
See Also:
XcorePackage.getXOperation_Parameters(), XParameter.getOperation()

getExceptions

EList<XGenericType> getExceptions()
Returns the value of the 'Exceptions' containment reference list. The list contents are of type XGenericType.

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

Returns:
the value of the 'Exceptions' containment reference list.
See Also:
XcorePackage.getXOperation_Exceptions()

getBody

org.eclipse.xtext.xbase.XBlockExpression getBody()
Returns the value of the 'Body' containment reference.

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

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(XBlockExpression), XcorePackage.getXOperation_Body()

setBody

void setBody(org.eclipse.xtext.xbase.XBlockExpression value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()

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