/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2014, 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.sml.xml.v200; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import org.geotoolkit.swe.xml.v200.AbstractSWEType; import org.geotoolkit.swe.xml.v200.Reference; /** * <p>Java class for TermType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="TermType"> * <complexContent> * <extension base="{http://www.opengis.net/swe/2.0}AbstractSWEType"> * <sequence> * <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="codeSpace" type="{http://www.opengis.net/swe/2.0}Reference" minOccurs="0"/> * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <attribute name="definition" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TermType", propOrder = { "label", "codeSpace", "value" }) public class TermType extends AbstractSWEType { @XmlElement(required = true) protected String label; protected Reference codeSpace; @XmlElement(required = true) protected String value; @XmlAttribute(name = "definition") @XmlSchemaType(name = "anyURI") protected String definition; /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } /** * Gets the value of the codeSpace property. * * @return * possible object is * {@link Reference } * */ public Reference getCodeSpace() { return codeSpace; } /** * Sets the value of the codeSpace property. * * @param value * allowed object is * {@link Reference } * */ public void setCodeSpace(Reference value) { this.codeSpace = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the definition property. * * @return * possible object is * {@link String } * */ public String getDefinition() { return definition; } /** * Sets the value of the definition property. * * @param value * allowed object is * {@link String } * */ public void setDefinition(String value) { this.definition = value; } }