/*
* 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for StyleType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="StyleType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Abstract" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="LegendURL" type="{http://www.opengis.net/ows-context}URLType" minOccurs="0"/>
* </sequence>
* <element name="SLD" type="{http://www.opengis.net/ows-context}SLDType" minOccurs="0"/>
* </choice>
* <attribute name="current" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StyleType", propOrder = {
"name",
"title",
"_abstract",
"legendURL",
"sld"
})
public class StyleType {
@XmlElement(name = "Name")
protected String name;
@XmlElement(name = "Title")
protected String title;
@XmlElement(name = "Abstract")
protected String _abstract;
@XmlElement(name = "LegendURL")
protected URLType legendURL;
@XmlElement(name = "SLD")
protected SLDType sld;
@XmlAttribute
protected Boolean current;
/**
* 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 title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(final String value) {
this.title = value;
}
/**
* Gets the value of the abstract property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAbstract() {
return _abstract;
}
/**
* Sets the value of the abstract property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAbstract(final String value) {
this._abstract = value;
}
/**
* Gets the value of the legendURL property.
*
* @return
* possible object is
* {@link URLType }
*
*/
public URLType getLegendURL() {
return legendURL;
}
/**
* Sets the value of the legendURL property.
*
* @param value
* allowed object is
* {@link URLType }
*
*/
public void setLegendURL(final URLType value) {
this.legendURL = value;
}
/**
* Gets the value of the sld property.
*
* @return
* possible object is
* {@link SLDType }
*
*/
public SLDType getSLD() {
return sld;
}
/**
* Sets the value of the sld property.
*
* @param value
* allowed object is
* {@link SLDType }
*
*/
public void setSLD(final SLDType value) {
this.sld = 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;
}
}