public interface Operation extends InterfaceItem
The following features are supported:
RhapsodyPackage.getOperation()
Modifier and Type | Method and 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. |
getArguments, getSignature, setSignature
getActivityDiagram, getAttributes, getBaseClassifiers, getBehavioralDiagrams, getDerivedClassifiers, getFlowItems, getFlows, getGeneralizations, getInterfaceItems, getLinks, getNestedClassifiers, getOperations, getPorts, getRelations, getSequenceDiagrams, getStatechart, setActivityDiagram, setStatechart
getCMHeader, getCurrentDirectory, getFilename, getLanguage, getLastModifiedTime, getStructureDiagrams, isIncludeInNextLoad, isReadOnly, isReferenceUnit, isSeparateSaveUnit, isStub, setCMHeader, setCurrentDirectory, setFilename, setIncludeInNextLoad, setIsReadOnly, setIsReferenceUnit, setIsSeparateSaveUnit, setIsStub, setLanguage, setLastModifiedTime
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
VisibilityKind getVisibility()
""
.
The literals are from the enumeration VisibilityKind
.
VisibilityKind
,
setVisibility(VisibilityKind)
,
RhapsodyPackage.getOperation_Visibility()
void setVisibility(VisibilityKind value)
Visibility
' attribute.
value
- the new value of the 'Visibility' attribute.VisibilityKind
,
getVisibility()
boolean isStatic()
setIsStatic(boolean)
,
RhapsodyPackage.getOperation_IsStatic()
void setIsStatic(boolean value)
Is Static
' attribute.
value
- the new value of the 'Is Static' attribute.isStatic()
boolean isVirtual()
setIsVirtual(boolean)
,
RhapsodyPackage.getOperation_IsVirtual()
void setIsVirtual(boolean value)
Is Virtual
' attribute.
value
- the new value of the 'Is Virtual' attribute.isVirtual()
boolean isConst()
setIsConst(boolean)
,
RhapsodyPackage.getOperation_IsConst()
void setIsConst(boolean value)
Is Const
' attribute.
value
- the new value of the 'Is Const' attribute.isConst()
java.lang.String getBody()
""
.
setBody(String)
,
RhapsodyPackage.getOperation_Body()
void setBody(java.lang.String value)
Body
' attribute.
value
- the new value of the 'Body' attribute.getBody()
boolean isCgDerived()
setIsCgDerived(boolean)
,
RhapsodyPackage.getOperation_IsCgDerived()
void setIsCgDerived(boolean value)
Is Cg Derived
' attribute.
value
- the new value of the 'Is Cg Derived' attribute.isCgDerived()
boolean isCtor()
setIsCtor(boolean)
,
RhapsodyPackage.getOperation_IsCtor()
void setIsCtor(boolean value)
Is Ctor
' attribute.
value
- the new value of the 'Is Ctor' attribute.isCtor()
boolean isDtor()
setIsDtor(boolean)
,
RhapsodyPackage.getOperation_IsDtor()
void setIsDtor(boolean value)
Is Dtor
' attribute.
value
- the new value of the 'Is Dtor' attribute.isDtor()
java.lang.String getInitializer()
""
.
setInitializer(String)
,
RhapsodyPackage.getOperation_Initializer()
void setInitializer(java.lang.String value)
Initializer
' attribute.
value
- the new value of the 'Initializer' attribute.getInitializer()
boolean isTrigger()
setIsTrigger(boolean)
,
RhapsodyPackage.getOperation_IsTrigger()
void setIsTrigger(boolean value)
Is Trigger
' attribute.
value
- the new value of the 'Is Trigger' attribute.isTrigger()
boolean isFinal()
setIsFinal(boolean)
,
RhapsodyPackage.getOperation_IsFinal()
void setIsFinal(boolean value)
Is Final
' attribute.
value
- the new value of the 'Is Final' attribute.isFinal()
boolean isAbstract()
setIsAbstract(boolean)
,
RhapsodyPackage.getOperation_IsAbstract()
void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isAbstract()
boolean isInline()
setIsInline(boolean)
,
RhapsodyPackage.getOperation_IsInline()
void setIsInline(boolean value)
Is Inline
' attribute.
value
- the new value of the 'Is Inline' attribute.isInline()
java.lang.String getImplementationSignature()
""
.
setImplementationSignature(String)
,
RhapsodyPackage.getOperation_ImplementationSignature()
void setImplementationSignature(java.lang.String value)
Implementation Signature
'
attribute.
value
- the new value of the 'Implementation Signature' attribute.getImplementationSignature()
Flowchart getFlowchart()
setFlowchart(Flowchart)
,
RhapsodyPackage.getOperation_Flowchart()
void setFlowchart(Flowchart value)
Flowchart
' reference.
value
- the new value of the 'Flowchart' reference.getFlowchart()
Classifier getReturns()
setReturns(Classifier)
,
RhapsodyPackage.getOperation_Returns()
void setReturns(Classifier value)
Returns
' reference.
value
- the new value of the 'Returns' reference.getReturns()