org.citygml4j.jaxb.gml._3_1_1
Class TimeIntervalLengthType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.TimeIntervalLengthType

public class TimeIntervalLengthType
extends java.lang.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.

Java class for TimeIntervalLengthType complex type.

The following schema fragment specifies the expected content contained within this class.

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


Constructor Summary
TimeIntervalLengthType()
           
 
Method Summary
 java.math.BigInteger getFactor()
          Gets the value of the factor property.
 java.math.BigInteger getRadix()
          Gets the value of the radix property.
 java.lang.String getUnit()
          Gets the value of the unit property.
 java.math.BigDecimal getValue()
          Gets the value of the value property.
 boolean isSetFactor()
           
 boolean isSetRadix()
           
 boolean isSetUnit()
           
 boolean isSetValue()
           
 void setFactor(java.math.BigInteger value)
          Sets the value of the factor property.
 void setRadix(java.math.BigInteger value)
          Sets the value of the radix property.
 void setUnit(java.lang.String value)
          Sets the value of the unit property.
 void setValue(java.math.BigDecimal value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeIntervalLengthType

public TimeIntervalLengthType()
Method Detail

getValue

public java.math.BigDecimal getValue()
Gets the value of the value property.

Returns:
possible object is BigDecimal

setValue

public void setValue(java.math.BigDecimal value)
Sets the value of the value property.

Parameters:
value - allowed object is BigDecimal

isSetValue

public boolean isSetValue()

getUnit

public java.lang.String getUnit()
Gets the value of the unit property.

Returns:
possible object is String

setUnit

public void setUnit(java.lang.String value)
Sets the value of the unit property.

Parameters:
value - allowed object is String

isSetUnit

public boolean isSetUnit()

getRadix

public java.math.BigInteger getRadix()
Gets the value of the radix property.

Returns:
possible object is BigInteger

setRadix

public void setRadix(java.math.BigInteger value)
Sets the value of the radix property.

Parameters:
value - allowed object is BigInteger

isSetRadix

public boolean isSetRadix()

getFactor

public java.math.BigInteger getFactor()
Gets the value of the factor property.

Returns:
possible object is BigInteger

setFactor

public void setFactor(java.math.BigInteger value)
Sets the value of the factor property.

Parameters:
value - allowed object is BigInteger

isSetFactor

public boolean isSetFactor()