Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.api.runtime.process.NodeInstance;
 
 public class NodeInstanceAdapter implements org.drools.runtime.process.NodeInstance {
 
	public NodeInstance delegate;
	public NodeInstanceAdapter(NodeInstance delegate) {
		this. = delegate;
	}
	public NodeInstance getDelegate() {
		return ;
	}
	public long getId() {
		return .getId();
	}
	public long getNodeId() {
		return .getNodeId();
	}
	public Node getNode() {
		return new NodeAdapter(.getNode());
	}
	public String getNodeName() {
		return .getNodeName();
	}
		return new WorkflowProcessInstanceAdapter(.getProcessInstance());
	}
		return new NodeInstanceContainerAdapter(.getNodeInstanceContainer());
	}
	public Object getVariable(String variableName) {
		return .getVariable(variableName);
	}
	public void setVariable(String variableNameObject value) {
		.setVariable(variableNamevalue);
	}
    @Override
    public int hashCode() {
        return .hashCode();
    }
    @Override
    public boolean equals(Object obj) {
        return obj instanceof NodeInstanceAdapter && .equals(((NodeInstanceAdapter)obj).);
    }
New to GrepCode? Check out our FAQ X