package edu.uiowa.icts.util;

/**
 * @author rrlorent
 */
public class DataTableColumn {

	private String name = null;
	private String value = null;
	private String title = null;
	private boolean selected = true;

	public DataTableColumn( String name, String value, String title, boolean selected ) {
		this.name = name;
		this.title = title;
		this.value = value;
		this.selected = selected;
	}

	public String getName() {
		return name;
	}

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

	public String getValue() {
		return value;
	}

	public void setValue( String value ) {
		this.value = value;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle( String title ) {
		this.title = title;
	}

	public boolean getSelected() {
		return selected;
	}

	public void setSelected( boolean selected ) {
		this.selected = selected;
	}
}
@@ -83,16 +83,45 @@
 lumn %7B%0A%0A
+%09private String data = null;%0A
 %09private
@@ -133,32 +133,32 @@
 ng name = null;%0A
-
 %09private String 
@@ -329,28 +329,199 @@
 %7B%0A%09%09this
-.name = name
+( name, value, value, title, selected );%0A%09%7D%0A%0A%09public DataTableColumn( String name, String data, String value, String title, boolean selected ) %7B%0A%09%09this.name = name;%0A%09%09this.data = data
 ;%0A%09%09this
@@ -1059,9 +1059,118 @@
 ted;%0A%09%7D%0A
+%0A%09public String getData() %7B%0A%09%09return data;%0A%09%7D%0A%0A%09public void setData( String data ) %7B%0A%09%09this.data = data;%0A%09%7D%0A%0A
 %7D

add data attibute to data table column