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