Class CadfGeolocation
- java.lang.Object
-
- org.linuxforhealth.fhir.audit.cadf.CadfGeolocation
-
public final class CadfGeolocation extends java.lang.ObjectRepresentation of the CADF Geolocation type. Geolocation information, which reveals a resource’s physical location, is obtained by using tracking technologies such as global positioning system (GPS) devices, or IP geolocation by using databases that map IP addresses to geographic locations. Geolocation information is widely used in context-sensitive content delivery, enforcing location-based access restrictions on services, and fraud detection and prevention. Due to the intense concerns about security and privacy, countries and regions introduced various legislation and regulation. To determine whether an event is compliant sometimes depends on the geolocation of the event. Therefore, it is crucial to report geolocation information unambiguously in an audit trail.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCadfGeolocation.BuilderBuilder is a convenience pattern to assemble to Java Objectstatic classCadfGeolocation.ParserParserstatic classCadfGeolocation.WriterGenerates JSON from this object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CadfGeolocation.Builderbuilder()java.lang.DoublegetAccuracy()java.util.ArrayList<CadfMapItem>getAnnotations()java.lang.StringgetCity()java.lang.DoublegetElevation()java.lang.StringgetId()java.lang.StringgetLatitude()java.lang.StringgetLongitude()java.lang.StringgetRegionICANN()java.lang.StringgetState()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- the id
-
getElevation
public java.lang.Double getElevation()
- Returns:
- the elevation
-
getAccuracy
public java.lang.Double getAccuracy()
- Returns:
- the accuracy
-
getState
public java.lang.String getState()
- Returns:
- the state
-
getAnnotations
public java.util.ArrayList<CadfMapItem> getAnnotations()
- Returns:
- the annotations
-
getCity
public java.lang.String getCity()
-
getRegionICANN
public java.lang.String getRegionICANN()
-
getLatitude
public java.lang.String getLatitude()
-
getLongitude
public java.lang.String getLongitude()
-
builder
public static CadfGeolocation.Builder builder()
-
-