public static class Advice.Location extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para anonymous complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected double |
latitude |
protected double |
longitude |
| Constructor and Description |
|---|
Location() |
| 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) |
double |
getLatitude()
Obtiene el valor de la propiedad latitude.
|
double |
getLongitude()
Obtiene el valor de la propiedad longitude.
|
boolean |
isSetLatitude() |
boolean |
isSetLongitude() |
void |
setLatitude(double value)
Define el valor de la propiedad latitude.
|
void |
setLongitude(double value)
Define el valor de la propiedad longitude.
|
String |
toString() |
Advice.Location |
withLatitude(double value) |
Advice.Location |
withLongitude(double value) |
@NotNull protected double longitude
@NotNull protected double latitude
public double getLongitude()
public void setLongitude(double value)
public boolean isSetLongitude()
public double getLatitude()
public void setLatitude(double value)
public boolean isSetLatitude()
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 Advice.Location withLongitude(double value)
public Advice.Location withLatitude(double value)
Copyright © 2015. All Rights Reserved.