org.eclipse.uml2.uml.Operation.returnResult()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(105)

本文整理了Java中org.eclipse.uml2.uml.Operation.returnResult()方法的一些代码示例,展示了Operation.returnResult()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Operation.returnResult()方法的具体详情如下:
包路径:org.eclipse.uml2.uml.Operation
类名称:Operation
方法名:returnResult

Operation.returnResult介绍

[英]The query returnResult() returns the set containing the return parameter of the Operation if one exists, otherwise, it returns an empty set result = ownedParameter->select (par | par.direction = #return)
[中]查询返回结果()返回包含操作的返回参数的集合,如果存在,则返回空集合结果= OWNEDMODELECT-> SELECT(PAR.PAR.Orth=

代码示例

代码示例来源:origin: org.umlg/java-generation-util

@Override
public EList<Parameter> returnResult() {
  return this.operation.returnResult();
}

代码示例来源:origin: org.eclipse.uml2/org.eclipse.uml2.uml

EList<Parameter> opOwnedParameters = op.getOwnedParameters();
EList<Parameter> returnResult = operation.returnResult();
int returnResultSize = returnResult.size();
EList<Parameter> opReturnResult = op.returnResult();

相关文章