/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2011, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.ols.xml.v121;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.geotoolkit.gml.xml.v311.PointType;
/**
* <p>Java class for PointOfInterestType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="PointOfInterestType">
* <complexContent>
* <extension base="{http://www.opengis.net/xls}AbstractPOIType">
* <sequence>
* <element ref="{http://www.opengis.net/xls}POIAttributeList" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml}Point" minOccurs="0"/>
* <element ref="{http://www.opengis.net/xls}Address" minOccurs="0"/>
* </sequence>
* <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="POIName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PointOfInterestType", propOrder = {
"poiAttributeList",
"point",
"address"
})
public class PointOfInterestType extends AbstractPOIType {
@XmlElement(name = "POIAttributeList")
private POIAttributeListType poiAttributeList;
@XmlElement(name = "Point", namespace = "http://www.opengis.net/gml")
private PointType point;
@XmlElement(name = "Address")
private AddressType address;
@XmlAttribute(name = "ID", required = true)
private String id;
@XmlAttribute(name = "POIName")
private String poiName;
@XmlAttribute
private String phoneNumber;
@XmlAttribute
private String description;
/**
* Gets the value of the poiAttributeList property.
*
* @return
* possible object is
* {@link POIAttributeListType }
*
*/
public POIAttributeListType getPOIAttributeList() {
return poiAttributeList;
}
/**
* Sets the value of the poiAttributeList property.
*
* @param value
* allowed object is
* {@link POIAttributeListType }
*
*/
public void setPOIAttributeList(POIAttributeListType value) {
this.poiAttributeList = value;
}
/**
* Gets the value of the point property.
*
* @return
* possible object is
* {@link PointType }
*
*/
public PointType getPoint() {
return point;
}
/**
* Sets the value of the point property.
*
* @param value
* allowed object is
* {@link PointType }
*
*/
public void setPoint(PointType value) {
this.point = value;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link AddressType }
*
*/
public AddressType getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link AddressType }
*
*/
public void setAddress(AddressType value) {
this.address = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the poiName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPOIName() {
return poiName;
}
/**
* Sets the value of the poiName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPOIName(String value) {
this.poiName = value;
}
/**
* Gets the value of the phoneNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhoneNumber() {
return phoneNumber;
}
/**
* Sets the value of the phoneNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhoneNumber(String value) {
this.phoneNumber = 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;
}
}