Interface MethodUnit
- All Superinterfaces:
AbstractCodeElement,CodeItem,ComputationalObject,ControlElement,Element,org.eclipse.emf.ecore.EObject,KDMEntity,ModelElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MethodUnitImpl
public interface MethodUnit extends ControlElement
A representation of the model object 'Method Unit'.
The following features are supported:
- See Also:
CodePackage.getMethodUnit()
-
Method Summary
Modifier and Type Method Description ExportKindgetExport()Returns the value of the 'Export' attribute.MethodKindgetKind()Returns the value of the 'Kind' attribute.voidsetExport(ExportKind value)Sets the value of the 'Export' attribute.voidsetKind(MethodKind value)Sets the value of the 'Kind' attribute.Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.code.AbstractCodeElement
getCodeRelation, getComment, getEntryFlow, getSourceMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.code.ControlElement
getCodeElement, getType, setTypeMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttributeMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.KDMEntity
createAggregation, deleteAggregation, getGroup, getGroupedElement, getInAggregated, getInbound, getModel, getName, getOutAggregated, getOutbound, getOwnedElement, getOwnedRelation, getOwner, setNameMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement
getStereotype, getTaggedValueMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getKind
MethodKind getKind()Returns the value of the 'Kind' attribute. The literals are from the enumerationMethodKind.- Returns:
- the value of the 'Kind' attribute.
- See Also:
MethodKind,setKind(MethodKind),CodePackage.getMethodUnit_Kind()
-
setKind
Sets the value of the 'Kind' attribute.- Parameters:
value- the new value of the 'Kind' attribute.- See Also:
MethodKind,getKind()
-
getExport
ExportKind getExport()Returns the value of the 'Export' attribute. The literals are from the enumerationExportKind.- Returns:
- the value of the 'Export' attribute.
- See Also:
ExportKind,setExport(ExportKind),CodePackage.getMethodUnit_Export()
-
setExport
Sets the value of the 'Export' attribute.- Parameters:
value- the new value of the 'Export' attribute.- See Also:
ExportKind,getExport()
-