// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.06.29 at 05:04:10 PM MESZ // package slash.navigation.lmx.binding; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; import java.util.ArrayList; import java.util.List; /** * The landmark type. The landmark is a point on map or place in the world, which position * is defined by coordinates. The landmarks may belong to a set of landmark categories. It also may have * additional address information of the place this landmark points to. The landmark also may have * additional information, like description, coverage radius and a list of media links. * * * <p>Java class for landmarkType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="landmarkType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="coordinates" type="{http://www.nokia.com/schemas/location/landmarks/1/0}coordinatesType" minOccurs="0"/> * <element name="coverageRadius" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}float"> * <minInclusive value="0"/> * </restriction> * </simpleType> * </element> * <element name="addressInfo" type="{http://www.nokia.com/schemas/location/landmarks/1/0}addressInfoType" minOccurs="0"/> * <element name="mediaLink" type="{http://www.nokia.com/schemas/location/landmarks/1/0}mediaLinkType" maxOccurs="unbounded" minOccurs="0"/> * <element name="category" type="{http://www.nokia.com/schemas/location/landmarks/1/0}categoryType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "landmarkType", propOrder = { "name", "description", "coordinates", "coverageRadius", "addressInfo", "mediaLink", "category" }) public class LandmarkType { protected String name; protected String description; protected CoordinatesType coordinates; protected Float coverageRadius; protected AddressInfoType addressInfo; protected List<MediaLinkType> mediaLink; protected List<CategoryType> category; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the coordinates property. * * @return * possible object is * {@link CoordinatesType } * */ public CoordinatesType getCoordinates() { return coordinates; } /** * Sets the value of the coordinates property. * * @param value * allowed object is * {@link CoordinatesType } * */ public void setCoordinates(CoordinatesType value) { this.coordinates = value; } /** * Gets the value of the coverageRadius property. * * @return * possible object is * {@link Float } * */ public Float getCoverageRadius() { return coverageRadius; } /** * Sets the value of the coverageRadius property. * * @param value * allowed object is * {@link Float } * */ public void setCoverageRadius(Float value) { this.coverageRadius = value; } /** * Gets the value of the addressInfo property. * * @return * possible object is * {@link AddressInfoType } * */ public AddressInfoType getAddressInfo() { return addressInfo; } /** * Sets the value of the addressInfo property. * * @param value * allowed object is * {@link AddressInfoType } * */ public void setAddressInfo(AddressInfoType value) { this.addressInfo = value; } /** * Gets the value of the mediaLink property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the mediaLink property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMediaLink().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link MediaLinkType } * * */ public List<MediaLinkType> getMediaLink() { if (mediaLink == null) { mediaLink = new ArrayList<>(); } return this.mediaLink; } /** * Gets the value of the category property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the category property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCategory().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link CategoryType } * * */ public List<CategoryType> getCategory() { if (category == null) { category = new ArrayList<>(); } return this.category; } }