/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2015, Open Source Geospatial Foundation (OSGeo) * * 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; * version 2.1 of the License. * * 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. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.03.04 at 12:42:54 PM CET // package org.geotools.coverage.io.netcdf.cf; 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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <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 ref="{}version_number"/> * <element ref="{}last_modified"/> * <element ref="{}institution"/> * <element ref="{}contact"/> * <element ref="{}entry" maxOccurs="unbounded"/> * <element ref="{}alias" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "versionNumber", "lastModified", "institution", "contact", "entry", "alias" }) @XmlRootElement(name = "standard_name_table") public class StandardNameTable { @XmlElement(name = "version_number", required = true) protected String versionNumber; @XmlElement(name = "last_modified", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar lastModified; @XmlElement(required = true) protected String institution; @XmlElement(required = true) protected String contact; @XmlElement(required = true) protected List<Entry> entry; protected List<Alias> alias; /** * Gets the value of the versionNumber property. * * @return * possible object is * {@link String } * */ public String getVersionNumber() { return versionNumber; } /** * Sets the value of the versionNumber property. * * @param value * allowed object is * {@link String } * */ public void setVersionNumber(String value) { this.versionNumber = value; } /** * Gets the value of the lastModified property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getLastModified() { return lastModified; } /** * Sets the value of the lastModified property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setLastModified(XMLGregorianCalendar value) { this.lastModified = value; } /** * Gets the value of the institution property. * * @return * possible object is * {@link String } * */ public String getInstitution() { return institution; } /** * Sets the value of the institution property. * * @param value * allowed object is * {@link String } * */ public void setInstitution(String value) { this.institution = value; } /** * Gets the value of the contact property. * * @return * possible object is * {@link String } * */ public String getContact() { return contact; } /** * Sets the value of the contact property. * * @param value * allowed object is * {@link String } * */ public void setContact(String value) { this.contact = value; } /** * Gets the value of the entry 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 entry property. * * <p> * For example, to add a new item, do as follows: * <pre> * getEntry().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Entry } * * */ public List<Entry> getEntry() { if (entry == null) { entry = new ArrayList<Entry>(); } return this.entry; } /** * Gets the value of the alias 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 alias property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAlias().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Alias } * * */ public List<Alias> getAlias() { if (alias == null) { alias = new ArrayList<Alias>(); } return this.alias; } }