/* * 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.sld.xml.v100; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="color" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="opacity" type="{http://www.w3.org/2001/XMLSchema}double" /> * <attribute name="quantity" type="{http://www.w3.org/2001/XMLSchema}double" /> * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * * @module */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "ColorMapEntry") public class ColorMapEntry { @XmlAttribute(required = true) protected String color; @XmlAttribute protected Double opacity; @XmlAttribute protected Double quantity; @XmlAttribute protected String label; /** * Gets the value of the color property. * * @return * possible object is * {@link String } * */ public String getColor() { return color; } /** * Sets the value of the color property. * * @param value * allowed object is * {@link String } * */ public void setColor(final String value) { this.color = value; } /** * Gets the value of the opacity property. * * @return * possible object is * {@link Double } * */ public Double getOpacity() { return opacity; } /** * Sets the value of the opacity property. * * @param value * allowed object is * {@link Double } * */ public void setOpacity(final Double value) { this.opacity = value; } /** * Gets the value of the quantity property. * * @return * possible object is * {@link Double } * */ public Double getQuantity() { return quantity; } /** * Sets the value of the quantity property. * * @param value * allowed object is * {@link Double } * */ public void setQuantity(final Double value) { this.quantity = value; } /** * 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(final String value) { this.label = value; } }