Interface Operation
-
- All Superinterfaces:
Classifier
,java.lang.Comparable<java.lang.Object>
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,InterfaceItem
,MDWEObject
,MDWObject
,ModelElement
,org.eclipse.emf.common.notify.Notifier
,Unit
public interface Operation extends InterfaceItem
A representation of the model object 'Operation'.The following features are supported:
- See Also:
RhapsodyPackage.getOperation()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getBody()
Returns the value of the 'Body' attribute.Flowchart
getFlowchart()
Returns the value of the 'Flowchart' reference.java.lang.String
getImplementationSignature()
Returns the value of the 'Implementation Signature' attribute.java.lang.String
getInitializer()
Returns the value of the 'Initializer' attribute.Classifier
getReturns()
Returns the value of the 'Returns' reference.VisibilityKind
getVisibility()
Returns the value of the 'Visibility' attribute.boolean
isAbstract()
Returns the value of the 'Is Abstract' attribute.boolean
isCgDerived()
Returns the value of the 'Is Cg Derived' attribute.boolean
isConst()
Returns the value of the 'Is Const' attribute.boolean
isCtor()
Returns the value of the 'Is Ctor' attribute.boolean
isDtor()
Returns the value of the 'Is Dtor' attribute.boolean
isFinal()
Returns the value of the 'Is Final' attribute.boolean
isInline()
Returns the value of the 'Is Inline' attribute.boolean
isStatic()
Returns the value of the 'Is Static' attribute.boolean
isTrigger()
Returns the value of the 'Is Trigger' attribute.boolean
isVirtual()
Returns the value of the 'Is Virtual' attribute.void
setBody(java.lang.String value)
Sets the value of the 'Body
' attribute.void
setFlowchart(Flowchart value)
Sets the value of the 'Flowchart
' reference.void
setImplementationSignature(java.lang.String value)
Sets the value of the 'Implementation Signature
' attribute.void
setInitializer(java.lang.String value)
Sets the value of the 'Initializer
' attribute.void
setIsAbstract(boolean value)
Sets the value of the 'Is Abstract
' attribute.void
setIsCgDerived(boolean value)
Sets the value of the 'Is Cg Derived
' attribute.void
setIsConst(boolean value)
Sets the value of the 'Is Const
' attribute.void
setIsCtor(boolean value)
Sets the value of the 'Is Ctor
' attribute.void
setIsDtor(boolean value)
Sets the value of the 'Is Dtor
' attribute.void
setIsFinal(boolean value)
Sets the value of the 'Is Final
' attribute.void
setIsInline(boolean value)
Sets the value of the 'Is Inline
' attribute.void
setIsStatic(boolean value)
Sets the value of the 'Is Static
' attribute.void
setIsTrigger(boolean value)
Sets the value of the 'Is Trigger
' attribute.void
setIsVirtual(boolean value)
Sets the value of the 'Is Virtual
' attribute.void
setReturns(Classifier value)
Sets the value of the 'Returns
' reference.void
setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' attribute.-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.Classifier
getActivityDiagram, getAttributes, getBaseClassifiers, getBehavioralDiagrams, getDerivedClassifiers, getFlowItems, getFlows, getGeneralizations, getInterfaceItems, getLinks, getNestedClassifiers, getObjectModelDiagrams, getOperations, getPorts, getRelations, getSequenceDiagrams, getStatechart, setActivityDiagram, setStatechart
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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 com.sodius.mdw.metamodel.rhapsody.InterfaceItem
getArguments, getSignature, setSignature
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.ModelElement
getAllTags, getAnnotations, getConstraints, getConstraintsByHim, getControlledFiles, getDependencies, getDescription, getDescriptionHTML, getDescriptionRTF, getDisplayName, getFullPathName, getGUID, getHyperLinks, getInterfaceName, getLocalTags, getMainDiagram, getMetaClass, getName, getOfTemplate, getOwnedDependencies, getOwner, getProject, getProperties, getProperty, getReferences, getStereotype, getStereotypes, getTemplateParameters, getTi, getUserDefinedMetaClass, isATemplate, isExternal, isRequirementTraceabilityHandle, isShowDisplayName, isUnresolved, setDescription, setDescriptionHTML, setDescriptionRTF, setDisplayName, setFullPathName, setGUID, setInterfaceName, setIsATemplate, setIsExternal, setIsShowDisplayName, setIsUnresolved, setMainDiagram, setMetaClass, setName, setOfTemplate, setOwner, setProject, setRequirementTraceabilityHandle, setStereotype, setTi, setUserDefinedMetaClass
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.Unit
getCMHeader, getCurrentDirectory, getFilename, getLanguage, getLastModifiedTime, getStructureDiagrams, isIncludeInNextLoad, isReadOnly, isReferenceUnit, isSeparateSaveUnit, isStub, setCMHeader, setCurrentDirectory, setFilename, setIncludeInNextLoad, setIsReadOnly, setIsReferenceUnit, setIsSeparateSaveUnit, setIsStub, setLanguage, setLastModifiedTime
-
-
-
-
Method Detail
-
getVisibility
VisibilityKind getVisibility()
Returns the value of the 'Visibility' attribute. The default value is""
. The literals are from the enumerationVisibilityKind
.- Returns:
- the value of the 'Visibility' attribute.
- See Also:
VisibilityKind
,setVisibility(VisibilityKind)
,RhapsodyPackage.getOperation_Visibility()
-
setVisibility
void setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' attribute.- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind
,getVisibility()
-
isStatic
boolean isStatic()
Returns the value of the 'Is Static' attribute.- Returns:
- the value of the 'Is Static' attribute.
- See Also:
setIsStatic(boolean)
,RhapsodyPackage.getOperation_IsStatic()
-
setIsStatic
void setIsStatic(boolean value)
Sets the value of the 'Is Static
' attribute.- Parameters:
value
- the new value of the 'Is Static' attribute.- See Also:
isStatic()
-
isVirtual
boolean isVirtual()
Returns the value of the 'Is Virtual' attribute.- Returns:
- the value of the 'Is Virtual' attribute.
- See Also:
setIsVirtual(boolean)
,RhapsodyPackage.getOperation_IsVirtual()
-
setIsVirtual
void setIsVirtual(boolean value)
Sets the value of the 'Is Virtual
' attribute.- Parameters:
value
- the new value of the 'Is Virtual' attribute.- See Also:
isVirtual()
-
isConst
boolean isConst()
Returns the value of the 'Is Const' attribute.- Returns:
- the value of the 'Is Const' attribute.
- See Also:
setIsConst(boolean)
,RhapsodyPackage.getOperation_IsConst()
-
setIsConst
void setIsConst(boolean value)
Sets the value of the 'Is Const
' attribute.- Parameters:
value
- the new value of the 'Is Const' attribute.- See Also:
isConst()
-
getBody
java.lang.String getBody()
Returns the value of the 'Body' attribute. The default value is""
.- Returns:
- the value of the 'Body' attribute.
- See Also:
setBody(String)
,RhapsodyPackage.getOperation_Body()
-
setBody
void setBody(java.lang.String value)
Sets the value of the 'Body
' attribute.- Parameters:
value
- the new value of the 'Body' attribute.- See Also:
getBody()
-
isCgDerived
boolean isCgDerived()
Returns the value of the 'Is Cg Derived' attribute.- Returns:
- the value of the 'Is Cg Derived' attribute.
- See Also:
setIsCgDerived(boolean)
,RhapsodyPackage.getOperation_IsCgDerived()
-
setIsCgDerived
void setIsCgDerived(boolean value)
Sets the value of the 'Is Cg Derived
' attribute.- Parameters:
value
- the new value of the 'Is Cg Derived' attribute.- See Also:
isCgDerived()
-
isCtor
boolean isCtor()
Returns the value of the 'Is Ctor' attribute.- Returns:
- the value of the 'Is Ctor' attribute.
- See Also:
setIsCtor(boolean)
,RhapsodyPackage.getOperation_IsCtor()
-
setIsCtor
void setIsCtor(boolean value)
Sets the value of the 'Is Ctor
' attribute.- Parameters:
value
- the new value of the 'Is Ctor' attribute.- See Also:
isCtor()
-
isDtor
boolean isDtor()
Returns the value of the 'Is Dtor' attribute.- Returns:
- the value of the 'Is Dtor' attribute.
- See Also:
setIsDtor(boolean)
,RhapsodyPackage.getOperation_IsDtor()
-
setIsDtor
void setIsDtor(boolean value)
Sets the value of the 'Is Dtor
' attribute.- Parameters:
value
- the new value of the 'Is Dtor' attribute.- See Also:
isDtor()
-
getInitializer
java.lang.String getInitializer()
Returns the value of the 'Initializer' attribute. The default value is""
.- Returns:
- the value of the 'Initializer' attribute.
- See Also:
setInitializer(String)
,RhapsodyPackage.getOperation_Initializer()
-
setInitializer
void setInitializer(java.lang.String value)
Sets the value of the 'Initializer
' attribute.- Parameters:
value
- the new value of the 'Initializer' attribute.- See Also:
getInitializer()
-
isTrigger
boolean isTrigger()
Returns the value of the 'Is Trigger' attribute.- Returns:
- the value of the 'Is Trigger' attribute.
- See Also:
setIsTrigger(boolean)
,RhapsodyPackage.getOperation_IsTrigger()
-
setIsTrigger
void setIsTrigger(boolean value)
Sets the value of the 'Is Trigger
' attribute.- Parameters:
value
- the new value of the 'Is Trigger' attribute.- See Also:
isTrigger()
-
isFinal
boolean isFinal()
Returns the value of the 'Is Final' attribute.- Returns:
- the value of the 'Is Final' attribute.
- See Also:
setIsFinal(boolean)
,RhapsodyPackage.getOperation_IsFinal()
-
setIsFinal
void setIsFinal(boolean value)
Sets the value of the 'Is Final
' attribute.- Parameters:
value
- the new value of the 'Is Final' attribute.- See Also:
isFinal()
-
isAbstract
boolean isAbstract()
Returns the value of the 'Is Abstract' attribute.- Returns:
- the value of the 'Is Abstract' attribute.
- See Also:
setIsAbstract(boolean)
,RhapsodyPackage.getOperation_IsAbstract()
-
setIsAbstract
void setIsAbstract(boolean value)
Sets the value of the 'Is Abstract
' attribute.- Parameters:
value
- the new value of the 'Is Abstract' attribute.- See Also:
isAbstract()
-
isInline
boolean isInline()
Returns the value of the 'Is Inline' attribute.- Returns:
- the value of the 'Is Inline' attribute.
- See Also:
setIsInline(boolean)
,RhapsodyPackage.getOperation_IsInline()
-
setIsInline
void setIsInline(boolean value)
Sets the value of the 'Is Inline
' attribute.- Parameters:
value
- the new value of the 'Is Inline' attribute.- See Also:
isInline()
-
getImplementationSignature
java.lang.String getImplementationSignature()
Returns the value of the 'Implementation Signature' attribute. The default value is""
.- Returns:
- the value of the 'Implementation Signature' attribute.
- See Also:
setImplementationSignature(String)
,RhapsodyPackage.getOperation_ImplementationSignature()
-
setImplementationSignature
void setImplementationSignature(java.lang.String value)
Sets the value of the 'Implementation Signature
' attribute.- Parameters:
value
- the new value of the 'Implementation Signature' attribute.- See Also:
getImplementationSignature()
-
getFlowchart
Flowchart getFlowchart()
Returns the value of the 'Flowchart' reference.- Returns:
- the value of the 'Flowchart' reference.
- See Also:
setFlowchart(Flowchart)
,RhapsodyPackage.getOperation_Flowchart()
-
setFlowchart
void setFlowchart(Flowchart value)
Sets the value of the 'Flowchart
' reference.- Parameters:
value
- the new value of the 'Flowchart' reference.- See Also:
getFlowchart()
-
getReturns
Classifier getReturns()
Returns the value of the 'Returns' reference.- Returns:
- the value of the 'Returns' reference.
- See Also:
setReturns(Classifier)
,RhapsodyPackage.getOperation_Returns()
-
setReturns
void setReturns(Classifier value)
Sets the value of the 'Returns
' reference.- Parameters:
value
- the new value of the 'Returns' reference.- See Also:
getReturns()
-
-