public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(4, getContent()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(5, level_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(6, slaTimerId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(7, slaDueDate_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(8, slaCompliance_); } unknownFields.writeTo(output); }
.computeMessageSize(4, getContent());
hash = (53 * hash) + getContent().hashCode();
WorkflowProcessInstance processInstance) throws IOException { NodeInstanceImpl nodeInstance = null; NodeInstanceContent _content = _node.getContent(); switch ( _content.getType() ) { case RULE_SET_NODE:
switch ( _node.getContent().getType() ) { case COMPOSITE_CONTEXT_NODE : if ( _node.getContent().getComposite().getVariableCount() > 0 ) { Context variableScope = ((org.jbpm.process.core.Process) ((org.jbpm.process.instance.ProcessInstance) processInstance).getProcess()).getDefaultContext( VariableScope.VARIABLE_SCOPE ); VariableScopeInstance variableScopeInstance = (VariableScopeInstance) ((CompositeContextNodeInstance) nodeInstance).getContextInstance( variableScope ); for ( JBPMMessages.Variable _variable : _node.getContent().getComposite().getVariableList() ) { try { Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable ); if ( _node.getContent().getComposite().getIterationLevelsCount() > 0 ) { for ( JBPMMessages.IterationLevel _level : _node.getContent().getComposite().getIterationLevelsList()) { ((CompositeContextNodeInstance) nodeInstance).getIterationLevels().put(_level.getId(), _level.getLevel()); for ( JBPMMessages.ProcessInstance.NodeInstance _instance : _node.getContent().getComposite().getNodeInstanceList() ) { context.parameterObject = _instance; readNodeInstance( context, for ( JBPMMessages.ProcessInstance.ExclusiveGroupInstance _excl : _node.getContent().getComposite().getExclusiveGroupList() ) { ExclusiveGroupInstance exclusiveGroupInstance = new ExclusiveGroupInstance(); ((CompositeContextNodeInstance) nodeInstance).addContextInstance( ExclusiveGroup.EXCLUSIVE_GROUP, exclusiveGroupInstance ); for ( JBPMMessages.ProcessInstance.NodeInstance _instance : _node.getContent().getForEach().getNodeInstanceList() ) { context.parameterObject = _instance; readNodeInstance( context, processInstance );
result = result && getContent() .equals(other.getContent());
hash = (53 * hash) + getContent().hashCode();
.computeMessageSize(4, getContent());
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 void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, nodeId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(4, getContent()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(5, level_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(6, slaTimerId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(7, slaDueDate_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(8, slaCompliance_); } unknownFields.writeTo(output); }
WorkflowProcessInstance processInstance) throws IOException { NodeInstanceImpl nodeInstance = null; NodeInstanceContent _content = _node.getContent(); switch ( _content.getType() ) { case RULE_SET_NODE:
switch ( _node.getContent().getType() ) { case COMPOSITE_CONTEXT_NODE : if ( _node.getContent().getComposite().getVariableCount() > 0 ) { Context variableScope = ((org.jbpm.process.core.Process) ((org.jbpm.process.instance.ProcessInstance) processInstance).getProcess()).getDefaultContext( VariableScope.VARIABLE_SCOPE ); VariableScopeInstance variableScopeInstance = (VariableScopeInstance) ((CompositeContextNodeInstance) nodeInstance).getContextInstance( variableScope ); for ( JBPMMessages.Variable _variable : _node.getContent().getComposite().getVariableList() ) { try { Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable ); if ( _node.getContent().getComposite().getIterationLevelsCount() > 0 ) { for ( JBPMMessages.IterationLevel _level : _node.getContent().getComposite().getIterationLevelsList()) { ((CompositeContextNodeInstance) nodeInstance).getIterationLevels().put(_level.getId(), _level.getLevel()); for ( JBPMMessages.ProcessInstance.NodeInstance _instance : _node.getContent().getComposite().getNodeInstanceList() ) { context.parameterObject = _instance; readNodeInstance( context, for ( JBPMMessages.ProcessInstance.ExclusiveGroupInstance _excl : _node.getContent().getComposite().getExclusiveGroupList() ) { ExclusiveGroupInstance exclusiveGroupInstance = new ExclusiveGroupInstance(); ((CompositeContextNodeInstance) nodeInstance).addContextInstance( ExclusiveGroup.EXCLUSIVE_GROUP, exclusiveGroupInstance ); for ( JBPMMessages.ProcessInstance.NodeInstance _instance : _node.getContent().getForEach().getNodeInstanceList() ) { context.parameterObject = _instance; readNodeInstance( context, processInstance );
result = result && getContent() .equals(other.getContent());
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; }