ssdbms.manager.primitives
Interface SetOfLabeledSSD

All Superinterfaces:
NonPrimitiveValue, SSDValue

public interface SetOfLabeledSSD
extends NonPrimitiveValue

A SetOfID is used to storage labeled semiestructured data (pairs label-identifier), and recover them in sequential order.

Author:
Egar Arturo García Cárdenas
See Also:
LabeledSSD

Field Summary
 
Fields inherited from interface ssdbms.ssd.SSDValue
BLOB, BYTE_SEQUENCE, CLOB, INTEGER, NON_PRIMITIVE, REAL, STRING
 
Method Summary
 boolean hasNext()
          Returns true if the sequence has more elements.
 LabeledSSD next()
          Returns the next element in the sequence and shift one element.
 

Method Detail

hasNext

public boolean hasNext()
                throws BadFunctionException,
                       FatalErrorException
Returns true if the sequence has more elements. It means, the sequence has not been completely covered.

Returns:
true if there is more labeled semistructured data, false otherwise.
Throws:
BadFunctionException
FatalErrorException

next

public LabeledSSD next()
                throws BadFunctionException,
                       FatalErrorException
Returns the next element in the sequence and shift one element.

Returns:
The next labeled semistructured data in the sequence, the first time that this method is called return the firs element in the sequence, null if there is not more elements.
Throws:
BadFunctionException
FatalErrorException