📄 locationinfo.java
字号:
package cn.com.chinatelecom.schema.ctcc.terminal_location.v2_1;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for LocationInfo complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="LocationInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* <element name="latitude" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="longitude" type="{http://www.w3.org/2001/XMLSchema}float"/>
* <element name="altitude" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
* <element name="accuracy" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LocationInfo", propOrder = {
"address",
"latitude",
"longitude",
"altitude",
"accuracy",
"timestamp"
})
public class LocationInfo {
@XmlElement(required = true)
protected String address;
protected float latitude;
protected float longitude;
protected Float altitude;
protected Integer accuracy;
@XmlElement(required = true)
protected XMLGregorianCalendar timestamp;
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
/**
* Gets the value of the latitude property.
*
*/
public float getLatitude() {
return latitude;
}
/**
* Sets the value of the latitude property.
*
*/
public void setLatitude(float value) {
this.latitude = value;
}
/**
* Gets the value of the longitude property.
*
*/
public float getLongitude() {
return longitude;
}
/**
* Sets the value of the longitude property.
*
*/
public void setLongitude(float value) {
this.longitude = value;
}
/**
* Gets the value of the altitude property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getAltitude() {
return altitude;
}
/**
* Sets the value of the altitude property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setAltitude(Float value) {
this.altitude = value;
}
/**
* Gets the value of the accuracy property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getAccuracy() {
return accuracy;
}
/**
* Sets the value of the accuracy property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setAccuracy(Integer value) {
this.accuracy = value;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimestamp(XMLGregorianCalendar value) {
this.timestamp = value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -