Class CuratorialUnitCount
- java.lang.Object
-
- org.gbif.api.model.registry.eml.curatorial.CuratorialUnit
-
- org.gbif.api.model.registry.eml.curatorial.CuratorialUnitCount
-
- All Implemented Interfaces:
Serializable
public class CuratorialUnitCount extends CuratorialUnit
Used for acuratorial unit count with uncertainty. E.g. 100000 +/- 1000.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CuratorialUnitCount()
CuratorialUnitCount(CuratorialUnitType type, String typeVerbatim, int count, int deviation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getCount()
int
getDeviation()
int
hashCode()
void
setCount(int count)
void
setDeviation(int deviation)
String
toString()
-
Methods inherited from class org.gbif.api.model.registry.eml.curatorial.CuratorialUnit
getType, getTypeVerbatim, setType, setTypeVerbatim
-
-
-
-
Constructor Detail
-
CuratorialUnitCount
public CuratorialUnitCount()
-
CuratorialUnitCount
public CuratorialUnitCount(CuratorialUnitType type, String typeVerbatim, int count, int deviation)
-
-
Method Detail
-
getCount
public int getCount()
-
setCount
public void setCount(int count)
-
getDeviation
public int getDeviation()
-
setDeviation
public void setDeviation(int deviation)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCuratorialUnit
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCuratorialUnit
-
toString
public String toString()
- Overrides:
toString
in classCuratorialUnit
-
-