/*
* 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 java.math.BigDecimal;
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 TimeCalendarEraType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="TimeCalendarEraType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml/3.2}DefinitionType">
* <sequence>
* <element name="referenceEvent" type="{http://www.opengis.net/gml/3.2}StringOrRefType"/>
* <element name="referenceDate" type="{http://www.opengis.net/gml/3.2}CalDate"/>
* <element name="julianReference" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="epochOfUse" type="{http://www.opengis.net/gml/3.2}TimePeriodPropertyType"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeCalendarEraType", propOrder = {
"referenceEvent",
"referenceDate",
"julianReference",
"epochOfUse"
})
public class TimeCalendarEraType
extends DefinitionType implements Serializable
{
@XmlElement(required = true)
private StringOrRefType referenceEvent;
@XmlElement(required = true)
private String referenceDate;
@XmlElement(required = true)
private BigDecimal julianReference;
@XmlElement(required = true)
private TimePeriodPropertyType epochOfUse;
/**
* Gets the value of the referenceEvent property.
*
* @return
* possible object is
* {@link StringOrRefType }
*
*/
public StringOrRefType getReferenceEvent() {
return referenceEvent;
}
/**
* Sets the value of the referenceEvent property.
*
* @param value
* allowed object is
* {@link StringOrRefType }
*
*/
public void setReferenceEvent(StringOrRefType value) {
this.referenceEvent = value;
}
/**
* Gets the value of the referenceDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReferenceDate() {
return referenceDate;
}
/**
* Sets the value of the referenceDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReferenceDate(String value) {
this.referenceDate = value;
}
/**
* Gets the value of the julianReference property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getJulianReference() {
return julianReference;
}
/**
* Sets the value of the julianReference property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setJulianReference(BigDecimal value) {
this.julianReference = value;
}
/**
* Gets the value of the epochOfUse property.
*
* @return
* possible object is
* {@link TimePeriodPropertyType }
*
*/
public TimePeriodPropertyType getEpochOfUse() {
return epochOfUse;
}
/**
* Sets the value of the epochOfUse property.
*
* @param value
* allowed object is
* {@link TimePeriodPropertyType }
*
*/
public void setEpochOfUse(TimePeriodPropertyType value) {
this.epochOfUse = value;
}
}