hash = (53 * hash) + getDeploymentId().hashCode();
result = result && (hasDeploymentId() == other.hasDeploymentId()); if (hasDeploymentId()) { result = result && getDeploymentId() .equals(other.getDeploymentId());
public static WorkItem readWorkItem(MarshallerReaderContext context, JBPMMessages.WorkItem _workItem, boolean includeVariables) throws IOException { WorkItemImpl workItem = new WorkItemImpl(); workItem.setId( _workItem.getId() ); workItem.setProcessInstanceId( _workItem.getProcessInstancesId() ); workItem.setName( _workItem.getName() ); workItem.setState( _workItem.getState() ); workItem.setDeploymentId(_workItem.getDeploymentId()); workItem.setNodeId(_workItem.getNodeId()); workItem.setNodeInstanceId(_workItem.getNodeInstanceId()); if ( includeVariables ) { for ( JBPMMessages.Variable _variable : _workItem.getVariableList() ) { try { Object value = unmarshallVariableValue( context, _variable ); workItem.setParameter( _variable.getName(), value ); } catch ( ClassNotFoundException e ) { throw new IllegalArgumentException( "Could not reload parameter " + _variable.getName() + " for work item " + _workItem ); } } } return workItem; }
hash = (53 * hash) + getDeploymentId().hashCode();
result = result && (hasDeploymentId() == other.hasDeploymentId()); if (hasDeploymentId()) { result = result && getDeploymentId() .equals(other.getDeploymentId());
public static WorkItem readWorkItem(MarshallerReaderContext context, JBPMMessages.WorkItem _workItem, boolean includeVariables) throws IOException { WorkItemImpl workItem = new WorkItemImpl(); workItem.setId( _workItem.getId() ); workItem.setProcessInstanceId( _workItem.getProcessInstancesId() ); workItem.setName( _workItem.getName() ); workItem.setState( _workItem.getState() ); workItem.setDeploymentId(_workItem.getDeploymentId()); workItem.setNodeId(_workItem.getNodeId()); workItem.setNodeInstanceId(_workItem.getNodeInstanceId()); if ( includeVariables ) { for ( JBPMMessages.Variable _variable : _workItem.getVariableList() ) { try { Object value = unmarshallVariableValue( context, _variable ); workItem.setParameter( _variable.getName(), value ); } catch ( ClassNotFoundException e ) { throw new IllegalArgumentException( "Could not reload parameter " + _variable.getName() + " for work item " + _workItem ); } } } return workItem; }
/** * <code>optional string deployment_id = 6;</code> */ public Builder clearDeploymentId() { bitField0_ = (bitField0_ & ~0x00000020); deploymentId_ = getDefaultInstance().getDeploymentId(); onChanged(); return this; } /**
/** * <code>optional string deployment_id = 6;</code> */ public Builder clearDeploymentId() { bitField0_ = (bitField0_ & ~0x00000020); deploymentId_ = getDefaultInstance().getDeploymentId(); onChanged(); return this; } /**