/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 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.swe.xml.v200; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ComponentType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ComponentType"> * <complexContent> * <extension base="{http://www.opengis.net/swe/2.0}AbstractSWEType"> * <attribute name="encryption" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="significantBits" type="{http://www.w3.org/2001/XMLSchema}integer" /> * <attribute name="bitLength" type="{http://www.w3.org/2001/XMLSchema}integer" /> * <attribute name="byteLength" type="{http://www.w3.org/2001/XMLSchema}integer" /> * <attribute name="dataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ComponentType") public class ComponentType extends AbstractSWEType { @XmlAttribute @XmlSchemaType(name = "anyURI") private String encryption; @XmlAttribute private BigInteger significantBits; @XmlAttribute private BigInteger bitLength; @XmlAttribute private BigInteger byteLength; @XmlAttribute(required = true) @XmlSchemaType(name = "anyURI") private String dataType; @XmlAttribute(required = true) private String ref; /** * Gets the value of the encryption property. * * @return * possible object is * {@link String } * */ public String getEncryption() { return encryption; } /** * Sets the value of the encryption property. * * @param value * allowed object is * {@link String } * */ public void setEncryption(String value) { this.encryption = value; } /** * Gets the value of the significantBits property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSignificantBits() { return significantBits; } /** * Sets the value of the significantBits property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSignificantBits(BigInteger value) { this.significantBits = value; } /** * Gets the value of the bitLength property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getBitLength() { return bitLength; } /** * Sets the value of the bitLength property. * * @param value * allowed object is * {@link BigInteger } * */ public void setBitLength(BigInteger value) { this.bitLength = value; } /** * Gets the value of the byteLength property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getByteLength() { return byteLength; } /** * Sets the value of the byteLength property. * * @param value * allowed object is * {@link BigInteger } * */ public void setByteLength(BigInteger value) { this.byteLength = value; } /** * Gets the value of the dataType property. * * @return * possible object is * {@link String } * */ public String getDataType() { return dataType; } /** * Sets the value of the dataType property. * * @param value * allowed object is * {@link String } * */ public void setDataType(String value) { this.dataType = value; } /** * Gets the value of the ref property. * * @return * possible object is * {@link String } * */ public String getRef() { return ref; } /** * Sets the value of the ref property. * * @param value * allowed object is * {@link String } * */ public void setRef(String value) { this.ref = value; } }