Class GO_RecordType

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<GO_RecordType,org.opengis.util.RecordType>
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

public class GO_RecordType extends PropertyType<GO_RecordType,org.opengis.util.RecordType>
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
  • Constructor Details

    • GO_RecordType

      GO_RecordType()
      Empty constructor for JAXB only.
    • GO_RecordType

      private GO_RecordType(org.opengis.util.RecordType metadata)
      Wraps a RecordType value with a gco:RecordType element at marshalling-time.
      Parameters:
      metadata - the metadata value to marshal.
  • Method Details

    • getBoundType

      protected final Class<org.opengis.util.RecordType> getBoundType()
      Returns the GeoAPI interface which is bound by this adapter.
      Specified by:
      getBoundType in class PropertyType<GO_RecordType,org.opengis.util.RecordType>
      Returns:
      RecordType.class
    • wrap

      protected GO_RecordType wrap(org.opengis.util.RecordType value)
      Returns a wrapper for the given RecordType element.
      Specified by:
      wrap in class PropertyType<GO_RecordType,org.opengis.util.RecordType>
      Parameters:
      value - the value to marshal.
      Returns:
      the wrapper around the given metadata value.
    • getElement

      public final DefaultRecordType getElement()
      Returns the DefaultRecordType generated from the metadata value. This method is systematically called at marshalling-time by JAXB.
      Returns:
      the metadata to be marshalled.
    • setElement

      public final void setElement(DefaultRecordType metadata)
      Sets the value for the DefaultRecordType. This method is systematically called at unmarshalling-time by JAXB.
      Parameters:
      metadata - the unmarshalled metadata.