Class AbstractBounds

java.lang.Object
com.oss.metadata.AbstractBounds

public class AbstractBounds extends Object
The AbstractBounds class represents ASN.1 ValueRange constraints
Since:
ASN.1/Java 2.1
  • Method Details

    • hasLowerBound

      public boolean hasLowerBound()
      Returns whether there is a lower bound for this value range constraint.
      Returns:
      true if lower bound is finite.
    • hasUpperBound

      public boolean hasUpperBound()
      Returns whether there is an upper bound for this value range constraint.
      Returns:
      true if upper bound is finite.
    • isLowerOpen

      public boolean isLowerOpen()
      Returns whether the lower bound is open for this value range constraint.
      Returns:
      true if lower bound is open.
    • isUpperOpen

      public boolean isUpperOpen()
      Returns whether the upper bound is open for this value range constraint.
      Returns:
      true if upper bound is open.
    • getLowerBound

      public AbstractData getLowerBound()
      Returns the lower bound for this value range constraint.
      Returns:
      lower bound.
    • getUpperBound

      public AbstractData getUpperBound()
      Returns the upper bound for this value range constraint.
      Returns:
      upper bound.