Class TM_Duration
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<TM_Duration, Duration>
org.apache.sis.internal.jaxb.gco.PropertyType<TM_Duration, Duration>
org.apache.sis.internal.jaxb.gts.TM_Duration
Wraps a
gts:TM_Duration element.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Guilhem Legal (Geomatys), Martin Desruisseaux (Geomatys), Cullen Rombach (Image Matters)
-
Field Summary
Fields inherited from class PropertyType
metadata -
Method Summary
Modifier and TypeMethodDescriptionReturns the GeoAPI interface which is bound by this adapter.Returns theDurationgenerated from the metadata value.voidsetElement(Duration duration) Sets the value from theDuration.protected TM_DurationReturns the Duration value wrapped by agts:TM_Durationelement.Methods inherited from class PropertyType
accept2014, getActuate, getArcRole, getHRef, getNilReason, getRole, getShow, getTitle, getUUIDREF, incomplete, marshal, setActuate, setArcRole, setHRef, setNilReason, setRole, setShow, setTitle, setUUIDREF, unmarshal
-
Method Details
-
wrap
Returns the Duration value wrapped by agts:TM_Durationelement.- Specified by:
wrapin classPropertyType<TM_Duration, Duration>- Parameters:
value- the value to marshal.- Returns:
- the adapter which wraps the metadata value.
-
getBoundType
Returns the GeoAPI interface which is bound by this adapter.- Specified by:
getBoundTypein classPropertyType<TM_Duration, Duration>- Returns:
Duration.class
-
getElement
-
setElement
-