Revision 17c0f1e5
Added by Andreas Müller almost 6 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/Synonym.java | ||
---|---|---|
57 | 57 |
@XmlType(name = "Synonym", propOrder = { |
58 | 58 |
"acceptedTaxon", |
59 | 59 |
"type", |
60 |
"proParte", |
|
61 |
"partial" |
|
60 |
// "proParte",
|
|
61 |
// "partial"
|
|
62 | 62 |
}) |
63 | 63 |
@XmlRootElement(name = "Synonym") |
64 | 64 |
@Entity |
... | ... | |
84 | 84 |
// @NotNull(groups = Level2.class) |
85 | 85 |
private Taxon acceptedTaxon; |
86 | 86 |
|
87 |
|
|
88 |
@XmlElement(name = "IsProParte") |
|
89 |
private boolean proParte = false; |
|
90 |
|
|
91 |
@XmlElement(name = "IsPartial") |
|
92 |
private boolean partial = false; |
|
87 |
// |
|
88 |
// @XmlElement(name = "IsProParte")
|
|
89 |
// private boolean proParte = false;
|
|
90 |
// |
|
91 |
// @XmlElement(name = "IsPartial")
|
|
92 |
// private boolean partial = false;
|
|
93 | 93 |
|
94 | 94 |
|
95 | 95 |
@XmlElement(name = "Type") |
... | ... | |
172 | 172 |
checkHomotypic(); |
173 | 173 |
} |
174 | 174 |
} |
175 |
|
|
176 |
/** |
|
177 |
* Returns "true" if the proParte flag is set. |
|
178 |
* This indicates that the {@link name.TaxonName taxon name} used as a |
|
179 |
* {@link Synonym synonym} designated originally a real taxon which later has |
|
180 |
* been split. In this case the synonym is therefore the synonym of at least |
|
181 |
* two different ("accepted/valid") {@link Taxon taxa}. |
|
182 |
*/ |
|
183 |
public boolean isProParte() { |
|
184 |
return proParte; |
|
185 |
} |
|
186 |
|
|
187 |
/** |
|
188 |
* @see #isProParte() |
|
189 |
*/ |
|
190 |
public void setProParte(boolean proParte) { |
|
191 |
this.proParte = proParte; |
|
192 |
} |
|
193 |
|
|
194 |
/** |
|
195 |
* Returns "true" if the <cod>partial</code> flag is set. |
|
196 |
* This indicates that the {@link name.TaxonName taxon name} used as <code>this</code> |
|
197 |
* {@link Synonym synonym} designated originally a real taxon which later has |
|
198 |
* been lumped together with another one. In this case the |
|
199 |
* ("accepted/valid") {@link Taxon taxon} has therefore at least |
|
200 |
* two different synonyms (for the two lumped real taxa). |
|
201 |
*/ |
|
202 |
public boolean isPartial() { |
|
203 |
return partial; |
|
204 |
} |
|
205 |
|
|
206 |
/** |
|
207 |
* @see #isPartial() |
|
208 |
*/ |
|
209 |
public void setPartial(boolean partial) { |
|
210 |
this.partial = partial; |
|
211 |
} |
|
175 |
// |
|
176 |
// /**
|
|
177 |
// * Returns "true" if the proParte flag is set.
|
|
178 |
// * This indicates that the {@link name.TaxonName taxon name} used as a
|
|
179 |
// * {@link Synonym synonym} designated originally a real taxon which later has
|
|
180 |
// * been split. In this case the synonym is therefore the synonym of at least
|
|
181 |
// * two different ("accepted/valid") {@link Taxon taxa}.
|
|
182 |
// */
|
|
183 |
// public boolean isProParte() {
|
|
184 |
// return proParte;
|
|
185 |
// }
|
|
186 |
// |
|
187 |
// /**
|
|
188 |
// * @see #isProParte()
|
|
189 |
// */
|
|
190 |
// public void setProParte(boolean proParte) {
|
|
191 |
// this.proParte = proParte;
|
|
192 |
// }
|
|
193 |
// |
|
194 |
// /**
|
|
195 |
// * Returns "true" if the <cod>partial</code> flag is set.
|
|
196 |
// * This indicates that the {@link name.TaxonName taxon name} used as <code>this</code>
|
|
197 |
// * {@link Synonym synonym} designated originally a real taxon which later has
|
|
198 |
// * been lumped together with another one. In this case the
|
|
199 |
// * ("accepted/valid") {@link Taxon taxon} has therefore at least
|
|
200 |
// * two different synonyms (for the two lumped real taxa).
|
|
201 |
// */
|
|
202 |
// public boolean isPartial() {
|
|
203 |
// return partial;
|
|
204 |
// }
|
|
205 |
// |
|
206 |
// /**
|
|
207 |
// * @see #isPartial()
|
|
208 |
// */
|
|
209 |
// public void setPartial(boolean partial) {
|
|
210 |
// this.partial = partial;
|
|
211 |
// }
|
|
212 | 212 |
|
213 | 213 |
|
214 | 214 |
public SynonymType getType() { |
Also available in: Unified diff
ref #7334 remove proParte and partial from Synonym class