Class CuratorialUnitRange
- java.lang.Object
-
- org.gbif.api.model.registry.eml.curatorial.CuratorialUnit
-
- org.gbif.api.model.registry.eml.curatorial.CuratorialUnitRange
-
- All Implemented Interfaces:
Serializable
public class CuratorialUnitRange extends CuratorialUnit
Used to indicate that the curatorial unit falls within a range of values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CuratorialUnitRange()
CuratorialUnitRange(CuratorialUnitType type, String typeVerbatim, int lower, int upper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getLower()
int
getUpper()
int
hashCode()
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
-
CuratorialUnitRange
public CuratorialUnitRange()
-
CuratorialUnitRange
public CuratorialUnitRange(CuratorialUnitType type, String typeVerbatim, int lower, int upper)
-
-
Method Detail
-
getLower
public int getLower()
-
setLower
public void setLower(int lower)
-
getUpper
public int getUpper()
-
setUpper
public void setUpper(int upper)
-
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
-
-