Package com.ibm.fhir.audit.cadf
Class CadfGeolocation
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.CadfGeolocation
-
public final class CadfGeolocation extends 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 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()DoublegetAccuracy()ArrayList<CadfMapItem>getAnnotations()StringgetCity()DoublegetElevation()StringgetId()StringgetLatitude()StringgetLongitude()StringgetRegionICANN()StringgetState()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id
-
getElevation
public Double getElevation()
- Returns:
- the elevation
-
getAccuracy
public Double getAccuracy()
- Returns:
- the accuracy
-
getState
public String getState()
- Returns:
- the state
-
getAnnotations
public ArrayList<CadfMapItem> getAnnotations()
- Returns:
- the annotations
-
getCity
public String getCity()
-
getRegionICANN
public String getRegionICANN()
-
getLatitude
public String getLatitude()
-
getLongitude
public String getLongitude()
-
builder
public static CadfGeolocation.Builder builder()
-
-