Revision 4f3b7527
Added by Andreas Müller over 3 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/TaxonNode.java | ||
---|---|---|
188 | 188 |
@Cascade({CascadeType.SAVE_UPDATE, CascadeType.MERGE, CascadeType.DELETE}) |
189 | 189 |
private Set<TaxonNodeAgentRelation> agentRelations = new HashSet<>(); |
190 | 190 |
|
191 |
// private boolean unplaced = false; |
|
192 |
public boolean isUnplaced() {return hasStatus(TaxonNodeStatus.UNPLACED);} |
|
193 |
// @Deprecated |
|
194 |
// public void setUnplaced(boolean unplaced) {setStatus(TaxonNodeStatus.UNPLACED, unplaced);} |
|
195 |
|
|
196 |
//#8281 indicates a preliminary placement |
|
197 |
// private boolean doubtful = false; |
|
198 |
public boolean isDoubtful() {return hasStatus(TaxonNodeStatus.DOUBTFUL);} |
|
199 |
// @Deprecated |
|
200 |
// public void setDoubtful(boolean doubtful) {setStatus(TaxonNodeStatus.DOUBTFUL, doubtful);} |
|
201 |
|
|
202 |
// private boolean excluded = false; |
|
203 |
public boolean isExcluded() {return hasStatus(TaxonNodeStatus.EXCLUDED);} |
|
204 |
// @Deprecated |
|
205 |
// public void setExcluded(boolean excluded) {setStatus(TaxonNodeStatus.EXCLUDED, excluded);} |
|
206 |
|
|
207 | 191 |
/** |
208 | 192 |
* The {@link TaxonNodeStatus status} of this taxon node. |
209 | 193 |
*/ |
... | ... | |
312 | 296 |
this.classification = classification; |
313 | 297 |
} |
314 | 298 |
|
299 |
public boolean isUnplaced() {return hasStatus(TaxonNodeStatus.UNPLACED);} |
|
300 |
|
|
301 |
//#8281 indicates a preliminary placement |
|
302 |
public boolean isDoubtful() {return hasStatus(TaxonNodeStatus.DOUBTFUL);} |
|
303 |
|
|
304 |
public boolean isExcluded() {return hasStatus(TaxonNodeStatus.EXCLUDED);} |
|
305 |
|
|
315 | 306 |
//************************* SOURCE *********************/ |
316 | 307 |
|
317 | 308 |
@Override |
Also available in: Unified diff
cleanup