@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasWorkItemId()) { hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkItemId()); } if (getTimerInstanceIdCount() > 0) { hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerInstanceIdList().hashCode(); } if (hasErrorHandlingProcessInstanceId()) { hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getErrorHandlingProcessInstanceId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance()) return this; if (other.hasWorkItemId()) { setWorkItemId(other.getWorkItemId()); } if (!other.timerInstanceId_.isEmpty()) { if (timerInstanceId_.isEmpty()) { timerInstanceId_ = other.timerInstanceId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); } onChanged(); } if (other.hasErrorHandlingProcessInstanceId()) { setErrorHandlingProcessInstanceId(other.getErrorHandlingProcessInstanceId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) obj; boolean result = true; result = result && (hasWorkItemId() == other.hasWorkItemId()); if (hasWorkItemId()) { result = result && (getWorkItemId() == other.getWorkItemId()); } result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && (hasErrorHandlingProcessInstanceId() == other.hasErrorHandlingProcessInstanceId()); if (hasErrorHandlingProcessInstanceId()) { result = result && (getErrorHandlingProcessInstanceId() == other.getErrorHandlingProcessInstanceId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
case HUMAN_TASK_NODE : nodeInstance = new HumanTaskNodeInstance(); ((HumanTaskNodeInstance) nodeInstance).internalSetWorkItemId( _content.getHumanTask().getWorkItemId() ); if ( _content.getHumanTask().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>();
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasWorkItemId()) { hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkItemId()); } if (getTimerInstanceIdCount() > 0) { hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerInstanceIdList().hashCode(); } if (hasErrorHandlingProcessInstanceId()) { hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getErrorHandlingProcessInstanceId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) obj; boolean result = true; result = result && (hasWorkItemId() == other.hasWorkItemId()); if (hasWorkItemId()) { result = result && (getWorkItemId() == other.getWorkItemId()); } result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && (hasErrorHandlingProcessInstanceId() == other.hasErrorHandlingProcessInstanceId()); if (hasErrorHandlingProcessInstanceId()) { result = result && (getErrorHandlingProcessInstanceId() == other.getErrorHandlingProcessInstanceId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance()) return this; if (other.hasWorkItemId()) { setWorkItemId(other.getWorkItemId()); } if (!other.timerInstanceId_.isEmpty()) { if (timerInstanceId_.isEmpty()) { timerInstanceId_ = other.timerInstanceId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); } onChanged(); } if (other.hasErrorHandlingProcessInstanceId()) { setErrorHandlingProcessInstanceId(other.getErrorHandlingProcessInstanceId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
case HUMAN_TASK_NODE : nodeInstance = new HumanTaskNodeInstance(); ((HumanTaskNodeInstance) nodeInstance).internalSetWorkItemId( _content.getHumanTask().getWorkItemId() ); if ( _content.getHumanTask().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>();