comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java @ 346:16161de47662

The Attributes of a collection are written into its DESCRIBE now. flys-artifacts/trunk@1748 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 26 Apr 2011 13:29:18 +0000
parents
children 68c6c75a6f7c
comparison
equal deleted inserted replaced
345:88a669785863 346:16161de47662
1 package de.intevation.flys.artifacts.model;
2
3 import de.intevation.artifactdatabase.state.DefaultFacet;
4
5
6 public class ManagedFacet extends DefaultFacet {
7
8 /** The uuid of the owner artifact.*/
9 protected String uuid;
10
11 /** A property that determines the position of this facet.*/
12 protected int position;
13
14 /** A property that determines if this facet is active or not.*/
15 protected int active;
16
17
18 public ManagedFacet(
19 String name,
20 String desc,
21 String uuid,
22 int pos,
23 int active)
24 {
25 super(name, desc);
26
27 this.uuid = uuid;
28 this.position = pos;
29 this.active = active;
30 }
31
32
33 public void setPosition(int pos) {
34 this.position = pos;
35 }
36
37
38 public int getPosition() {
39 return position;
40 }
41
42
43 public void setActive(int active) {
44 this.active = active;
45 }
46
47
48 public int getActive() {
49 return active;
50 }
51
52
53 public String getArtifact() {
54 return uuid;
55 }
56 }
57 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org