/* * 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 javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for FileType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="FileType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://www.opengis.net/gml/3.2}rangeParameters"/> * <choice> * <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="fileReference" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * </choice> * <element name="fileStructure" type="{http://www.opengis.net/gml/3.2}CodeType"/> * <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> * <element name="compression" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FileType", propOrder = { "rangeParameters", "fileName", "fileReference", "fileStructure", "mimeType", "compression" }) public class FileType { @XmlElement(required = true) private AssociationRoleType rangeParameters; @XmlSchemaType(name = "anyURI") private String fileName; @XmlSchemaType(name = "anyURI") private String fileReference; @XmlElement(required = true) private CodeType fileStructure; @XmlSchemaType(name = "anyURI") private String mimeType; @XmlSchemaType(name = "anyURI") private String compression; /** * Gets the value of the rangeParameters property. * * @return * possible object is * {@link AssociationRoleType } * */ public AssociationRoleType getRangeParameters() { return rangeParameters; } /** * Sets the value of the rangeParameters property. * * @param value * allowed object is * {@link AssociationRoleType } * */ public void setRangeParameters(AssociationRoleType value) { this.rangeParameters = value; } /** * Gets the value of the fileName property. * * @return * possible object is * {@link String } * */ public String getFileName() { return fileName; } /** * Sets the value of the fileName property. * * @param value * allowed object is * {@link String } * */ public void setFileName(String value) { this.fileName = value; } /** * Gets the value of the fileReference property. * * @return * possible object is * {@link String } * */ public String getFileReference() { return fileReference; } /** * Sets the value of the fileReference property. * * @param value * allowed object is * {@link String } * */ public void setFileReference(String value) { this.fileReference = value; } /** * Gets the value of the fileStructure property. * * @return * possible object is * {@link CodeType } * */ public CodeType getFileStructure() { return fileStructure; } /** * Sets the value of the fileStructure property. * * @param value * allowed object is * {@link CodeType } * */ public void setFileStructure(CodeType value) { this.fileStructure = value; } /** * Gets the value of the mimeType property. * * @return * possible object is * {@link String } * */ public String getMimeType() { return mimeType; } /** * Sets the value of the mimeType property. * * @param value * allowed object is * {@link String } * */ public void setMimeType(String value) { this.mimeType = value; } /** * Gets the value of the compression property. * * @return * possible object is * {@link String } * */ public String getCompression() { return compression; } /** * Sets the value of the compression property. * * @param value * allowed object is * {@link String } * */ public void setCompression(String value) { this.compression = value; } }