org.jrdf.query.relation
Interface Relation

All Known Subinterfaces:
GraphRelation
All Known Implementing Classes:
GraphRelationImpl, RelationDEE, RelationDUM, RelationImpl

public interface Relation

Relations containing a set of tuples and a set of attributes. The attribute constitute a heading the maps to the tuple values.

Version:
$Revision: 1804 $
Author:
Andrew Newman

Method Summary
 Set<Attribute> getHeading()
          Returns the set of attributes or heading of the relation.
 SortedSet<Attribute> getSortedHeading()
           
 SortedSet<Tuple> getSortedTuples()
           
 Set<Tuple> getTuples()
          Returns the set of tuples.
 

Method Detail

getHeading

Set<Attribute> getHeading()
Returns the set of attributes or heading of the relation.

Returns:
the set of attributes or heading of the relation.

getTuples

Set<Tuple> getTuples()
Returns the set of tuples.

Returns:
a set of tuples.

getSortedHeading

SortedSet<Attribute> getSortedHeading()

getSortedTuples

SortedSet<Tuple> getSortedTuples()