Package net.opengis.gml._3
Class GeometryPropertyType
- java.lang.Object
-
- net.opengis.gml._3.GeometryPropertyType
-
- All Implemented Interfaces:
Serializable
public class GeometryPropertyType extends Object implements Serializable
A geometric property may either be any 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 or another document). Note that either the reference or the contained element shall be given, but not both or none. If a feature has a property that takes a geometry element as its value, this is called a geometry property. A generic type for such a geometry property is GeometryPropertyType.Java class for GeometryPropertyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GeometryPropertyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element ref="{http://www.opengis.net/gml/3.2}AbstractGeometry"/> </sequence> <attGroup ref="{http://www.opengis.net/gml/3.2}AssociationAttributeGroup"/> <attGroup ref="{http://www.opengis.net/gml/3.2}OwnershipAttributeGroup"/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.xml.bind.JAXBElement<? extends AbstractGeometryType>abstractGeometryprotected List<String>nilReasonsprotected Booleanowns
-
Constructor Summary
Constructors Constructor Description GeometryPropertyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.xml.bind.JAXBElement<? extends AbstractGeometryType>getAbstractGeometry()Gets the value of the abstractGeometry property.List<String>getNilReasons()Gets the value of the nilReasons property.booleanisOwns()Gets the value of the owns property.voidsetAbstractGeometry(jakarta.xml.bind.JAXBElement<? extends AbstractGeometryType> value)Sets the value of the abstractGeometry property.voidsetOwns(Boolean value)Sets the value of the owns property.
-
-
-
Field Detail
-
abstractGeometry
protected jakarta.xml.bind.JAXBElement<? extends AbstractGeometryType> abstractGeometry
-
owns
protected Boolean owns
-
-
Method Detail
-
getAbstractGeometry
public jakarta.xml.bind.JAXBElement<? extends AbstractGeometryType> getAbstractGeometry()
Gets the value of the abstractGeometry property.- Returns:
- possible object is
JAXBElement<AbstractCurveType>JAXBElement<AbstractGeometricPrimitiveType>JAXBElement<AbstractGeometryType>JAXBElement<AbstractSurfaceType>JAXBElement<LineStringType>JAXBElement<PointType>JAXBElement<PolygonType>
-
setAbstractGeometry
public void setAbstractGeometry(jakarta.xml.bind.JAXBElement<? extends AbstractGeometryType> value)
Sets the value of the abstractGeometry property.- Parameters:
value- allowed object isJAXBElement<AbstractCurveType>JAXBElement<AbstractGeometricPrimitiveType>JAXBElement<AbstractGeometryType>JAXBElement<AbstractSurfaceType>JAXBElement<LineStringType>JAXBElement<PointType>JAXBElement<PolygonType>
-
getNilReasons
public List<String> getNilReasons()
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
setmethod 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
String
-
isOwns
public boolean isOwns()
Gets the value of the owns property.- Returns:
- possible object is
Boolean
-
-