/* * 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.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for TimeCoordinateSystemType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="TimeCoordinateSystemType"> * <complexContent> * <extension base="{http://www.opengis.net/gml/3.2}TimeReferenceSystemType"> * <sequence> * <choice> * <element name="originPosition" type="{http://www.opengis.net/gml/3.2}TimePositionType"/> * <element name="origin" type="{http://www.opengis.net/gml/3.2}TimeInstantPropertyType"/> * </choice> * <element name="interval" type="{http://www.opengis.net/gml/3.2}TimeIntervalLengthType"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TimeCoordinateSystemType", propOrder = { "originPosition", "origin", "interval" }) public class TimeCoordinateSystemType extends TimeReferenceSystemType implements Serializable { private TimePositionType originPosition; private TimeInstantPropertyType origin; @XmlElement(required = true) private TimeIntervalLengthType interval; /** * Gets the value of the originPosition property. * * @return * possible object is * {@link TimePositionType } * */ public TimePositionType getOriginPosition() { return originPosition; } /** * Sets the value of the originPosition property. * * @param value * allowed object is * {@link TimePositionType } * */ public void setOriginPosition(TimePositionType value) { this.originPosition = value; } /** * Gets the value of the origin property. * * @return * possible object is * {@link TimeInstantPropertyType } * */ public TimeInstantPropertyType getOrigin() { return origin; } /** * Sets the value of the origin property. * * @param value * allowed object is * {@link TimeInstantPropertyType } * */ public void setOrigin(TimeInstantPropertyType value) { this.origin = value; } /** * Gets the value of the interval property. * * @return * possible object is * {@link TimeIntervalLengthType } * */ public TimeIntervalLengthType getInterval() { return interval; } /** * Sets the value of the interval property. * * @param value * allowed object is * {@link TimeIntervalLengthType } * */ public void setInterval(TimeIntervalLengthType value) { this.interval = value; } }