com.ibm.fhir.persistence.jdbc.dto.LocationParmVal Maven / Gradle / Ivy
/*
* (C) Copyright IBM Corp. 2017,2019
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.persistence.jdbc.dto;
import com.ibm.fhir.persistence.exception.FHIRPersistenceException;
/**
* This class defines the Data Transfer Object representing a row in the X_LATLNG_VALUES tables.
*/
public class LocationParmVal implements ExtractedParameterValue {
private String resourceType;
private String name;
private Double valueLongitude;
private Double valueLatitude;
// The SearchParameter base type. If "Resource", then this is a Resource-level attribute
private String base;
public LocationParmVal() {
super();
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public Double getValueLongitude() {
return valueLongitude;
}
public void setValueLongitude(Double valueLongitude) {
this.valueLongitude = valueLongitude;
}
public Double getValueLatitude() {
return valueLatitude;
}
public void setValueLatitude(Double valueLatitude) {
this.valueLatitude = valueLatitude;
}
public String getResourceType() {
return resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
/**
* We know our type, so we can call the correct method on the visitor
*/
public void accept(ExtractedParameterValueVisitor visitor) throws FHIRPersistenceException {
visitor.visit(this);
}
/**
* @return the base
*/
public String getBase() {
return base;
}
/**
* @param base the base to set
*/
public void setBase(String base) {
this.base = base;
}
}