comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java @ 1721:eb35570df0e8

Cosmetics, docs. flys-artifacts/trunk@3002 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 18 Oct 2011 12:31:36 +0000
parents a70e0cbc5e02
children 5642a83420f2
comparison
equal deleted inserted replaced
1720:fa932d618989 1721:eb35570df0e8
1 package de.intevation.flys.artifacts.model; 1 package de.intevation.flys.artifacts.model;
2
3 import org.apache.log4j.Logger;
2 4
3 import org.w3c.dom.Document; 5 import org.w3c.dom.Document;
4 import org.w3c.dom.Element; 6 import org.w3c.dom.Element;
5 import org.w3c.dom.Node; 7 import org.w3c.dom.Node;
6 8
25 protected int position; 27 protected int position;
26 28
27 /** A property that determines if this facet is active or not. */ 29 /** A property that determines if this facet is active or not. */
28 protected int active; 30 protected int active;
29 31
32 /** The logger that is used in this class. */
33 private static Logger logger = Logger.getLogger(ManagedFacet.class);
34
30 /** A property that determines if this facet is visible or not. */ 35 /** A property that determines if this facet is visible or not. */
31 protected int visible; 36 protected int visible;
37
32 38
33 public ManagedFacet() { 39 public ManagedFacet() {
34 } 40 }
35 41
36 public ManagedFacet( 42 public ManagedFacet(
49 this.active = active; 55 this.active = active;
50 this.visible = visible; 56 this.visible = visible;
51 } 57 }
52 58
53 59
60 /**
61 * Sets position (will be merged to position in ThemeList).
62 */
54 public void setPosition(int pos) { 63 public void setPosition(int pos) {
55 this.position = pos; 64 this.position = pos;
56 } 65 }
57 66
58 67
79 public int getVisible() { 88 public int getVisible() {
80 return visible; 89 return visible;
81 } 90 }
82 91
83 92
93 /**
94 * Get uuid of related artifact.
95 * @return uuid of related artifact.
96 */
84 public String getArtifact() { 97 public String getArtifact() {
85 return uuid; 98 return uuid;
86 } 99 }
87 100
88 101

http://dive4elements.wald.intevation.org