Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/themes/ThemeMapping.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 4897a58c8746 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
12 | 12 |
13 import java.io.Serializable; | 13 import java.io.Serializable; |
14 import java.util.regex.Matcher; | 14 import java.util.regex.Matcher; |
15 import java.util.regex.Pattern; | 15 import java.util.regex.Pattern; |
16 | 16 |
17 import org.dive4elements.river.artifacts.FLYSArtifact; | 17 import org.dive4elements.river.artifacts.D4EArtifact; |
18 | 18 |
19 /** | 19 /** |
20 * Represents mapping to a theme (including conditions). | 20 * Represents mapping to a theme (including conditions). |
21 */ | 21 */ |
22 public class ThemeMapping implements Serializable { | 22 public class ThemeMapping implements Serializable { |
117 * for true to be returned. | 117 * for true to be returned. |
118 * | 118 * |
119 * @param artifact Artifact of which to inspect data. | 119 * @param artifact Artifact of which to inspect data. |
120 * @return true if no condition is specified or condition is met. | 120 * @return true if no condition is specified or condition is met. |
121 */ | 121 */ |
122 public boolean masterAttrMatches(FLYSArtifact artifact) { | 122 public boolean masterAttrMatches(D4EArtifact artifact) { |
123 if (masterAttr == null || masterAttr.length() == 0) { | 123 if (masterAttr == null || masterAttr.length() == 0) { |
124 return true; | 124 return true; |
125 } | 125 } |
126 | 126 |
127 // Operator split. | 127 // Operator split. |