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 classWraps 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.privateGO_RecordType(org.opengis.util.RecordType metadata) Wraps aRecordTypevalue with agco:RecordTypeelement 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 DefaultRecordTypeReturns theDefaultRecordTypegenerated from the metadata value.final voidsetElement(DefaultRecordType metadata) Sets the value for theDefaultRecordType.protected GO_RecordTypewrap(org.opengis.util.RecordType value) Returns a wrapper for the givenRecordTypeelement.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 aRecordTypevalue with agco:RecordTypeelement 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:
getBoundTypein classPropertyType<GO_RecordType,org.opengis.util.RecordType> - Returns:
RecordType.class
-
wrap
Returns a wrapper for the givenRecordTypeelement.- Specified by:
wrapin classPropertyType<GO_RecordType,org.opengis.util.RecordType> - Parameters:
value- the value to marshal.- Returns:
- the wrapper around the given metadata value.
-
getElement
Returns theDefaultRecordTypegenerated 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.
-