public class LocationType extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para LocationType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="LocationType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="accuracy" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="altitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="bearing" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="elapsedRealtimeNanos" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="provider" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="speed" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="time" type="{http://www.w3.org/2001/XMLSchema}long"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected float |
accuracy |
protected double |
altitude |
protected float |
bearing |
protected long |
elapsedRealtimeNanos |
protected double |
latitude |
protected double |
longitude |
protected String |
provider |
protected float |
speed |
protected long |
time |
| Constructor and Description |
|---|
LocationType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
float |
getAccuracy()
Obtiene el valor de la propiedad accuracy.
|
double |
getAltitude()
Obtiene el valor de la propiedad altitude.
|
float |
getBearing()
Obtiene el valor de la propiedad bearing.
|
long |
getElapsedRealtimeNanos()
Obtiene el valor de la propiedad elapsedRealtimeNanos.
|
double |
getLatitude()
Obtiene el valor de la propiedad latitude.
|
double |
getLongitude()
Obtiene el valor de la propiedad longitude.
|
String |
getProvider()
Obtiene el valor de la propiedad provider.
|
float |
getSpeed()
Obtiene el valor de la propiedad speed.
|
long |
getTime()
Obtiene el valor de la propiedad time.
|
boolean |
isSetAccuracy() |
boolean |
isSetAltitude() |
boolean |
isSetBearing() |
boolean |
isSetElapsedRealtimeNanos() |
boolean |
isSetLatitude() |
boolean |
isSetLongitude() |
boolean |
isSetProvider() |
boolean |
isSetSpeed() |
boolean |
isSetTime() |
void |
setAccuracy(float value)
Define el valor de la propiedad accuracy.
|
void |
setAltitude(double value)
Define el valor de la propiedad altitude.
|
void |
setBearing(float value)
Define el valor de la propiedad bearing.
|
void |
setElapsedRealtimeNanos(long value)
Define el valor de la propiedad elapsedRealtimeNanos.
|
void |
setLatitude(double value)
Define el valor de la propiedad latitude.
|
void |
setLongitude(double value)
Define el valor de la propiedad longitude.
|
void |
setProvider(String value)
Define el valor de la propiedad provider.
|
void |
setSpeed(float value)
Define el valor de la propiedad speed.
|
void |
setTime(long value)
Define el valor de la propiedad time.
|
String |
toString() |
LocationType |
withAccuracy(float value) |
LocationType |
withAltitude(double value) |
LocationType |
withBearing(float value) |
LocationType |
withElapsedRealtimeNanos(long value) |
LocationType |
withLatitude(double value) |
LocationType |
withLongitude(double value) |
LocationType |
withProvider(String value) |
LocationType |
withSpeed(float value) |
LocationType |
withTime(long value) |
@NotNull protected float accuracy
@NotNull protected double altitude
@NotNull protected float bearing
@NotNull protected long elapsedRealtimeNanos
@NotNull protected double latitude
@NotNull protected double longitude
@NotNull protected String provider
@NotNull protected float speed
@NotNull protected long time
public float getAccuracy()
public void setAccuracy(float value)
public boolean isSetAccuracy()
public double getAltitude()
public void setAltitude(double value)
public boolean isSetAltitude()
public float getBearing()
public void setBearing(float value)
public boolean isSetBearing()
public long getElapsedRealtimeNanos()
public void setElapsedRealtimeNanos(long value)
public boolean isSetElapsedRealtimeNanos()
public double getLatitude()
public void setLatitude(double value)
public boolean isSetLatitude()
public double getLongitude()
public void setLongitude(double value)
public boolean isSetLongitude()
public String getProvider()
Stringpublic void setProvider(String value)
value - allowed object is
Stringpublic boolean isSetProvider()
public float getSpeed()
public void setSpeed(float value)
public boolean isSetSpeed()
public long getTime()
public void setTime(long value)
public boolean isSetTime()
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic LocationType withAccuracy(float value)
public LocationType withAltitude(double value)
public LocationType withBearing(float value)
public LocationType withElapsedRealtimeNanos(long value)
public LocationType withLatitude(double value)
public LocationType withLongitude(double value)
public LocationType withProvider(String value)
public LocationType withSpeed(float value)
public LocationType withTime(long value)
Copyright © 2015. All Rights Reserved.