Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java @ 694:68c6c75a6f7c facets-slt
Add index and description of facets to collections describe document.
flys-artifacts/branches/facets-slt@2136 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 16 Jun 2011 14:10:49 +0000 |
parents | 16161de47662 |
children | 59ae2a823e73 |
comparison
equal
deleted
inserted
replaced
693:af393c5eb2c8 | 694:68c6c75a6f7c |
---|---|
6 public class ManagedFacet extends DefaultFacet { | 6 public class ManagedFacet extends DefaultFacet { |
7 | 7 |
8 /** The uuid of the owner artifact.*/ | 8 /** The uuid of the owner artifact.*/ |
9 protected String uuid; | 9 protected String uuid; |
10 | 10 |
11 /** The index.*/ | |
12 protected int index; | |
13 | |
11 /** A property that determines the position of this facet.*/ | 14 /** A property that determines the position of this facet.*/ |
12 protected int position; | 15 protected int position; |
13 | 16 |
14 /** A property that determines if this facet is active or not.*/ | 17 /** A property that determines if this facet is active or not.*/ |
15 protected int active; | 18 protected int active; |
16 | 19 |
17 | 20 |
18 public ManagedFacet( | 21 public ManagedFacet( |
19 String name, | 22 String name, |
23 int index, | |
20 String desc, | 24 String desc, |
21 String uuid, | 25 String uuid, |
22 int pos, | 26 int pos, |
23 int active) | 27 int active) |
24 { | 28 { |
25 super(name, desc); | 29 super(index, name, desc); |
26 | 30 |
27 this.uuid = uuid; | 31 this.uuid = uuid; |
28 this.position = pos; | 32 this.position = pos; |
29 this.active = active; | 33 this.active = active; |
30 } | 34 } |