|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.citygml4j.jaxb.gml._3_1_1.TimeIntervalLengthType
public class TimeIntervalLengthType
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 |
---|
public TimeIntervalLengthType()
Method Detail |
---|
public java.math.BigDecimal getValue()
BigDecimal
public void setValue(java.math.BigDecimal value)
value
- allowed object is
BigDecimal
public boolean isSetValue()
public java.lang.String getUnit()
String
public void setUnit(java.lang.String value)
value
- allowed object is
String
public boolean isSetUnit()
public java.math.BigInteger getRadix()
BigInteger
public void setRadix(java.math.BigInteger value)
value
- allowed object is
BigInteger
public boolean isSetRadix()
public java.math.BigInteger getFactor()
BigInteger
public void setFactor(java.math.BigInteger value)
value
- allowed object is
BigInteger
public boolean isSetFactor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |