Class Location.Position
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Location.Position
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- Location
public static class Location.Position extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Location.position ()Definition: The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Position()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)BigDecimalgetAltitude()Gets the value(s) for altitude ().ca.uhn.fhir.model.primitive.DecimalDtgetAltitudeElement()Gets the value(s) for altitude ().BigDecimalgetLatitude()Gets the value(s) for latitude ().ca.uhn.fhir.model.primitive.DecimalDtgetLatitudeElement()Gets the value(s) for latitude ().BigDecimalgetLongitude()Gets the value(s) for longitude ().ca.uhn.fhir.model.primitive.DecimalDtgetLongitudeElement()Gets the value(s) for longitude ().booleanisEmpty()Location.PositionsetAltitude(double theValue)Sets the value for altitude ()Location.PositionsetAltitude(long theValue)Sets the value for altitude ()Location.PositionsetAltitude(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for altitude ()Location.PositionsetAltitude(BigDecimal theValue)Sets the value for altitude ()Location.PositionsetLatitude(double theValue)Sets the value for latitude ()Location.PositionsetLatitude(long theValue)Sets the value for latitude ()Location.PositionsetLatitude(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for latitude ()Location.PositionsetLatitude(BigDecimal theValue)Sets the value for latitude ()Location.PositionsetLongitude(double theValue)Sets the value for longitude ()Location.PositionsetLongitude(long theValue)Sets the value for longitude ()Location.PositionsetLongitude(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for longitude ()Location.PositionsetLongitude(BigDecimal theValue)Sets the value for longitude ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Position
public Position()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getLongitudeElement
public ca.uhn.fhir.model.primitive.DecimalDt getLongitudeElement()
Gets the value(s) for longitude (). creating it if it does not exist. Will not returnnull.Definition: Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
-
getLongitude
public BigDecimal getLongitude()
Gets the value(s) for longitude (). creating it if it does not exist. This method may returnnull.Definition: Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
-
setLongitude
public Location.Position setLongitude(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for longitude ()Definition: Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
-
setLongitude
public Location.Position setLongitude(long theValue)
Sets the value for longitude ()Definition: Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
-
setLongitude
public Location.Position setLongitude(double theValue)
Sets the value for longitude ()Definition: Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
-
setLongitude
public Location.Position setLongitude(BigDecimal theValue)
Sets the value for longitude ()Definition: Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)
-
getLatitudeElement
public ca.uhn.fhir.model.primitive.DecimalDt getLatitudeElement()
Gets the value(s) for latitude (). creating it if it does not exist. Will not returnnull.Definition: Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
-
getLatitude
public BigDecimal getLatitude()
Gets the value(s) for latitude (). creating it if it does not exist. This method may returnnull.Definition: Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
-
setLatitude
public Location.Position setLatitude(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for latitude ()Definition: Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
-
setLatitude
public Location.Position setLatitude(long theValue)
Sets the value for latitude ()Definition: Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
-
setLatitude
public Location.Position setLatitude(double theValue)
Sets the value for latitude ()Definition: Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
-
setLatitude
public Location.Position setLatitude(BigDecimal theValue)
Sets the value for latitude ()Definition: Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)
-
getAltitudeElement
public ca.uhn.fhir.model.primitive.DecimalDt getAltitudeElement()
Gets the value(s) for altitude (). creating it if it does not exist. Will not returnnull.Definition: Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
-
getAltitude
public BigDecimal getAltitude()
Gets the value(s) for altitude (). creating it if it does not exist. This method may returnnull.Definition: Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
-
setAltitude
public Location.Position setAltitude(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for altitude ()Definition: Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
-
setAltitude
public Location.Position setAltitude(long theValue)
Sets the value for altitude ()Definition: Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
-
setAltitude
public Location.Position setAltitude(double theValue)
Sets the value for altitude ()Definition: Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
-
setAltitude
public Location.Position setAltitude(BigDecimal theValue)
Sets the value for altitude ()Definition: Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)
-
-