Package com.oss.metadata
Class AbstractBounds
java.lang.Object
com.oss.metadata.AbstractBounds
The AbstractBounds class represents ASN.1 ValueRange constraints
- Since:
- ASN.1/Java 2.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the lower bound for this value range constraint.Returns the upper bound for this value range constraint.boolean
Returns whether there is a lower bound for this value range constraint.boolean
Returns whether there is an upper bound for this value range constraint.boolean
Returns whether the lower bound is open for this value range constraint.boolean
Returns whether the upper bound is open for this value range constraint.
-
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
Returns the lower bound for this value range constraint.- Returns:
- lower bound.
-
getUpperBound
Returns the upper bound for this value range constraint.- Returns:
- upper bound.
-