Further documentation updates and improvements
[remote/remote-ws.git] / src / motedata / ColumnHeader.java
bloba4ac6f6f9b8bef50f4c450519e1a2b819c36fbf4
1 package motedata;
3 import java.io.Serializable;
5 /** Table column container.
7 * Stores information about a column in a SimpleTable.
8 */
9 public class ColumnHeader implements Serializable
11 private static final long serialVersionUID = -4526017460513320190L;
12 private String title;
13 private String name;
14 private boolean visible;
15 private String valueclass;
17 /** Create column header.
19 * @param title The column title.
20 * @param name The column name.
21 * @param visible The column visibility.
22 * @param valueclass The column valueclass.
24 public ColumnHeader(String title, String name, boolean visible, String valueclass)
26 super();
27 this.title = title;
28 this.name = name;
29 this.visible = visible;
30 this.valueclass = valueclass;
33 /** Dummy constructor to silence compiler warnings. */
34 public ColumnHeader()
36 this(null, null, false, null);
39 /** Get column header title.
41 * @return The column title. */
42 public String getTitle()
44 return title;
47 /** Set column header title.
49 * @param title The new column title.
51 public void setTitle(String title)
53 this.title = title;
56 /** Get column header name.
58 * @return The column name.
60 public String getName()
62 return name;
65 /** Set column header name.
67 * @param name The new column name.
69 public void setName(String name)
71 this.name = name;
74 /** Is the column header visible?
76 * @return Whether the column is visible.
78 public boolean isVisible()
80 return visible;
83 /** Set column header visibility.
85 * @param visible The new column visibility.
87 public void setVisible(boolean visible)
89 this.visible = visible;
92 /** Get value class of column header.
94 * @return The value class of the column.
96 public String getValueclass()
98 return valueclass;
101 /** Set the column header value class.
103 * @param valueclass The column's new value class.
105 public void setValueclass(String valueclass)
107 this.valueclass = valueclass;