@Override
	public String toString() {
		String result;
		
		switch(type) {
			case CLASS_LABEL:
				boolean firstLabel = true;
				result = "";
				for(String val : values) {
					if(!firstLabel) { result += ", "; }
					else { firstLabel = false; }
					result += val;
				}
				break;
			case INPUT_CONTINUOUS:
				result = name+": continuous.";
				break;
			case INPUT_DISCRETE:
				result = name+": ";
				boolean first = true;
				for(String val : values) {
					if(!first) { result += ", "; }
					else { first = false; }
					result += val;
				}
				result += ".";
				break;
			case INPUT_TEXT:
				result = name+": text.";
				break;
			case INPUT_SCOREDTEXT:
				result = name+": scoredtext.";
				break;
			default:
				result= name;
		}
		
		return result;
	}