/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2012, 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.gml.xml.v321;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* direction descriptions are specified by a compass point code, a keyword, a textual description or a reference to a description.
* A gml:compassPoint is specified by a simple enumeration.
* In addition, thre elements to contain text-based descriptions of direction are provided.
* If the direction is specified using a term from a list, gml:keyword should be used, and the list indicated using the value of the codeSpace attribute.
* if the direction is decribed in prose, gml:direction or gml:reference should be used, allowing the value to be included inline or by reference.
*
* <p>Java class for DirectionDescriptionType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DirectionDescriptionType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="compassPoint" type="{http://www.opengis.net/gml/3.2}CompassPointEnumeration"/>
* <element name="keyword" type="{http://www.opengis.net/gml/3.2}CodeType"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="reference" type="{http://www.opengis.net/gml/3.2}ReferenceType"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DirectionDescriptionType", propOrder = {
"compassPoint",
"keyword",
"description",
"reference"
})
public class DirectionDescriptionType {
private CompassPointEnumeration compassPoint;
private CodeType keyword;
private String description;
private ReferenceType reference;
/**
* Gets the value of the compassPoint property.
*
* @return
* possible object is
* {@link CompassPointEnumeration }
*
*/
public CompassPointEnumeration getCompassPoint() {
return compassPoint;
}
/**
* Sets the value of the compassPoint property.
*
* @param value
* allowed object is
* {@link CompassPointEnumeration }
*
*/
public void setCompassPoint(CompassPointEnumeration value) {
this.compassPoint = value;
}
/**
* Gets the value of the keyword property.
*
* @return
* possible object is
* {@link CodeType }
*
*/
public CodeType getKeyword() {
return keyword;
}
/**
* Sets the value of the keyword property.
*
* @param value
* allowed object is
* {@link CodeType }
*
*/
public void setKeyword(CodeType value) {
this.keyword = 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 reference property.
*
* @return
* possible object is
* {@link ReferenceType }
*
*/
public ReferenceType getReference() {
return reference;
}
/**
* Sets the value of the reference property.
*
* @param value
* allowed object is
* {@link ReferenceType }
*
*/
public void setReference(ReferenceType value) {
this.reference = value;
}
}