org.jSyncManager.API.Protocol.Util
Class DLPDatabaseListGroup
java.lang.Objectorg.jSyncManager.API.Protocol.Util.DLPDatabaseListGroup
- Enumeration
public class DLPDatabaseListGroup
extends java.lang.Object
implements Enumeration
A class to store a group of database information objects.
This class holds information on a group of databases.
static byte | MORE_DATABASES- A flag to denote that there are more database info to be retreived from the handheld.
|
DLPDatabaseListGroup(groupData[] )- Construct a new database list group object based on the byte array retreived from the handheld.
|
static DLPDatabaseListGroup | bytes2DBList(data[] )- Converts a list of database information to a Database List group object.
|
boolean | checkFlag(byte flag)- Tests to see if the specified flag is present in this object.
|
byte | getActualCount()- Returns the actual count of databases.
|
DLPDatabaseInfo | getElement(int i)- Retreives the specified element from the database info array.
|
byte | getFlags()- Retreives the flags associated with this object.
|
char | getLastIndex()- Returns the last index number for the database info array.
|
boolean | hasMoreElements()- Tests to see if this enumeration has more elements.
|
Object | nextElement()- Retreives the next element of this enumeration.
|
String | toString()- Converts this objects data to a human readable String.
|
MORE_DATABASES
public static final byte MORE_DATABASES
A flag to denote that there are more database info to be retreived from the handheld.
DLPDatabaseListGroup
public DLPDatabaseListGroup(groupData[] )
throws DLPFunctionCallExceptionConstruct a new database list group object based on the byte array retreived from the handheld.
checkFlag
public boolean checkFlag(byte flag)
Tests to see if the specified flag is present in this object.
- true if the flog is enabled in this object, false otherwise.
getActualCount
public byte getActualCount()
Returns the actual count of databases.
- the actual count of databases.
getElement
public DLPDatabaseInfo getElement(int i)
Retreives the specified element from the database info array.
i - the index of the item to query.
- the Database Info object from the requested index.
getFlags
public byte getFlags()
Retreives the flags associated with this object.
- the flags associated with this object.
getLastIndex
public char getLastIndex()
Returns the last index number for the database info array.
- the last index number for the database info array.
hasMoreElements
public boolean hasMoreElements()
Tests to see if this enumeration has more elements.
- true if there are more elements in this enumeration, false otherwise.
nextElement
public Object nextElement()
Retreives the next element of this enumeration.
Returned objects are instances of the DLPDatabaseInfo class.
- the next element of this enumeration.
toString
public String toString()
Converts this objects data to a human readable String.
- this objects data as a human readable String.