public JBPMMessages.ProcessInstance.NodeInstance writeNodeInstance(MarshallerWriteContext context, NodeInstance nodeInstance) throws IOException { JBPMMessages.ProcessInstance.NodeInstance.Builder _node = JBPMMessages.ProcessInstance.NodeInstance.newBuilder() .setId( nodeInstance.getId() ) .setNodeId( nodeInstance.getNodeId()) .setLevel(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel()) .setSlaCompliance(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaCompliance()); if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate() != null) { _node.setSlaDueDate(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate().getTime()); } if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId() != null) { _node.setSlaTimerId(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId()); } _node.setContent( writeNodeInstanceContent( _node, nodeInstance, context ) ); return _node.build(); }
public JBPMMessages.ProcessInstance.NodeInstance writeNodeInstance(MarshallerWriteContext context, NodeInstance nodeInstance) throws IOException { JBPMMessages.ProcessInstance.NodeInstance.Builder _node = JBPMMessages.ProcessInstance.NodeInstance.newBuilder() .setId( nodeInstance.getId() ) .setNodeId( nodeInstance.getNodeId()) .setLevel(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel()) .setSlaCompliance(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaCompliance()); if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate() != null) { _node.setSlaDueDate(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate().getTime()); } if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId() != null) { _node.setSlaTimerId(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId()); } _node.setContent( writeNodeInstanceContent( _node, nodeInstance, context ) ); return _node.build(); }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasNodeId()) { setNodeId(other.getNodeId()); } if (other.hasContent()) { mergeContent(other.getContent()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasSlaTimerId()) { setSlaTimerId(other.getSlaTimerId()); } if (other.hasSlaDueDate()) { setSlaDueDate(other.getSlaDueDate()); } if (other.hasSlaCompliance()) { setSlaCompliance(other.getSlaCompliance()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasNodeId()) { setNodeId(other.getNodeId()); } if (other.hasContent()) { mergeContent(other.getContent()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasSlaTimerId()) { setSlaTimerId(other.getSlaTimerId()); } if (other.hasSlaDueDate()) { setSlaDueDate(other.getSlaDueDate()); } if (other.hasSlaCompliance()) { setSlaCompliance(other.getSlaCompliance()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }