/**
 * 
 */
package gr.uoi.cs.daintiness.hecate.metrics;

/**
 * @author iskoulis
 *
 */
public class TableChanges {
	int version;
	int insertions;
	int deletions;
	int keyChange;
	int attrTypeChange;

	public TableChanges() {
		this.version = 0;
		this.insertions = 0;
		this.deletions = 0;
		this.keyChange = 0;
		this.attrTypeChange = 0;
	}

	public int getVersion() { return version; }
	public int getInsertions() { return insertions; }
	public int getDeletions() { return deletions; }
	public int getKeyChange() { return keyChange; }
	public int getAttrTypeChange() { return attrTypeChange; }
}

@@ -591,10 +591,310 @@
 ange; %7D%0A
+%09%0A%09public void setVersion(int version) %7B%0A%09%09this.version = version;%0A%09%7D%0A%09%0A%09public void addInsertion() %7B%0A%09%09this.insertions++;%0A%09%7D%0A%09%0A%09public void addDeletion() %7B%0A%09%09this.deletions++;%0A%09%7D%0A%09%0A%09public void addKeyChange() %7B%0A%09%09this.keyChange++;%0A%09%7D%0A%09%0A%09public void addAttrTypeChange() %7B%0A%09%09this.attrTypeChange++;%0A%09%7D%0A
 %7D%0A

add main functions for TableChanges