Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / description / CategoricalData.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package etaxonomy.cdm.model.description;
11
12
13 import org.apache.log4j.Logger;
14
15 /**
16 * @author m.doering
17 * @version 1.0
18 * @created 02-Nov-2007 18:14:39
19 */
20 public class CategoricalData extends FeatureBase {
21 static Logger logger = Logger.getLogger(CategoricalData.class);
22
23 //whether the sequence of ordered states is important
24 @Description("whether the sequence of ordered states is important")
25 private boolean orderRelevant;
26 private java.util.ArrayList states;
27
28 public java.util.ArrayList getStates(){
29 return states;
30 }
31
32 /**
33 *
34 * @param newVal
35 */
36 public void setStates(java.util.ArrayList newVal){
37 states = newVal;
38 }
39
40 public boolean getOrderRelevant(){
41 return orderRelevant;
42 }
43
44 /**
45 *
46 * @param newVal
47 */
48 public void setOrderRelevant(boolean newVal){
49 orderRelevant = newVal;
50 }
51
52 }