Package com.luciad.format.gml31.model
Class TLcdGML31TimeIntervalLength
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.datamodel.TLcdFeaturedDataObject
com.luciad.format.gml31.model.TLcdGML31TimeIntervalLength
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,ILcdFeatured
,ILcdSelfDescribedFeatured
,Serializable
,Cloneable
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.
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thefactor
attribute.static final TLcdDataProperty
Data property that maps to theradix
attribute.static final TLcdDataProperty
Data property that maps to theunit
attribute.static final TLcdDataProperty
Data property that maps to the value defined by the simple content. -
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thefactor
attribute.getRadix()
Returns the value of the property that maps to theradix
attribute.getUnit()
Returns the value of the property that maps to theunit
attribute.Returns the value of the property that maps to the value defined by the simple content.void
Sets the value of the property that maps to thefactor
attribute.void
Sets the value of the property that maps to theradix
attribute.void
setUnit
(TLcdGML31TimeUnit aValue) Sets the value of the property that maps to theunit
attribute.void
setValueObject
(Double aValue) Sets the value of the property that maps to the value defined by the simple content.Methods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
-
Field Details
-
VALUE_PROPERTY
Data property that maps to the value defined by the simple content. The possible values for this property are instances ofDouble
. -
FACTOR_PROPERTY
Data property that maps to thefactor
attribute. The possible values for this property are instances ofLong
. -
RADIX_PROPERTY
Data property that maps to theradix
attribute. The possible values for this property are instances ofLong
. -
UNIT_PROPERTY
Data property that maps to theunit
attribute. The possible values for this property are instances of
-
-
Constructor Details
-
TLcdGML31TimeIntervalLength
public TLcdGML31TimeIntervalLength() -
TLcdGML31TimeIntervalLength
-
-
Method Details
-
getValueObject
Returns the value of the property that maps to the value defined by the simple content.- Returns:
- the value of the
VALUE_PROPERTY
property.
-
setValueObject
Sets the value of the property that maps to the value defined by the simple content.- Parameters:
aValue
- the value to set for theVALUE_PROPERTY
property.
-
getFactor
Returns the value of the property that maps to thefactor
attribute.- Returns:
- the value of the
FACTOR_PROPERTY
property.
-
setFactor
Sets the value of the property that maps to thefactor
attribute.- Parameters:
aValue
- the value to set for theFACTOR_PROPERTY
property.
-
getRadix
Returns the value of the property that maps to theradix
attribute.- Returns:
- the value of the
RADIX_PROPERTY
property.
-
setRadix
Sets the value of the property that maps to theradix
attribute.- Parameters:
aValue
- the value to set for theRADIX_PROPERTY
property.
-
getUnit
Returns the value of the property that maps to theunit
attribute.The possible values for this property are instances of
- Returns:
- the value of the
UNIT_PROPERTY
property.
-
setUnit
Sets the value of the property that maps to theunit
attribute.The possible values for this property are instances of
- Parameters:
aValue
- the value to set for theUNIT_PROPERTY
property.
-