|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Protocol.Util.DLPDatabaseInfo
A class to store information on a handheld database. This class holds the information on a single database.
Field Summary | |
---|---|
static byte |
EXCLUDE_FROM_SYNC
A flag to denote that this database should be excluded from synchronization. |
static byte |
RAM_BASED
A flag to denote that this database is RAM based. |
static char |
UNKNOWN_DB_INDEX
A value denoting an unknown database index. |
Constructor Summary | |
---|---|
(package private) |
DLPDatabaseInfo()
DLPDatabaseInfo default constructor. |
|
DLPDatabaseInfo(byte[] dbInfoData)
DLPDatabaseInfo constructor, given the byte array data block. |
Method Summary | |
---|---|
boolean |
checkDatabaseFlag(char c)
Check the database flags against a char indicator to see if the flag is set. |
boolean |
checkMiscFlag(byte byte0)
Check the Misc flags against a byte indicator to see if the flag is set. |
DLP_Date |
getBackupTime()
Return the last backup time in DLP_Date format. |
DLP_Date |
getCreationTime()
Return the creation time of this database in DLP_Date format. |
int |
getCreator()
Return the creator ID for this database as an int value. |
java.lang.String |
getCreatorID()
Return the creator ID for this database as an String value. |
char |
getDatabaseFlags()
|
char |
getDatabaseIndex()
Return the database index as a char value. |
byte |
getMiscFlags()
Return the Misc flags as a byte value. |
int |
getModificationNumber()
Return the modification number of this database as an int value. |
DLP_Date |
getModificationTime()
Return the last modification time of this database as a DLP_Date object. |
java.lang.String |
getName()
Return the name of this database as a String value. |
int |
getType()
Return the type of this database as an int value. |
java.lang.String |
getTypeID()
Return the type ID of this database as a String value. |
(package private) java.lang.String |
getUniqueDBID()
Return the unique DB ID of this database as a String value. |
int |
getVersion()
Return the version of this database as an int value. |
(package private) void |
setBackupTime(DLP_Date dlp_date)
Set the backup time from a DLP_Date object. |
(package private) void |
setCreationTime(DLP_Date dlp_date)
Set the creation time from a DLP_Date object. |
(package private) void |
setCreator(int i)
Set the creator ID from an int value. |
(package private) void |
setDatabaseFlags(char c)
Set the database flags from a char value. |
(package private) void |
setDatabaseIndex(char c)
Set the database index from a char value. |
(package private) void |
setMiscFlags(byte byte0)
Set the misc flags from a byte value. |
(package private) void |
setModificationNumber(int i)
Set the modification number from an int value. |
(package private) void |
setModificationTime(DLP_Date dlp_date)
Set the modification number from an DLP_Date value. |
(package private) void |
setName(java.lang.String s)
Set the name of this database. |
(package private) void |
setType(int i)
Set the type of this database from an int value. |
(package private) void |
setVersion(int i)
Set the version of this database from an int value. |
java.lang.String |
toString()
Return a String representation of this database info object. |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
public static final byte EXCLUDE_FROM_SYNC
public static final byte RAM_BASED
public static final char UNKNOWN_DB_INDEX
Constructor Detail |
DLPDatabaseInfo()
public DLPDatabaseInfo(byte[] dbInfoData) throws DLPFunctionCallException
dbInfoData
- byte[] data block.DLPFunctionCallException.
- Method Detail |
public boolean checkDatabaseFlag(char c)
c
- char flag to check if set.public boolean checkMiscFlag(byte byte0)
byte0
- byte flag to check if set.public DLP_Date getBackupTime()
public DLP_Date getCreationTime()
public int getCreator()
public java.lang.String getCreatorID()
public char getDatabaseFlags()
public char getDatabaseIndex()
public byte getMiscFlags()
public int getModificationNumber()
public DLP_Date getModificationTime()
public java.lang.String getName()
public int getType()
public java.lang.String getTypeID()
java.lang.String getUniqueDBID()
public int getVersion()
void setBackupTime(DLP_Date dlp_date)
dlp_date
- DLP_Date object.void setCreationTime(DLP_Date dlp_date)
dlp_date
- DLP_Date object.void setCreator(int i)
i
- int value of new creator ID.void setDatabaseFlags(char c)
c
- char value of database flags.void setDatabaseIndex(char c)
c
- char value of new database index.void setMiscFlags(byte byte0)
byte0
- byte value of misc flags.void setModificationNumber(int i)
i
- int value of new modification number.void setModificationTime(DLP_Date dlp_date)
dlp_date
- new DLP_Date modification time value.void setName(java.lang.String s)
s
- String new name.void setType(int i)
i
- int new type value.void setVersion(int i)
i
- int new version value.public java.lang.String toString()
toString
in class java.lang.Object
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |