Package com.ibm.fhir.audit.cadf
Class CadfGeolocation
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.CadfGeolocation
-
public final class CadfGeolocation extends java.lang.Object
Representation 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 class
CadfGeolocation.Builder
Builder is a convenience pattern to assemble to Java Objectstatic class
CadfGeolocation.Parser
Parserstatic class
CadfGeolocation.Writer
Generates JSON from this object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CadfGeolocation.Builder
builder()
java.lang.Double
getAccuracy()
java.util.ArrayList<CadfMapItem>
getAnnotations()
java.lang.String
getCity()
java.lang.Double
getElevation()
java.lang.String
getId()
java.lang.String
getLatitude()
java.lang.String
getLongitude()
java.lang.String
getRegionICANN()
java.lang.String
getState()
-
-
-
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()
-
-