ostore.dataobj
Interface Selection

All Superinterfaces:
QuickSerializable
All Known Implementing Classes:
All, CompositeSelection, KeyedSelection, Range

public interface Selection
extends QuickSerializable

An interface for objects which represent a portion of a DataObject. This interface is exported to the client API, and Selections generally refer to the client-visible aspects of a DataObject.

Version:
$Id: Selection.java,v 1.4 2002/07/20 19:18:14 srhea Exp $
Author:
Dennis Geels

Method Summary
 boolean contains(Selection sel)
          Tests for inclusion with other Selection.
 
Methods inherited from interface ostore.util.QuickSerializable
serialize
 

Method Detail

contains

public boolean contains(Selection sel)
Tests for inclusion with other Selection. Iff a.contains(b) and b.contains(a), it should also be true that a.equals(b).

Parameters:
sel - Another Selection.
Returns:
true iff this Selection describes a portion of a DataObject which includes the entire portion described by sel (independent of a specific DataObject).