org.flowable.bpmn.model.Association.getAssociationDirection()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(88)

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

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);
  }
}

相关文章