Class CuratorialUnitComposite
- java.lang.Object
-
- org.gbif.api.model.registry.eml.curatorial.CuratorialUnit
-
- org.gbif.api.model.registry.eml.curatorial.CuratorialUnitComposite
-
- All Implemented Interfaces:
Serializable
public class CuratorialUnitComposite extends CuratorialUnit
Composite class, combining fields from CuratorialUnitCount and CuratorialUnitRange for simpler parsing of curatorial units, since both count and range types share the same root element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CuratorialUnitComposite()
CuratorialUnitComposite(int count, int deviation, int lower, int upper, String typeVerbatim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeviation(String deviation)
boolean
equals(Object o)
int
getCount()
int
getDeviation()
int
getLower()
int
getUpper()
int
hashCode()
void
setCount(int count)
void
setDeviation(int deviation)
void
setLower(int lower)
void
setUpper(int upper)
String
toString()
-
Methods inherited from class org.gbif.api.model.registry.eml.curatorial.CuratorialUnit
getType, getTypeVerbatim, setType, setTypeVerbatim
-
-
-
-
Constructor Detail
-
CuratorialUnitComposite
public CuratorialUnitComposite()
-
CuratorialUnitComposite
public CuratorialUnitComposite(int count, int deviation, int lower, int upper, String typeVerbatim)
-
-
Method Detail
-
getCount
public int getCount()
-
setCount
public void setCount(int count)
-
getDeviation
public int getDeviation()
-
setDeviation
public void setDeviation(int deviation)
-
getLower
public int getLower()
-
setLower
public void setLower(int lower)
-
getUpper
public int getUpper()
-
setUpper
public void setUpper(int upper)
-
addDeviation
public void addDeviation(String 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
-
-