package beaform.entities;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

@Entity
public class Formula {

	@Id @GeneratedValue(generator = "uuid")
	@GenericGenerator(name="uuid", strategy="uuid2")

	private String id;
	private String name;
	private String description;

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}

@@ -735,10 +735,273 @@
 on;%0A%09%7D%0A%0A
+%09@Override%0A%09public String toString() %7B%0A%09%09StringBuilder builder = new StringBuilder();%0A%09%09builder.append(this.id);%0A%09%09builder.append(%22 %7C %22);%0A%09%09builder.append(this.name);%0A%09%09builder.append(%22 %7C %22);%0A%09%09builder.append(this.description);%0A%0A%09%09return builder.toString();%0A%0A%09%7D%0A%0A
 %7D%0A

Add a more useful toString method for a formula