Class MI_EnvironmentalRecord

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<MI_EnvironmentalRecord,org.opengis.metadata.acquisition.EnvironmentalRecord>
org.apache.sis.internal.jaxb.metadata.MI_EnvironmentalRecord

public final class MI_EnvironmentalRecord extends PropertyType<MI_EnvironmentalRecord,org.opengis.metadata.acquisition.EnvironmentalRecord>
JAXB adapter mapping implementing class to the GeoAPI interface. See package documentation for more information about JAXB and interface.
Since:
0.3
Version:
0.3
  • Constructor Details

    • MI_EnvironmentalRecord

      public MI_EnvironmentalRecord()
      Empty constructor for JAXB only.
    • MI_EnvironmentalRecord

      private MI_EnvironmentalRecord(org.opengis.metadata.acquisition.EnvironmentalRecord value)
  • Method Details

    • getBoundType

      protected Class<org.opengis.metadata.acquisition.EnvironmentalRecord> 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<MI_EnvironmentalRecord,org.opengis.metadata.acquisition.EnvironmentalRecord>
      Returns:
      EnvironmentalRecord.class
    • wrap

      protected MI_EnvironmentalRecord wrap(org.opengis.metadata.acquisition.EnvironmentalRecord value)
      Invoked by PropertyType at marshalling time for wrapping the given metadata value in a <mac:MI_EnvironmentalRecord> XML element.
      Specified by:
      wrap in class PropertyType<MI_EnvironmentalRecord,org.opengis.metadata.acquisition.EnvironmentalRecord>
      Parameters:
      value - the metadata element to marshal.
      Returns:
      a PropertyType wrapping the given the metadata element.
    • getElement

      public DefaultEnvironmentalRecord getElement()
      Invoked by JAXB at marshalling time for getting the actual metadata to write inside the <mac:MI_EnvironmentalRecord> 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(DefaultEnvironmentalRecord value)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      value - the unmarshalled metadata.