Class DQ_EvaluationMethod
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<DQ_EvaluationMethod,DefaultEvaluationMethod>
org.apache.sis.internal.jaxb.metadata.DQ_EvaluationMethod
public final class DQ_EvaluationMethod
extends PropertyType<DQ_EvaluationMethod,DefaultEvaluationMethod>
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
This adapter excludes the value when marshalling the older version of ISO 19115 standard. That exclusion is systematic because the type did not existed in the old standard version.
- Since:
- 1.3
- Version:
- 1.3
-
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
DQ_EvaluationMethod
(DefaultEvaluationMethod metadata) Constructor for thewrap(org.apache.sis.metadata.iso.quality.DefaultEvaluationMethod)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<DefaultEvaluationMethod>
Returns the GeoAPI interface which is bound by this adapter.Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mdq:DQ_EvaluationMethod>
XML element.void
setElement
(DefaultEvaluationMethod metadata) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected DQ_EvaluationMethod
wrap
(DefaultEvaluationMethod metadata) Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<mdq:DQ_EvaluationMethod>
XML element.Methods inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
accept2014, getActuate, getArcRole, getHRef, getNilReason, getRole, getShow, getTitle, getUUIDREF, incomplete, marshal, setActuate, setArcRole, setHRef, setNilReason, setRole, setShow, setTitle, setUUIDREF, unmarshal
-
Constructor Details
-
DQ_EvaluationMethod
public DQ_EvaluationMethod()Empty constructor for JAXB only. -
DQ_EvaluationMethod
Constructor for thewrap(org.apache.sis.metadata.iso.quality.DefaultEvaluationMethod)
method only.
-
-
Method Details
-
getBoundType
Returns the GeoAPI interface which is bound by this adapter. This method is indirectly invoked by the private constructor below, so it shall not depend on the state of this object.- Specified by:
getBoundType
in classPropertyType<DQ_EvaluationMethod,
DefaultEvaluationMethod> - Returns:
DefaultEvaluationMethod.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<mdq:DQ_EvaluationMethod>
XML element.- Specified by:
wrap
in classPropertyType<DQ_EvaluationMethod,
DefaultEvaluationMethod> - Parameters:
metadata
- the metadata element to marshal.- Returns:
- a
PropertyType
wrapping the given the metadata element, ornull
if marshalling a too old version of the standard.
-
getElement
Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mdq:DQ_EvaluationMethod>
XML element. This is the value or a copy of the value given in argument to thewrap
method.- Returns:
- the metadata to be marshalled.
-
setElement
Invoked by JAXB at unmarshalling time for storing the result temporarily.- Parameters:
metadata
- the unmarshalled metadata.
-