package ade.sub.jaxb;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import net.opengis.citygml._1.AbstractCityObjectType;
import net.opengis.gml.CodeType;
import net.opengis.gml.GeometryPropertyType;
/**
* <p>Java-Klasse f�r TunnelFurnitureType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="TunnelFurnitureType">
* <complexContent>
* <extension base="{http://www.opengis.net/citygml/1.0}AbstractCityObjectType">
* <sequence>
* <element name="class" type="{http://www.opengis.net/gml}CodeType" minOccurs="0"/>
* <element name="function" type="{http://www.opengis.net/gml}CodeType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="usage" type="{http://www.opengis.net/gml}CodeType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="lod4Geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/>
* <element ref="{http://www.citygml.org/ade/sub/0.9.0}_GenericApplicationPropertyOfTunnelFurniture" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TunnelFurnitureType", propOrder = {
"clazz",
"function",
"usage",
"lod4Geometry",
"_GenericApplicationPropertyOfTunnelFurniture"
})
public class TunnelFurnitureType
extends AbstractCityObjectType
{
@XmlElement(name = "class")
protected CodeType clazz;
protected List<CodeType> function;
protected List<CodeType> usage;
protected GeometryPropertyType lod4Geometry;
protected List<Object> _GenericApplicationPropertyOfTunnelFurniture;
/**
* Ruft den Wert der clazz-Eigenschaft ab.
*
* @return
* possible object is
* {@link CodeType }
*
*/
public CodeType getClazz() {
return clazz;
}
/**
* Legt den Wert der clazz-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CodeType }
*
*/
public void setClazz(CodeType value) {
this.clazz = value;
}
public boolean isSetClazz() {
return (this.clazz!= null);
}
/**
* Gets the value of the function property.
*
* <p>
* 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 <CODE>set</CODE> method for the function property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getFunction().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CodeType }
*
*
*/
public List<CodeType> getFunction() {
if (function == null) {
function = new ArrayList<CodeType>();
}
return this.function;
}
public boolean isSetFunction() {
return ((this.function!= null)&&(!this.function.isEmpty()));
}
public void unsetFunction() {
this.function = null;
}
/**
* Gets the value of the usage property.
*
* <p>
* 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 <CODE>set</CODE> method for the usage property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getUsage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CodeType }
*
*
*/
public List<CodeType> getUsage() {
if (usage == null) {
usage = new ArrayList<CodeType>();
}
return this.usage;
}
public boolean isSetUsage() {
return ((this.usage!= null)&&(!this.usage.isEmpty()));
}
public void unsetUsage() {
this.usage = null;
}
/**
* Ruft den Wert der lod4Geometry-Eigenschaft ab.
*
* @return
* possible object is
* {@link GeometryPropertyType }
*
*/
public GeometryPropertyType getLod4Geometry() {
return lod4Geometry;
}
/**
* Legt den Wert der lod4Geometry-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link GeometryPropertyType }
*
*/
public void setLod4Geometry(GeometryPropertyType value) {
this.lod4Geometry = value;
}
public boolean isSetLod4Geometry() {
return (this.lod4Geometry!= null);
}
/**
* Gets the value of the genericApplicationPropertyOfTunnelFurniture property.
*
* <p>
* 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 <CODE>set</CODE> method for the genericApplicationPropertyOfTunnelFurniture property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* get_GenericApplicationPropertyOfTunnelFurniture().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List<Object> get_GenericApplicationPropertyOfTunnelFurniture() {
if (_GenericApplicationPropertyOfTunnelFurniture == null) {
_GenericApplicationPropertyOfTunnelFurniture = new ArrayList<Object>();
}
return this._GenericApplicationPropertyOfTunnelFurniture;
}
public boolean isSet_GenericApplicationPropertyOfTunnelFurniture() {
return ((this._GenericApplicationPropertyOfTunnelFurniture!= null)&&(!this._GenericApplicationPropertyOfTunnelFurniture.isEmpty()));
}
public void unset_GenericApplicationPropertyOfTunnelFurniture() {
this._GenericApplicationPropertyOfTunnelFurniture = null;
}
}