org.eclipse.xtend.core.xtend
Interface XtendFunction

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, XtendAnnotationTarget, XtendMember
All Known Implementing Classes:
XtendFunctionImpl

public interface XtendFunction
extends XtendMember

A representation of the model object 'Function'.

The following features are supported:

See Also:
XtendPackage.getXtendFunction()
EMF generated code
EMF model element

Method Summary
 CreateExtensionInfo getCreateExtensionInfo()
          Returns the value of the 'Create Extension Info' containment reference.
 org.eclipse.emf.common.util.EList<JvmTypeReference> getExceptions()
          Returns the value of the 'Exceptions' containment reference list.
 XExpression getExpression()
          Returns the value of the 'Expression' containment reference.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 JvmTypeReference getReturnType()
          Returns the value of the 'Return Type' containment reference.
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
          Returns the value of the 'Type Parameters' containment reference list.
 JvmVisibility getVisibility()
          Returns the value of the 'Visibility' attribute.
 boolean isDispatch()
          Returns the value of the 'Dispatch' attribute.
 boolean isOverride()
          Returns the value of the 'Override' attribute.
 boolean isSetVisibility()
          Returns whether the value of the 'Visibility' attribute is set.
 boolean isStatic()
          Returns the value of the 'Static' attribute.
 void setCreateExtensionInfo(CreateExtensionInfo value)
          Sets the value of the 'Create Extension Info' containment reference.
 void setDispatch(boolean value)
          Sets the value of the 'Dispatch' attribute.
 void setExpression(XExpression value)
          Sets the value of the 'Expression' containment reference.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setOverride(boolean value)
          Sets the value of the 'Override' attribute.
 void setReturnType(JvmTypeReference value)
          Sets the value of the 'Return Type' containment reference.
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute.
 void setVisibility(JvmVisibility value)
          Sets the value of the 'Visibility' attribute.
 void unsetVisibility()
          Unsets the value of the 'Visibility' attribute.
 
Methods inherited from interface org.eclipse.xtend.core.xtend.XtendMember
getAnnotationInfo, setAnnotationInfo
 
Methods inherited from interface org.eclipse.xtend.core.xtend.XtendAnnotationTarget
getAnnotations
 
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

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), XtendPackage.getXtendFunction_Name()
EMF generated code
EMF model element

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getExpression

XExpression getExpression()
Returns the value of the 'Expression' containment reference.

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

Returns:
the value of the 'Expression' containment reference.
See Also:
setExpression(XExpression), XtendPackage.getXtendFunction_Expression()
EMF generated code
EMF model element
containment="true"

setExpression

void setExpression(XExpression value)
Sets the value of the 'Expression' containment reference.

Parameters:
value - the new value of the 'Expression' containment reference.
See Also:
getExpression()
EMF generated code

getReturnType

JvmTypeReference getReturnType()
Returns the value of the 'Return Type' containment reference.

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

Returns:
the value of the 'Return Type' containment reference.
See Also:
setReturnType(JvmTypeReference), XtendPackage.getXtendFunction_ReturnType()
EMF generated code
EMF model element
containment="true"

setReturnType

void setReturnType(JvmTypeReference value)
Sets the value of the 'Return Type' containment reference.

Parameters:
value - the new value of the 'Return Type' containment reference.
See Also:
getReturnType()
EMF generated code

getParameters

org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type XtendParameter.

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:
XtendPackage.getXtendFunction_Parameters()
EMF generated code
EMF model element
containment="true"

isOverride

boolean isOverride()
Returns the value of the 'Override' attribute.

If the meaning of the 'Override' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Override' attribute.
See Also:
setOverride(boolean), XtendPackage.getXtendFunction_Override()
EMF generated code
EMF model element

setOverride

void setOverride(boolean value)
Sets the value of the 'Override' attribute.

Parameters:
value - the new value of the 'Override' attribute.
See Also:
isOverride()
EMF generated code

isDispatch

boolean isDispatch()
Returns the value of the 'Dispatch' attribute.

If the meaning of the 'Dispatch' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Dispatch' attribute.
See Also:
setDispatch(boolean), XtendPackage.getXtendFunction_Dispatch()
EMF generated code
EMF model element

setDispatch

void setDispatch(boolean value)
Sets the value of the 'Dispatch' attribute.

Parameters:
value - the new value of the 'Dispatch' attribute.
See Also:
isDispatch()
EMF generated code

getCreateExtensionInfo

CreateExtensionInfo getCreateExtensionInfo()
Returns the value of the 'Create Extension Info' containment reference.

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

Returns:
the value of the 'Create Extension Info' containment reference.
See Also:
setCreateExtensionInfo(CreateExtensionInfo), XtendPackage.getXtendFunction_CreateExtensionInfo()
EMF generated code
EMF model element
containment="true"

setCreateExtensionInfo

void setCreateExtensionInfo(CreateExtensionInfo value)
Sets the value of the 'Create Extension Info' containment reference.

Parameters:
value - the new value of the 'Create Extension Info' containment reference.
See Also:
getCreateExtensionInfo()
EMF generated code

getTypeParameters

org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
Returns the value of the 'Type Parameters' containment reference list. The list contents are of type JvmTypeParameter.

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:
XtendPackage.getXtendFunction_TypeParameters()
EMF generated code
EMF model element
containment="true"

getVisibility

JvmVisibility getVisibility()
Returns the value of the 'Visibility' attribute. The default value is "PUBLIC". The literals are from the enumeration JvmVisibility.

If the meaning of the 'Visibility' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Visibility' attribute.
See Also:
JvmVisibility, isSetVisibility(), unsetVisibility(), setVisibility(JvmVisibility), XtendPackage.getXtendFunction_Visibility()
EMF generated code
EMF model element
default="PUBLIC" unsettable="true"

setVisibility

void setVisibility(JvmVisibility value)
Sets the value of the 'Visibility' attribute.

Parameters:
value - the new value of the 'Visibility' attribute.
See Also:
JvmVisibility, isSetVisibility(), unsetVisibility(), getVisibility()
EMF generated code

unsetVisibility

void unsetVisibility()
Unsets the value of the 'Visibility' attribute.

See Also:
isSetVisibility(), getVisibility(), setVisibility(JvmVisibility)
EMF generated code

isSetVisibility

boolean isSetVisibility()
Returns whether the value of the 'Visibility' attribute is set.

Returns:
whether the value of the 'Visibility' attribute is set.
See Also:
unsetVisibility(), getVisibility(), setVisibility(JvmVisibility)
EMF generated code

isStatic

boolean isStatic()
Returns the value of the 'Static' attribute.

If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), XtendPackage.getXtendFunction_Static()
EMF generated code
EMF model element

setStatic

void setStatic(boolean value)
Sets the value of the 'Static' attribute.

Parameters:
value - the new value of the 'Static' attribute.
See Also:
isStatic()
EMF generated code

getExceptions

org.eclipse.emf.common.util.EList<JvmTypeReference> getExceptions()
Returns the value of the 'Exceptions' containment reference list. The list contents are of type JvmTypeReference.

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:
XtendPackage.getXtendFunction_Exceptions()
EMF generated code
EMF model element
containment="true"