com.novell.ecb.value
Interface SequenceValue

All Superinterfaces:
Value
All Known Implementing Classes:
BasicSequenceValue

public interface SequenceValue
extends Value

The SequenceValue is a homogeneous multi-valued Value.


Method Summary
 int count()
          Returns the number of elements in this sequence.
 Value getValue(int index)
          Returns the object at the given index.
 java.util.Iterator getValues()
          Returns an interator of this sequence's values.
 
Methods inherited from interface com.novell.ecb.value.Value
compareTo, getName, getObjectInstance, getSyntaxName
 

Method Detail

count

public int count()
Returns the number of elements in this sequence.

Returns:
int Returns the number of elements in this sequence.

getValues

public java.util.Iterator getValues()
Returns an interator of this sequence's values.

Returns:
Iterator An iterator of the values in this sequence.

getValue

public Value getValue(int index)
Returns the object at the given index.

Parameters:
index - Integer specifying the position from which value is to be retrieved.
Returns:
Value Value stored at the specified index.


Copyright © 2001-2003 Novell, Inc. All Rights Reserved.