|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.syncbuilder.storage.DBInfo
Meta-information of a database.
| Field Summary | |
static int |
FLAG_APPINFO_DIRTY
|
static int |
FLAG_BACKUP
|
static int |
FLAG_COPY_PREVENTION
|
static int |
FLAG_NEWER
|
static int |
FLAG_OPEN
|
static int |
FLAG_READONLY
|
static int |
FLAG_RESET
|
static int |
FLAG_RESOURCE
|
static int |
MISCFLAG_EXCLUDE_FROM_SYNC
|
static int |
MISCFLAG_RAM_BASED
|
static int |
UNKNOWN_DB_INDEX
The real value of the index is unknown |
| Constructor Summary | |
DBInfo(java.lang.String name,
Char4 type,
Char4 creator,
int flags,
int miscflags,
int version,
int modnum,
int index,
int card,
java.util.Date create_date,
java.util.Date modify_date,
java.util.Date backup_date)
Construct a new DBInfo. |
|
| Method Summary | |
java.util.Date |
getBackupDate()
|
int |
getCard()
Return the number of the card, on which the database is located. |
java.util.Date |
getCreationDate()
|
Char4 |
getCreator()
Return the creator ID of the database. |
int |
getFlags()
|
int |
getIndex()
Return the index of the database. |
int |
getMiscFlags()
|
java.util.Date |
getModificationDate()
|
int |
getModificationNumber()
Return the modification number of the database. |
java.lang.String |
getName()
Return the name of the database. |
Char4 |
getType()
Return the type of the database. |
int |
getVersion()
Return the version of the database. |
boolean |
isAppInfoDirty()
Has the AppInfo of this database been changed? |
boolean |
isBackup()
Is this a database scheduled for backup? |
boolean |
isCopyPrevention()
Shall the copying (IR beaming) of this database be prevented? |
boolean |
isExcludeFromSync()
Shall this database be excluded from all synchronization? |
boolean |
isNewer()
May this database be overwritten by newer databases, even though it is currently opened? |
boolean |
isOpen()
Is this database open? |
boolean |
isRamBased()
Is this database located in RAM? |
boolean |
isReadOnly()
Is this database read-only? |
boolean |
isReset()
Shall the device be reset after this database has been installed? |
boolean |
isResource()
Is this a resource database? |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int FLAG_READONLY
public static final int FLAG_RESOURCE
public static final int FLAG_OPEN
public static final int FLAG_BACKUP
public static final int FLAG_APPINFO_DIRTY
public static final int FLAG_NEWER
public static final int FLAG_RESET
public static final int FLAG_COPY_PREVENTION
public static final int MISCFLAG_EXCLUDE_FROM_SYNC
public static final int MISCFLAG_RAM_BASED
public static final int UNKNOWN_DB_INDEX
| Constructor Detail |
public DBInfo(java.lang.String name,
Char4 type,
Char4 creator,
int flags,
int miscflags,
int version,
int modnum,
int index,
int card,
java.util.Date create_date,
java.util.Date modify_date,
java.util.Date backup_date)
| Method Detail |
public java.lang.String getName()
public Char4 getType()
public Char4 getCreator()
public int getVersion()
public int getModificationNumber()
public int getIndex()
UNKNOWN_DB_INDEX.public int getCard()
public int getFlags()
public int getMiscFlags()
public java.util.Date getCreationDate()
public java.util.Date getModificationDate()
public java.util.Date getBackupDate()
public boolean isReadOnly()
public boolean isResource()
public boolean isOpen()
public boolean isBackup()
public boolean isAppInfoDirty()
public boolean isNewer()
public boolean isReset()
public boolean isCopyPrevention()
public boolean isExcludeFromSync()
public boolean isRamBased()
public java.lang.String toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||