net.wotonomy.control
Class OrderedDataSource

java.lang.Object
  extended by net.wotonomy.control.EODataSource
      extended by net.wotonomy.control.OrderedDataSource
Direct Known Subclasses:
PropertyDataSource

public abstract class OrderedDataSource
extends EODataSource

A simple extension of EODataSource that allows for indexed insertion. The wotonomy implementation of EODisplayGroup supports this and will use it if possible. This is useful for classes like the PropertyDataSource, where the ordering of items in an indexed property may be important.

Version:
$Revision: 893 $
Author:
michael@mpowers.net, $Author: cgruber $

Constructor Summary
OrderedDataSource()
           
 
Method Summary
abstract  void insertObjectAtIndex(java.lang.Object anObject, int anIndex)
          Inserts the specified object into this data source, at the specified index.
 
Methods inherited from class net.wotonomy.control.EODataSource
classDescriptionForObjects, createObject, dataSourceQualifiedByKey, deleteObject, editingContext, fetchObjects, insertObject, qualifyWithRelationshipKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderedDataSource

public OrderedDataSource()
Method Detail

insertObjectAtIndex

public abstract void insertObjectAtIndex(java.lang.Object anObject,
                                         int anIndex)
Inserts the specified object into this data source, at the specified index.



Copyright © 2006 null. All Rights Reserved.