getFirstCommentBody()
Gets the text contents of the first comment in the element's owned comments, or an empty string if the element has no comments.
Return value
Type: string [1..1]
The body string of the first comment. If the element has no comments, an empty string is returned.
| string [1..1] | Gets the text contents of the first comment in the element's owned comments, or an empty string if the element has no comments. Inherited from Element. |
getInputParameters()
| Parameter [0..*] | Returns the ownedParameters with direction in and inout. |
getLowerBound()
The query lowerBound() returns the lower bound of the return parameter as an integer, which is the integerValue of lowerValue, if this is given, and 1 otherwise. This information is derived from the return result for this Operation.
Return value
Type: integer
| integer | The query lowerBound() returns the lower bound of the return parameter as an integer, which is the integerValue of lowerValue, if this is given, and 1 otherwise. This information is derived from the return result for this Operation. |
getOutputParameters()
Returns the ownedParameters with direction out, inout, or return.
Return value
Type: Parameter [0..*]
| Parameter [0..*] | Returns the ownedParameters with direction out, inout, or return. |
getReturnParameter()
Gets the operation's return parameter, if it has one.
Return value
Type: Parameter [0..1]
| Parameter [0..1] | Gets the operation's return parameter, if it has one. |
getReturnType()
Gets the type of the operation's return parameter, if it has any.
Return value
Type: Type [0..1]
| Type [0..1] | Gets the type of the operation's return parameter, if it has any. |
getUpperBound()
The query upperBound() returns the upper bound of the return parameter for a bounded multiplicity as an unlimited natural, which is the unlimitedNaturalValue of upperValue, if given, and 1, otherwise. This information is derived from the return result for this Operation.
Return value
Type: UnlimitedNatural
| UnlimitedNatural | The query upperBound() returns the upper bound of the return parameter for a bounded multiplicity as an unlimited natural, which is the unlimitedNaturalValue of upperValue, if given, and 1, otherwise. This information is derived from the return result for this Operation. |
isMultivalued()
The query isMultivalued() checks whether the return parameter has an upper bound greater than one.
Return value
Type: boolean
| boolean | The query isMultivalued() checks whether the return parameter has an upper bound greater than one. |
isOptional()
The query isOptional checks whether he return parameter has a lower bound of 0 (0..n).
Return value
Type: boolean
| boolean | The query isOptional checks whether he return parameter has a lower bound of 0 (0..n). |
isOptionalAndSinglevalued()
The query isOptional checks whether he return parameter has a lower bound of 0 and an upper bound of 1 (0..1).
Return value
Type: boolean
| boolean | The query isOptional checks whether he return parameter has a lower bound of 0 and an upper bound of 1 (0..1). |