org.eclipse.gmt.modisco.omg.kdm.code
Interface MethodUnit

All Superinterfaces:
AbstractCodeElement, CodeItem, ComputationalObject, ControlElement, Element, KDMEntity, ModelElement

public interface MethodUnit
extends ControlElement

A representation of the model object 'Method Unit'.

The following features are supported:

See Also:
CodePackage.getMethodUnit()
Generated:
Model:

Method Summary
 ExportKind getExport()
          Returns the value of the 'Export' attribute.
 MethodKind getKind()
          Returns the value of the 'Kind' attribute.
 void setExport(ExportKind value)
          Sets the value of the 'Export' attribute.
 void setKind(MethodKind value)
          Sets the value of the 'Kind' attribute.
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.code.ControlElement
getCodeElement, getType, setType
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.code.AbstractCodeElement
getCodeRelation, getComment, getEntryFlow, getSource
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.KDMEntity
createAggregation, deleteAggregation, getGroup, getGroupedElement, getInAggregated, getInbound, getModel, getName, getOutAggregated, getOutbound, getOwnedElement, getOwnedRelation, getOwner, setName
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement
getStereotype, getTaggedValue
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttribute
 

Method Detail

getKind

MethodKind getKind()
Returns the value of the 'Kind' attribute. The literals are from the enumeration MethodKind.

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

Returns:
the value of the 'Kind' attribute.
See Also:
MethodKind, setKind(MethodKind), CodePackage.getMethodUnit_Kind()
Generated:
Model:

setKind

void setKind(MethodKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
MethodKind, getKind()
Generated:

getExport

ExportKind getExport()
Returns the value of the 'Export' attribute. The literals are from the enumeration ExportKind.

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

Returns:
the value of the 'Export' attribute.
See Also:
ExportKind, setExport(ExportKind), CodePackage.getMethodUnit_Export()
Generated:
Model:

setExport

void setExport(ExportKind value)
Sets the value of the 'Export' attribute.

Parameters:
value - the new value of the 'Export' attribute.
See Also:
ExportKind, getExport()
Generated: