Class DQ_MeasureReference


public final class DQ_MeasureReference extends PropertyType<DQ_MeasureReference, DefaultMeasureReference>
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
  • Constructor Details

  • Method Details

    • getBoundType

      protected Class<DefaultMeasureReference> 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 class PropertyType<DQ_MeasureReference, DefaultMeasureReference>
      Returns:
      DefaultMeasureReference.class
    • wrap

      protected DQ_MeasureReference wrap(DefaultMeasureReference metadata)
      Invoked by PropertyType at marshalling time for wrapping the given metadata value in a <mdq:DQ_MeasureReference> XML element.
      Specified by:
      wrap in class PropertyType<DQ_MeasureReference, DefaultMeasureReference>
      Parameters:
      metadata - the metadata element to marshal.
      Returns:
      a PropertyType wrapping the given the metadata element, or null if marshalling a too old version of the standard.
    • getElement

      public DefaultMeasureReference getElement()
      Invoked by JAXB at marshalling time for getting the actual metadata to write inside the <mdq:DQ_MeasureReference> XML element. This is the value or a copy of the value given in argument to the wrap method.
      Returns:
      the metadata to be marshalled.
    • setElement

      public void setElement(DefaultMeasureReference metadata)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      metadata - the unmarshalled metadata.