net.opengis.gml
Class TimeIntervalLengthType

java.lang.Object
  extended by net.opengis.gml.TimeIntervalLengthType

public class TimeIntervalLengthType
extends Object

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.

Classe Java pour TimeIntervalLengthType complex type.

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.

 <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>
 


Field Summary
protected  BigInteger factor
           
protected  BigInteger radix
           
protected  String unit
           
protected  BigDecimal value
           
 
Constructor Summary
TimeIntervalLengthType()
           
 
Method Summary
 BigInteger getFactor()
          Obtient la valeur de la propriété factor.
 BigInteger getRadix()
          Obtient la valeur de la propriété radix.
 String getUnit()
          Obtient la valeur de la propriété unit.
 BigDecimal getValue()
          Obtient la valeur de la propriété value.
 boolean isSetFactor()
           
 boolean isSetRadix()
           
 boolean isSetUnit()
           
 boolean isSetValue()
           
 void setFactor(BigInteger value)
          Définit la valeur de la propriété factor.
 void setRadix(BigInteger value)
          Définit la valeur de la propriété radix.
 void setUnit(String value)
          Définit la valeur de la propriété unit.
 void setValue(BigDecimal value)
          Définit la valeur de la propriété value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected BigDecimal value

unit

protected String unit

radix

protected BigInteger radix

factor

protected BigInteger factor
Constructor Detail

TimeIntervalLengthType

public TimeIntervalLengthType()
Method Detail

getValue

public BigDecimal getValue()
Obtient la valeur de la propriété value.

Returns:
possible object is BigDecimal

setValue

public void setValue(BigDecimal value)
Définit la valeur de la propriété value.

Parameters:
value - allowed object is BigDecimal

isSetValue

public boolean isSetValue()

getUnit

public String getUnit()
Obtient la valeur de la propriété unit.

Returns:
possible object is String

setUnit

public void setUnit(String value)
Définit la valeur de la propriété unit.

Parameters:
value - allowed object is String

isSetUnit

public boolean isSetUnit()

getRadix

public BigInteger getRadix()
Obtient la valeur de la propriété radix.

Returns:
possible object is BigInteger

setRadix

public void setRadix(BigInteger value)
Définit la valeur de la propriété radix.

Parameters:
value - allowed object is BigInteger

isSetRadix

public boolean isSetRadix()

getFactor

public BigInteger getFactor()
Obtient la valeur de la propriété factor.

Returns:
possible object is BigInteger

setFactor

public void setFactor(BigInteger value)
Définit la valeur de la propriété factor.

Parameters:
value - allowed object is BigInteger

isSetFactor

public boolean isSetFactor()


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.