Class MultiplicityRange

java.lang.Object
org.apache.sis.internal.jaxb.gco.MultiplicityRange

final class MultiplicityRange extends Object
A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.
Since:
1.0
Version:
1.0
  • Field Details

  • Constructor Details

    • MultiplicityRange

      private MultiplicityRange()
      Creates an initially empty range. This is invoked by JAXB at unmarshalling time.
    • MultiplicityRange

      private MultiplicityRange(NumberRange<Integer> range)
      Creates a range initialized to the given value.
  • Method Details

    • wrap

      static MultiplicityRange wrap(NumberRange<Integer> range)
      Wraps the given integer range in multiplicity range, or returns null if the given range is null.
    • value

      Returns the value as a number range, or null if none.
    • toString

      public String toString()
      Returns a string representation for debugging purpose.
      Overrides:
      toString in class Object