All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geojsf.model.xml.geojsf.Sld Maven / Gradle / Ivy

The newest version!

package org.geojsf.model.xml.geojsf;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://www.geojsf.org}sldTemplate"/>
 *         <element ref="{http://www.geojsf.org}sldRule" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sldTemplate", "sldRule" }) @XmlRootElement(name = "sld") public class Sld implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected SldTemplate sldTemplate; @XmlElement(required = true) protected List sldRule; @XmlAttribute(name = "id") protected Long id; /** * Gets the value of the sldTemplate property. * * @return * possible object is * {@link SldTemplate } * */ public SldTemplate getSldTemplate() { return sldTemplate; } /** * Sets the value of the sldTemplate property. * * @param value * allowed object is * {@link SldTemplate } * */ public void setSldTemplate(SldTemplate value) { this.sldTemplate = value; } public boolean isSetSldTemplate() { return (this.sldTemplate!= null); } /** * Gets the value of the sldRule property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the sldRule property. * *

* For example, to add a new item, do as follows: *

     *    getSldRule().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SldRule } * * */ public List getSldRule() { if (sldRule == null) { sldRule = new ArrayList(); } return this.sldRule; } public boolean isSetSldRule() { return ((this.sldRule!= null)&&(!this.sldRule.isEmpty())); } public void unsetSldRule() { this.sldRule = null; } /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public long getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(long value) { this.id = value; } public boolean isSetId() { return (this.id!= null); } public void unsetId() { this.id = null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy