Class GO_Integer.Since2014

Enclosing class:
GO_Integer

public static final class GO_Integer.Since2014 extends GO_Integer
Wraps the value only if marshalling ISO 19115-3 element. Otherwise (i.e. if marshalling a legacy ISO 19139:2007 document), omit the element.
  • Constructor Details

    • Since2014

      public Since2014()
      Empty constructor used only by JAXB.
  • Method Details

    • wrap

      protected GO_Integer wrap(Integer value)
      Wraps the given value in an ISO 19115-3 element, unless we are marshalling an older document.
      Overrides:
      wrap in class GO_Integer
      Parameters:
      value - the integer value we want to wrap in an element representing its type.
      Returns:
      a non-null value only if marshalling ISO 19115-3 or newer.