|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.opengis.gml.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.
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 |
|---|
protected BigDecimal value
protected String unit
protected BigInteger radix
protected BigInteger factor
| Constructor Detail |
|---|
public TimeIntervalLengthType()
| Method Detail |
|---|
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimalpublic boolean isSetValue()
public String getUnit()
Stringpublic void setUnit(String value)
value - allowed object is
Stringpublic boolean isSetUnit()
public BigInteger getRadix()
BigIntegerpublic void setRadix(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetRadix()
public BigInteger getFactor()
BigIntegerpublic void setFactor(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetFactor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||