Class Bounding
- java.lang.Object
-
- org.linuxforhealth.fhir.search.location.bounding.Bounding
-
- Direct Known Subclasses:
BoundingBox
,BoundingMissing
,BoundingRadius
public abstract class Bounding extends java.lang.Object
Bounding defines an area that is searched with a location. There are default constraints included in this implementation.
-
-
Constructor Summary
Constructors Constructor Description Bounding()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<java.lang.Double>
getDataPoints()
gets the coordinates in an ordered listabstract BoundingType
getType()
returns the bounding type - radius or box.int
instance()
void
setInstance(int instance)
sets the instance numberabstract void
validate()
validates the Longitude and Latitude is valid for the Bounding area.
-
-
-
Method Detail
-
setInstance
public void setInstance(int instance)
sets the instance number
-
instance
public int instance()
- Returns:
- the instance of the parameter
-
validate
public abstract void validate()
validates the Longitude and Latitude is valid for the Bounding area.
-
getDataPoints
public abstract java.util.List<java.lang.Double> getDataPoints()
gets the coordinates in an ordered list- Returns:
-
getType
public abstract BoundingType getType()
returns the bounding type - radius or box.- Returns:
-
-