//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package net.opengis.gml;
import java.math.BigDecimal;
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;
import javax.xml.bind.annotation.XmlValue;
/**
* This type extends the built-in xsd:decimal simple type to allow floating-point
* values for temporal length. According to the ISO 11404 model you have to use
* positiveInteger together with appropriate values for radix and factor. The
* resolution of the time interval is to one radix ^(-factor) of the specified
* time unit (e.g. unit="second", radix="10", factor="3" specifies a resolution
* of milliseconds). It is a subtype of TimeDurationType.
*
* <p>Java-Klasse für TimeIntervalLengthType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="TimeIntervalLengthType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
* <attribute name="unit" use="required" type="{http://www.opengis.net/gml}TimeUnitType" />
* <attribute name="radix" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* <attribute name="factor" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeIntervalLengthType", propOrder = {
"value"
})
public class TimeIntervalLengthType {
@XmlValue
protected BigDecimal value;
@XmlAttribute(name = "unit", required = true)
protected String unit;
@XmlAttribute(name = "radix")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger radix;
@XmlAttribute(name = "factor")
protected BigInteger factor;
/**
* Ruft den Wert der value-Eigenschaft ab.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getValue() {
return value;
}
/**
* Legt den Wert der value-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setValue(BigDecimal value) {
this.value = value;
}
public boolean isSetValue() {
return (this.value!= null);
}
/**
* Ruft den Wert der unit-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnit() {
return unit;
}
/**
* Legt den Wert der unit-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnit(String value) {
this.unit = value;
}
public boolean isSetUnit() {
return (this.unit!= null);
}
/**
* Ruft den Wert der radix-Eigenschaft ab.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getRadix() {
return radix;
}
/**
* Legt den Wert der radix-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setRadix(BigInteger value) {
this.radix = value;
}
public boolean isSetRadix() {
return (this.radix!= null);
}
/**
* Ruft den Wert der factor-Eigenschaft ab.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFactor() {
return factor;
}
/**
* Legt den Wert der factor-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFactor(BigInteger value) {
this.factor = value;
}
public boolean isSetFactor() {
return (this.factor!= null);
}
}