本文整理了Java中org.flowable.bpmn.model.Association.getAssociationDirection()
方法的一些代码示例,展示了Association.getAssociationDirection()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Association.getAssociationDirection()
方法的具体详情如下:
包路径:org.flowable.bpmn.model.Association
类名称:Association
方法名:getAssociationDirection
暂无
代码示例来源:origin: org.flowable/flowable-bpmn-model
public void setValues(Association otherElement) {
super.setValues(otherElement);
setSourceRef(otherElement.getSourceRef());
setTargetRef(otherElement.getTargetRef());
if (otherElement.getAssociationDirection() != null) {
setAssociationDirection(otherElement.getAssociationDirection());
}
}
}
代码示例来源:origin: org.ow2.petals.flowable/flowable-bpmn-model
public void setValues(Association otherElement) {
super.setValues(otherElement);
setSourceRef(otherElement.getSourceRef());
setTargetRef(otherElement.getTargetRef());
if (otherElement.getAssociationDirection() != null) {
setAssociationDirection(otherElement.getAssociationDirection());
}
}
}
代码示例来源:origin: org.flowable/flowable-bpmn-converter
@Override
protected void writeAdditionalAttributes(BaseElement element, BpmnModel model, XMLStreamWriter xtw) throws Exception {
Association association = (Association) element;
writeDefaultAttribute(ATTRIBUTE_FLOW_SOURCE_REF, association.getSourceRef(), xtw);
writeDefaultAttribute(ATTRIBUTE_FLOW_TARGET_REF, association.getTargetRef(), xtw);
AssociationDirection associationDirection = association.getAssociationDirection();
if (associationDirection != null) {
writeDefaultAttribute(ATTRIBUTE_ASSOCIATION_DIRECTION, associationDirection.getValue(), xtw);
}
}
内容来源于网络,如有侵权,请联系作者删除!