Revision 66117dc5
Added by Andreas Müller about 13 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacade.java | ||
---|---|---|
1092 | 1092 |
* minimum of the range |
1093 | 1093 |
* @param maximumElevation |
1094 | 1094 |
* maximum of the range |
1095 |
* @throws IllegalArgumentException |
|
1095 | 1096 |
*/ |
1096 |
public void setAbsoluteElevationRange(Integer minimumElevation, |
|
1097 |
Integer maximumElevation) { |
|
1097 |
public void setAbsoluteElevationRange(Integer minimumElevation, Integer maximumElevation) throws IllegalArgumentException{ |
|
1098 | 1098 |
if (minimumElevation == null || maximumElevation == null) { |
1099 | 1099 |
Integer elevation = minimumElevation; |
1100 | 1100 |
Integer error = 0; |
... | ... | |
1762 | 1762 |
|
1763 | 1763 |
// Determination |
1764 | 1764 |
public void addDetermination(DeterminationEvent determination) { |
1765 |
testDerivedUnit(); |
|
1765 |
testDerivedUnit();
|
|
1766 | 1766 |
determination.setIdentifiedUnit(derivedUnit); |
1767 | 1767 |
derivedUnit.addDetermination(determination); |
1768 | 1768 |
} |
Also available in: Unified diff
minor