fish.focus.schema.exchange.movement.v1.MovementPoint Maven / Gradle / Ivy
package fish.focus.schema.exchange.movement.v1;
import java.io.Serializable;
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 org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Java class for MovementPoint complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MovementPoint">
* <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"/>
* <element name="altitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MovementPoint", propOrder = {
"longitude",
"latitude",
"altitude"
})
public class MovementPoint
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true, type = Double.class, nillable = true)
protected Double longitude;
@XmlElement(required = true, type = Double.class, nillable = true)
protected Double latitude;
@XmlElement(required = true, type = Double.class, nillable = true)
protected Double altitude;
/**
* Gets the value of the longitude property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getLongitude() {
return longitude;
}
/**
* Sets the value of the longitude property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setLongitude(Double value) {
this.longitude = value;
}
/**
* Gets the value of the latitude property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getLatitude() {
return latitude;
}
/**
* Sets the value of the latitude property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setLatitude(Double value) {
this.latitude = value;
}
/**
* Gets the value of the altitude property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getAltitude() {
return altitude;
}
/**
* Sets the value of the altitude property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setAltitude(Double value) {
this.altitude = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}