/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2008 - 2009, 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.owc.xml.v030; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Java class for DimensionType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="DimensionType"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="unitSymbol" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="userValue" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="multipleValues" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * <attribute name="nearestValue" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * <attribute name="current" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * </extension> * </simpleContent> * </complexType> * </pre> * * * @module */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DimensionType", propOrder = { "value" }) public class DimensionType { @XmlValue protected String value; @XmlAttribute(required = true) protected String name; @XmlAttribute(required = true) protected String units; @XmlAttribute protected String unitSymbol; @XmlAttribute protected String userValue; @XmlAttribute(name = "default") protected String _default; @XmlAttribute protected Boolean multipleValues; @XmlAttribute protected Boolean nearestValue; @XmlAttribute protected Boolean current; /** * 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(final String value) { this.value = value; } /** * 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(final String value) { this.name = value; } /** * Gets the value of the units property. * * @return * possible object is * {@link String } * */ public String getUnits() { return units; } /** * Sets the value of the units property. * * @param value * allowed object is * {@link String } * */ public void setUnits(final String value) { this.units = value; } /** * Gets the value of the unitSymbol property. * * @return * possible object is * {@link String } * */ public String getUnitSymbol() { return unitSymbol; } /** * Sets the value of the unitSymbol property. * * @param value * allowed object is * {@link String } * */ public void setUnitSymbol(final String value) { this.unitSymbol = value; } /** * Gets the value of the userValue property. * * @return * possible object is * {@link String } * */ public String getUserValue() { return userValue; } /** * Sets the value of the userValue property. * * @param value * allowed object is * {@link String } * */ public void setUserValue(final String value) { this.userValue = value; } /** * Gets the value of the default property. * * @return * possible object is * {@link String } * */ public String getDefault() { return _default; } /** * Sets the value of the default property. * * @param value * allowed object is * {@link String } * */ public void setDefault(final String value) { this._default = value; } /** * Gets the value of the multipleValues property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMultipleValues() { return multipleValues; } /** * Sets the value of the multipleValues property. * * @param value * allowed object is * {@link Boolean } * */ public void setMultipleValues(final Boolean value) { this.multipleValues = value; } /** * Gets the value of the nearestValue property. * * @return * possible object is * {@link Boolean } * */ public Boolean isNearestValue() { return nearestValue; } /** * Sets the value of the nearestValue property. * * @param value * allowed object is * {@link Boolean } * */ public void setNearestValue(final Boolean value) { this.nearestValue = value; } /** * Gets the value of the current property. * * @return * possible object is * {@link Boolean } * */ public Boolean isCurrent() { return current; } /** * Sets the value of the current property. * * @param value * allowed object is * {@link Boolean } * */ public void setCurrent(final Boolean value) { this.current = value; } }