/* * 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 java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlList; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ParameterValueType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ParameterValueType"> * <complexContent> * <extension base="{http://www.opengis.net/gml/3.2}AbstractGeneralParameterValueType"> * <sequence> * <choice> * <element ref="{http://www.opengis.net/gml/3.2}value"/> * <element ref="{http://www.opengis.net/gml/3.2}dmsAngleValue"/> * <element ref="{http://www.opengis.net/gml/3.2}stringValue"/> * <element ref="{http://www.opengis.net/gml/3.2}integerValue"/> * <element ref="{http://www.opengis.net/gml/3.2}booleanValue"/> * <element ref="{http://www.opengis.net/gml/3.2}valueList"/> * <element ref="{http://www.opengis.net/gml/3.2}integerValueList"/> * <element ref="{http://www.opengis.net/gml/3.2}valueFile"/> * </choice> * <element ref="{http://www.opengis.net/gml/3.2}operationParameterProperty"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(/*name = "ParameterValueType",*/ propOrder = { "value", "dmsAngleValue", "stringValue", "integerValue", "booleanValue", "valueList", "integerValueList", "valueFile", "operationParameterProperty" }) public class ParameterValueType extends AbstractGeneralParameterValueType { private MeasureType value; private DMSAngleType dmsAngleValue; private String stringValue; @XmlSchemaType(name = "positiveInteger") private Integer integerValue; private java.lang.Boolean booleanValue; private MeasureListType valueList; @XmlList private List<Integer> integerValueList; @XmlSchemaType(name = "anyURI") private String valueFile; @XmlElementRef(name = "operationParameterProperty", namespace = "http://www.opengis.net/gml/3.2", type = JAXBElement.class) private JAXBElement<OperationParameterPropertyType> operationParameterProperty; /** * Gets the value of the value property. * * @return * possible object is * {@link MeasureType } * */ public MeasureType getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link MeasureType } * */ public void setValue(MeasureType value) { this.value = value; } /** * Gets the value of the dmsAngleValue property. * * @return * possible object is * {@link DMSAngleType } * */ public DMSAngleType getDmsAngleValue() { return dmsAngleValue; } /** * Sets the value of the dmsAngleValue property. * * @param value * allowed object is * {@link DMSAngleType } * */ public void setDmsAngleValue(DMSAngleType value) { this.dmsAngleValue = value; } /** * Gets the value of the stringValue property. * * @return * possible object is * {@link String } * */ public String getStringValue() { return stringValue; } /** * Sets the value of the stringValue property. * * @param value * allowed object is * {@link String } * */ public void setStringValue(String value) { this.stringValue = value; } /** * Gets the value of the integerValue property. * * @return * possible object is * {@link Integer } * */ public Integer getIntegerValue() { return integerValue; } /** * Sets the value of the integerValue property. * * @param value * allowed object is * {@link Integer } * */ public void setIntegerValue(Integer value) { this.integerValue = value; } /** * Gets the value of the booleanValue property. * * @return * possible object is * {@link java.lang.Boolean } * */ public java.lang.Boolean isBooleanValue() { return booleanValue; } /** * Sets the value of the booleanValue property. * * @param value * allowed object is * {@link java.lang.Boolean } * */ public void setBooleanValue(java.lang.Boolean value) { this.booleanValue = value; } /** * Gets the value of the valueList property. * * @return * possible object is * {@link MeasureListType } * */ public MeasureListType getValueList() { return valueList; } /** * Sets the value of the valueList property. * * @param value * allowed object is * {@link MeasureListType } * */ public void setValueList(MeasureListType value) { this.valueList = value; } /** * Gets the value of the integerValueList property. * <p> * Objects of the following type(s) are allowed in the list * {@link Integer } * */ public List<Integer> getIntegerValueList() { if (integerValueList == null) { integerValueList = new ArrayList<>(); } return this.integerValueList; } /** * Gets the value of the valueFile property. * * @return * possible object is * {@link String } * */ public String getValueFile() { return valueFile; } /** * Sets the value of the valueFile property. * * @param value * allowed object is * {@link String } * */ public void setValueFile(String value) { this.valueFile = value; } /** * Gets the value of the operationParameterProperty property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link OperationParameterPropertyType }{@code >} * {@link JAXBElement }{@code <}{@link OperationParameterPropertyType }{@code >} * */ public JAXBElement<OperationParameterPropertyType> getOperationParameterProperty() { return operationParameterProperty; } /** * Sets the value of the operationParameterProperty property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link OperationParameterPropertyType }{@code >} * {@link JAXBElement }{@code <}{@link OperationParameterPropertyType }{@code >} * */ public void setOperationParameterProperty(JAXBElement<OperationParameterPropertyType> value) { this.operationParameterProperty = ((JAXBElement<OperationParameterPropertyType> ) value); } }