![JAR search and dependency download from the Maven repository](/logo.png)
net.opengis.gml._3.SurfaceProperty Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:41 PM UTC
//
package net.opengis.gml._3;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A property that has a surface as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.
*
* Java class for SurfacePropertyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SurfacePropertyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <element ref="{http://www.opengis.net/gml/3.2}AbstractSurface"/>
* </sequence>
* <attGroup ref="{http://www.opengis.net/gml/3.2}OwnershipAttributeGroup"/>
* <attGroup ref="{http://www.opengis.net/gml/3.2}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SurfacePropertyType", propOrder = {
"abstractSurface"
})
@XmlRootElement(name = "surfaceProperty")
public class SurfaceProperty
implements Serializable
{
@XmlElementRef(name = "AbstractSurface", namespace = "http://www.opengis.net/gml/3.2", type = JAXBElement.class, required = false)
protected JAXBElement extends AbstractSurfaceType> abstractSurface;
@XmlAttribute(name = "owns")
protected Boolean owns;
@XmlAttribute(name = "nilReason")
protected List nilReasons;
/**
* Gets the value of the abstractSurface property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link AbstractSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link PolygonType }{@code >}
*
*/
public JAXBElement extends AbstractSurfaceType> getAbstractSurface() {
return abstractSurface;
}
/**
* Sets the value of the abstractSurface property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link AbstractSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link PolygonType }{@code >}
*
*/
public void setAbstractSurface(JAXBElement extends AbstractSurfaceType> value) {
this.abstractSurface = value;
}
/**
* Gets the value of the owns property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isOwns() {
if (owns == null) {
return false;
} else {
return owns;
}
}
/**
* Sets the value of the owns property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOwns(Boolean value) {
this.owns = value;
}
/**
* Gets the value of the nilReasons 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 Jakarta XML Binding object.
* This is why there is not a set
method for the nilReasons property.
*
*
* For example, to add a new item, do as follows:
*
* getNilReasons().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNilReasons() {
if (nilReasons == null) {
nilReasons = new ArrayList();
}
return this.nilReasons;
}
}