package dk.aau.cs.qweb.airbase.types;

public class Quad {

	private String subject;
	private String predicate;
	private String object;
	private String graphLabel;

	public Quad(String subject, String predicate, String object, String graphLabel) {
		this.subject = subject;
		this.predicate = predicate;
		this.object = object;
		this.graphLabel = graphLabel;
	}
	
	public Quad(String subject, String predicate, String object) {
		this.subject = subject;
		this.predicate = predicate;
		this.object = object;
		this.graphLabel = null;
	}

	public void setGraphLabel(String graphLabel2) {
		// TODO Auto-generated method stub
		
	}
	
	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getPredicate() {
		return predicate;
	}

	public void setPredicate(String predicate) {
		this.predicate = predicate;
	}

	public String getObject() {
		return object;
	}

	public void setObject(String object) {
		this.object = object;
	}

	public String getGraphLabel() {
		return graphLabel;
	}
	
	@Override
	public String toString() {
		return "< "+ subject +" "+predicate + " " + object + " " + graphLabel + ">";
	}
	
}

@@ -1114,14 +1114,8 @@
 turn
- %22%3C %22+
  sub
@@ -1171,19 +1171,11 @@
 abel
- + %22%3E%22
 ;%0A%09%7D%0A
-%09%0A
 %7D%0A

remove < and > from toString methods