blob: 79b992fca718c34c0d82fe7962958b7eb38b4cb7 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2007 The University of Manchester
*
* Modifications to the initial code base are copyright of their
* respective authors, or their employers as appropriate.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
******************************************************************************/
package net.sf.taverna.t2.provenance.lineageservice.utils;
/**
* @author Paolo Missier
*
*/
public class VarBinding {
String varNameRef;
String wfInstanceRef;
String value;
String collIDRef;
int positionInColl;
String PNameRef;
String valueType;
String ref;
String iterationVector;
String resolvedValue;
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append("**** VarBinding: \n").
append("wfInstanceRef = "+wfInstanceRef+"\n").
append("PNameRef = "+PNameRef+"\n").
append("varNameRef = "+varNameRef+"\n").
append("iteration = "+iterationVector+"\n").
append("collIdef " +collIDRef+"\n").
append("positionInColl = "+positionInColl+"\n").
append("value = "+value+"\n").
append("ref = "+ref+"\n").
append("resolvedValue = "+resolvedValue+"\n");
return sb.toString();
}
/**
* @return the positionInColl
*/
public int getPositionInColl() {
return positionInColl;
}
/**
* @param positionInColl the positionInColl to set
*/
public void setPositionInColl(int positionInColl) {
this.positionInColl = positionInColl;
}
/**
* @return the valueType
*/
public String getValueType() {
return valueType;
}
/**
* @param valueType the valueType to set
*/
public void setValueType(String valueType) {
this.valueType = valueType;
}
/**
* @return the varNameRef
*/
public String getVarNameRef() {
return varNameRef;
}
/**
* @param varNameRef the varNameRef to set
*/
public void setVarNameRef(String varNameRef) {
this.varNameRef = varNameRef;
}
/**
* @return the wfInstanceRef
*/
public String getWfInstanceRef() {
return wfInstanceRef;
}
/**
* @param wfInstanceRef the wfInstanceRef to set
*/
public void setWfInstanceRef(String wfInstanceRef) {
this.wfInstanceRef = wfInstanceRef;
}
/**
* @return the pNameRef
*/
public String getPNameRef() {
return PNameRef;
}
/**
* @param nameRef the pNameRef to set
*/
public void setPNameRef(String nameRef) {
PNameRef = nameRef;
}
/**
* @return the collIDRef
*/
public String getCollIDRef() {
return collIDRef;
}
/**
* @param collIDRef the collIDRef to set
*/
public void setCollIDRef(String collIDRef) {
this.collIDRef = collIDRef;
}
/**
* @return the iteration
*/
public String getIteration() {
return iterationVector;
}
/**
* @param iterationVector the iteration to set
*/
public void setIterationVector(String iterationVector) {
this.iterationVector = iterationVector;
}
/**
* @return the value
*/
public String getValue() {
return value;
}
/**
* @param value the value to set
*/
public void setValue(String value) {
this.value = value;
}
/**
* @return the ref
*/
public String getRef() {
return ref;
}
/**
* @param ref the ref to set
*/
public void setRef(String ref) {
this.ref = ref;
}
/**
* @return the resolvedValue
*/
public String getResolvedValue() {
return resolvedValue;
}
/**
* @param resolvedValue the resolvedValue to set
*/
public void setResolvedValue(String resolvedValue) {
this.resolvedValue = resolvedValue;
}
}