org.enhydra.barracuda.examples.xmlc.data
Class UsersList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--org.enhydra.barracuda.examples.xmlc.data.UsersList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class UsersList
extends java.util.ArrayList

This object represents a data model whose state consists of a list of users and a current position within that list.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UsersList()
           
 
Method Summary
 int getCurrentPos()
          Get the current pos
static UsersList getMasterInstance()
          Build the master instance of some Table Data.
static UsersList getSampleInstance()
          Build a sample instance of some Table Data.
 void setCurrentPos(int ipos)
          Set the current pos
static void setMasterInstance(UsersList itable)
          Update the master copy
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

UsersList

public UsersList()
Method Detail

getMasterInstance

public static UsersList getMasterInstance()
Build the master instance of some Table Data.


setMasterInstance

public static void setMasterInstance(UsersList itable)
Update the master copy


getSampleInstance

public static UsersList getSampleInstance()
Build a sample instance of some Table Data. THis is just bogus data used to create a heirarchical data structure which acts as the true data "model" (in the abstract sense of the word, not in the MVC sense)


setCurrentPos

public void setCurrentPos(int ipos)
Set the current pos


getCurrentPos

public int getCurrentPos()
Get the current pos



Copyright © 2001 Enhydra.org