com.businessobjects.sdk.plugin.desktop.common
Interface IValidRanges

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List

public interface IValidRanges
extends java.util.List

This interface provides access to a collection of IValidRange objects.


Method Summary
 IValidRange add(double min, double max)
          Adds an double value range to the collection.
 IValidRange add(int min, int max)
          Adds an integer value range to the collection.
 boolean remove(IValidRange range)
          Removes the specified range from the collection.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

add

IValidRange add(int min,
                int max)
Adds an integer value range to the collection.

Parameters:
min - The lower bound of the new range
max - The upper bound of the new range
Returns:
The IValidRange object representing the range.

add

IValidRange add(double min,
                double max)
Adds an double value range to the collection.

Parameters:
min - The lower bound of the new range
max - The upper bound of the new range
Returns:
The IValidRange object representing the range.
Throws:
SDKException

remove

boolean remove(IValidRange range)
Removes the specified range from the collection.

Parameters:
range - The range to remove from the collection.
Returns:
true if the range is succesfully removed, false otherwise.