Package net.opengis.gml._3
Class GeometricPrimitivePropertyType
- java.lang.Object
-
- net.opengis.gml._3.GeometricPrimitivePropertyType
-
- All Implemented Interfaces:
Serializable
public class GeometricPrimitivePropertyType extends Object implements Serializable
A property that has a geometric primitive 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 GeometricPrimitivePropertyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GeometricPrimitivePropertyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element ref="{http://www.opengis.net/gml/3.2}AbstractGeometricPrimitive"/> </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 AbstractGeometricPrimitiveType>abstractGeometricPrimitiveprotected List<String>nilReasonsprotected Booleanowns
-
Constructor Summary
Constructors Constructor Description GeometricPrimitivePropertyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.xml.bind.JAXBElement<? extends AbstractGeometricPrimitiveType>getAbstractGeometricPrimitive()Gets the value of the abstractGeometricPrimitive property.List<String>getNilReasons()Gets the value of the nilReasons property.booleanisOwns()Gets the value of the owns property.voidsetAbstractGeometricPrimitive(jakarta.xml.bind.JAXBElement<? extends AbstractGeometricPrimitiveType> value)Sets the value of the abstractGeometricPrimitive property.voidsetOwns(Boolean value)Sets the value of the owns property.
-
-
-
Field Detail
-
abstractGeometricPrimitive
protected jakarta.xml.bind.JAXBElement<? extends AbstractGeometricPrimitiveType> abstractGeometricPrimitive
-
owns
protected Boolean owns
-
-
Method Detail
-
getAbstractGeometricPrimitive
public jakarta.xml.bind.JAXBElement<? extends AbstractGeometricPrimitiveType> getAbstractGeometricPrimitive()
Gets the value of the abstractGeometricPrimitive property.- Returns:
- possible object is
JAXBElement<AbstractCurveType>JAXBElement<AbstractGeometricPrimitiveType>JAXBElement<AbstractSurfaceType>JAXBElement<LineStringType>JAXBElement<PointType>JAXBElement<PolygonType>
-
setAbstractGeometricPrimitive
public void setAbstractGeometricPrimitive(jakarta.xml.bind.JAXBElement<? extends AbstractGeometricPrimitiveType> value)
Sets the value of the abstractGeometricPrimitive property.- Parameters:
value- allowed object isJAXBElement<AbstractCurveType>JAXBElement<AbstractGeometricPrimitiveType>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
-
-