]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/tabular/TabularColumn.java
Make tree view more robust
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / tabular / TabularColumn.java
1 package org.argeo.cms.tabular;
2
3 /** The column in a tabular content */
4 public class TabularColumn {
5 private String name;
6 /**
7 * JCR types, see
8 * http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/index.html
9 * ?javax/jcr/PropertyType.html
10 */
11 private Integer type;
12
13 /** column with default type */
14 public TabularColumn(String name) {
15 super();
16 this.name = name;
17 }
18
19 public TabularColumn(String name, Integer type) {
20 super();
21 this.name = name;
22 this.type = type;
23 }
24
25 public String getName() {
26 return name;
27 }
28
29 public void setName(String name) {
30 this.name = name;
31 }
32
33 public Integer getType() {
34 return type;
35 }
36
37 public void setType(Integer type) {
38 this.type = type;
39 }
40
41 }