Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / common / Marker.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.common;
11
12
13 import org.apache.log4j.Logger;
14
15 /**
16 * This class aims to make available some "flags" for identifiable entities in a
17 * flexible way. Application developers (and even users) can define their own
18 * "flags" as a MarkerType.
19 * @author m.doering
20 * @version 1.0
21 * @created 02-Nov-2007 18:14:58
22 */
23 public class Marker extends VersionableEntity {
24 static Logger logger = Logger.getLogger(Marker.class);
25
26 @Description("")
27 private boolean flag;
28 private MarkerType type;
29
30 public MarkerType getType(){
31 return type;
32 }
33
34 /**
35 *
36 * @param newVal
37 */
38 public void setType(MarkerType newVal){
39 type = newVal;
40 }
41
42 public boolean getFlag(){
43 return flag;
44 }
45
46 /**
47 *
48 * @param newVal
49 */
50 public void setFlag(boolean newVal){
51 flag = newVal;
52 }
53
54 }