本文整理了Java中org.eclipse.uml2.uml.Operation.isOrdered()
方法的一些代码示例,展示了Operation.isOrdered()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Operation.isOrdered()
方法的具体详情如下:
包路径:org.eclipse.uml2.uml.Operation
类名称:Operation
方法名:isOrdered
[英]Returns the value of the 'Is Ordered' attribute. The default value is "false"
. This information is derived from the return result for this Operation. Specifies whether the return parameter is ordered or not, if present.
[中]返回“Is Ordered”属性的值。默认值为[$0$]。此信息来自此操作的返回结果。指定返回参数是否已排序(如果存在)。
代码示例来源:origin: org.andromda.metafacades/andromda-metafacades-emf-uml22
/**
* @return this.metaObject.isOrdered()
* @see org.andromda.metafacades.uml.OperationFacade#isOrdered()
*/
protected boolean handleIsOrdered()
{
return this.metaObject.isOrdered();
}
代码示例来源:origin: org.andromda.bootstrap.metafacades/andromda-metafacades-emf-uml22
/**
* @return this.metaObject.isOrdered()
* @see org.andromda.metafacades.uml.OperationFacade#isOrdered()
*/
protected boolean handleIsOrdered()
{
return this.metaObject.isOrdered();
}
代码示例来源:origin: org.eclipse.ocl/uml
/**
* Queries whether the specified {@link MultiplicityElement} or
* {@link Operation} is ordered.
*
* @param metaElement a multiplicity-element or operation
* @return whether it is ordered
*/
protected boolean isOrdered(Object metaElement) {
if (metaElement instanceof MultiplicityElement) {
return ((MultiplicityElement) metaElement).isOrdered();
} else if (metaElement instanceof Operation) {
return ((Operation) metaElement).isOrdered();
}
return false;
}
代码示例来源:origin: crowdcode-de/KissMDA
String umlQualifiedTypeName) {
if (operation.isOrdered() && !operation.isUnique()) {
} else if (operation.isUnique() && !operation.isOrdered()) {
} else if (operation.isUnique() && operation.isOrdered()) {
代码示例来源:origin: org.eclipse.uml2/org.eclipse.uml2.uml
eOperation.setOrdered(operation.isOrdered());
eOperation.setUnique(operation.isUnique());
内容来源于网络,如有侵权,请联系作者删除!