Package org.apache.sis.internal.jaxb.gco
Class GO_RecordType
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<GO_RecordType,org.opengis.util.RecordType>
org.apache.sis.internal.jaxb.gco.GO_RecordType
- Direct Known Subclasses:
GO_RecordType.Since2014
JAXB wrapper in order to map implementing class with the GeoAPI interface.
See package documentation for more information about JAXB and interface.
- Since:
- 0.3
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Wraps the value only if marshalling ISO 19115-3 element. -
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata
-
Constructor Summary
ConstructorsModifierConstructorDescription(package private)
Empty constructor for JAXB only.private
GO_RecordType
(org.opengis.util.RecordType metadata) Wraps aRecordType
value with agco:RecordType
element at marshalling-time. -
Method Summary
Modifier and TypeMethodDescriptionprotected final Class<org.opengis.util.RecordType>
Returns the GeoAPI interface which is bound by this adapter.final DefaultRecordType
Returns theDefaultRecordType
generated from the metadata value.final void
setElement
(DefaultRecordType metadata) Sets the value for theDefaultRecordType
.protected GO_RecordType
wrap
(org.opengis.util.RecordType value) Returns a wrapper for the givenRecordType
element.Methods inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
accept2014, getActuate, getArcRole, getHRef, getNilReason, getRole, getShow, getTitle, getUUIDREF, incomplete, marshal, resolve, setActuate, setArcRole, setHRef, setNilReason, setRole, setShow, setTitle, setUUIDREF, unmarshal
-
Constructor Details
-
GO_RecordType
GO_RecordType()Empty constructor for JAXB only. -
GO_RecordType
private GO_RecordType(org.opengis.util.RecordType metadata) Wraps aRecordType
value with agco:RecordType
element at marshalling-time.- Parameters:
metadata
- the metadata value to marshal.
-
-
Method Details
-
getBoundType
Returns the GeoAPI interface which is bound by this adapter.- Specified by:
getBoundType
in classPropertyType<GO_RecordType,
org.opengis.util.RecordType> - Returns:
RecordType.class
-
wrap
Returns a wrapper for the givenRecordType
element.- Specified by:
wrap
in classPropertyType<GO_RecordType,
org.opengis.util.RecordType> - Parameters:
value
- the value to marshal.- Returns:
- the wrapper around the given metadata value.
-
getElement
Returns theDefaultRecordType
generated from the metadata value. This method is systematically called at marshalling-time by JAXB.- Returns:
- the metadata to be marshalled.
-
setElement
Sets the value for theDefaultRecordType
. This method is systematically called at unmarshalling-time by JAXB.- Parameters:
metadata
- the unmarshalled metadata.
-