/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2012, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.gml.xml.v321;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for AbstractGriddedSurfaceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AbstractGriddedSurfaceType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml/3.2}AbstractParametricCurveSurfaceType">
* <sequence>
* <group ref="{http://www.opengis.net/gml/3.2}PointGrid"/>
* </sequence>
* <attribute name="rows" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="columns" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractGriddedSurfaceType", propOrder = {
"rows2"
})
@XmlSeeAlso({
CylinderType.class,
ConeType.class,
SphereType.class
})
public abstract class AbstractGriddedSurfaceType
extends AbstractParametricCurveSurfaceType
{
@XmlElement(required = true)
private AbstractGriddedSurfaceType.Rows2 rows2;
@XmlAttribute
private Integer rows;
@XmlAttribute
private Integer columns;
/**
* Gets the value of the rows2 property.
*
* @return
* possible object is
* {@link AbstractGriddedSurfaceType.Rows2 }
*
*/
public AbstractGriddedSurfaceType.Rows2 getRows2() {
return rows2;
}
/**
* Sets the value of the rows2 property.
*
* @param value
* allowed object is
* {@link AbstractGriddedSurfaceType.Rows2 }
*
*/
public void setRows2(AbstractGriddedSurfaceType.Rows2 value) {
this.rows2 = value;
}
/**
* Gets the value of the rows property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getRows() {
return rows;
}
/**
* Sets the value of the rows property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setRows(Integer value) {
this.rows = value;
}
/**
* Gets the value of the columns property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getColumns() {
return columns;
}
/**
* Sets the value of the columns property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setColumns(Integer value) {
this.columns = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Row" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.opengis.net/gml/3.2}geometricPositionListGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"row"
})
public static class Rows2 {
@XmlElement(name = "Row", required = true)
private List<AbstractGriddedSurfaceType.Rows2 .Row> row;
/**
* Gets the value of the row 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 row property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRow().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AbstractGriddedSurfaceType.Rows2 .Row }
*
*
*/
public List<AbstractGriddedSurfaceType.Rows2 .Row> getRow() {
if (row == null) {
row = new ArrayList<AbstractGriddedSurfaceType.Rows2 .Row>();
}
return this.row;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.opengis.net/gml/3.2}geometricPositionListGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"posList",
"geometricPositionGroup"
})
public static class Row {
private DirectPositionListType posList;
@XmlElements({
@XmlElement(name = "pos", type = DirectPositionType.class),
@XmlElement(name = "pointProperty", type = PointPropertyType.class)
})
private List<Object> geometricPositionGroup;
/**
* Gets the value of the posList property.
*
* @return
* possible object is
* {@link DirectPositionListType }
*
*/
public DirectPositionListType getPosList() {
return posList;
}
/**
* Sets the value of the posList property.
*
* @param value
* allowed object is
* {@link DirectPositionListType }
*
*/
public void setPosList(DirectPositionListType value) {
this.posList = value;
}
/**
* Gets the value of the geometricPositionGroup 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 geometricPositionGroup property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGeometricPositionGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DirectPositionType }
* {@link PointPropertyType }
*
*
*/
public List<Object> getGeometricPositionGroup() {
if (geometricPositionGroup == null) {
geometricPositionGroup = new ArrayList<Object>();
}
return this.geometricPositionGroup;
}
}
}
}