Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/Recommendation.java @ 1442:4a6814be92ba
Cosmetics, doc.
flys-client/trunk@3438 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 16 Dec 2011 13:26:19 +0000 |
parents | 01b18db3b288 |
children | 0b79630e3bcb |
comparison
equal
deleted
inserted
replaced
1441:0271f6747f80 | 1442:4a6814be92ba |
---|---|
6 import java.util.HashMap; | 6 import java.util.HashMap; |
7 | 7 |
8 import java.io.Serializable; | 8 import java.io.Serializable; |
9 | 9 |
10 /** | 10 /** |
11 * Information bundle to let client create/clone an artifact with facets. | |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
12 */ | 13 */ |
13 public class Recommendation implements Serializable { | 14 public class Recommendation implements Serializable { |
14 | 15 |
15 /** Index and name of a facet. */ | 16 /** Index and name of a facet. */ |
16 public static class Facet implements Serializable { | 17 public static class Facet implements Serializable { |
17 | 18 |
19 /** Facet name. */ | |
18 protected String name; | 20 protected String name; |
21 /** Facet name. */ | |
19 protected String index; | 22 protected String index; |
20 | 23 |
21 public Facet() { | 24 public Facet() { |
22 } | 25 } |
23 | 26 |
95 Filter filter = (Filter) other; | 98 Filter filter = (Filter) other; |
96 return Recommendation.same(filter.getOuts(), this.getOuts()); | 99 return Recommendation.same(filter.getOuts(), this.getOuts()); |
97 } | 100 } |
98 } // class Filter | 101 } // class Filter |
99 | 102 |
103 /** Factory to speak to when creating/cloning. */ | |
100 protected String factory; | 104 protected String factory; |
105 /** Sometimes database ids, sometimes other freeform text. */ | |
101 protected String ids; | 106 protected String ids; |
102 protected String masterArtifact; | 107 protected String masterArtifact; |
108 /** Optional facet filter. */ | |
103 protected Filter filter; | 109 protected Filter filter; |
104 protected String displayName = null; | 110 protected String displayName = null; |
105 | 111 |
106 public Recommendation() { | 112 public Recommendation() { |
107 } | 113 } |