![JAR search and dependency download from the Maven repository](/logo.png)
net.opengis.gml._3.PosList 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.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
/**
* posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (CRS).
* if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.
* The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too.
* The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.
*
* Java class for DirectPositionListType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DirectPositionListType">
* <simpleContent>
* <extension base="<http://www.opengis.net/gml/3.2>doubleList">
* <attGroup ref="{http://www.opengis.net/gml/3.2}SRSReferenceGroup"/>
* <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DirectPositionListType", propOrder = {
"values"
})
@XmlRootElement(name = "posList")
public class PosList
implements Serializable
{
@XmlValue
protected List values;
@XmlAttribute(name = "count")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger count;
@XmlAttribute(name = "srsName")
@XmlSchemaType(name = "anyURI")
protected String srsName;
@XmlAttribute(name = "srsDimension")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger srsDimension;
/**
* A type for a list of values of the respective simple type.Gets the value of the values 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 values property.
*
*
* For example, to add a new item, do as follows:
*
* getValues().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Double }
*
*
*/
public List getValues() {
if (values == null) {
values = new ArrayList();
}
return this.values;
}
/**
* Gets the value of the count property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCount() {
return count;
}
/**
* Sets the value of the count property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCount(BigInteger value) {
this.count = value;
}
/**
* Gets the value of the srsName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSrsName() {
return srsName;
}
/**
* Sets the value of the srsName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSrsName(String value) {
this.srsName = value;
}
/**
* Gets the value of the srsDimension property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSrsDimension() {
return srsDimension;
}
/**
* Sets the value of the srsDimension property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSrsDimension(BigInteger value) {
this.srsDimension = value;
}
}