Inheritance diagram for org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor:
Definition at line 36 of file FODBCollectionDescriptor.java.
Public Member Functions | |
FODBCollectionDescriptor (String collectionName, Class objectType) | |
boolean | isCompressed () |
if isCompressed return true, all stored data object in the collection are zipped. | |
short | getSynchroWay () |
return the way the synchronisation is done. | |
void | setSynchroWay (short way) |
set the way the synchronisation is done. | |
void | setCompressed (boolean compressed) |
if set to true, all stored data object in the colleciton are zipped. | |
boolean | isSynchronize () |
void | setSynchronize (boolean synchronize) |
String | getCollectionName () |
Class | getObjectType () |
String[] | getSynchroDependList () |
void | setSynchroDependList (String[] synchroDependList) |
Static Public Attributes | |
static final short | TWO_WAY_SYNCHRO = 0 |
Indicate that the synchronisation of the collection will be done in the two way : data change are send to the server, server modification are send to the terminal. | |
static final short | ONE_WAY_SEND_DATA = 1 |
Indicate that the synchronisation of the collection will be done in the send way. | |
static final short | ONE_WAY_GET_DATA = 2 |
Indicate that the synchronisation of the collection will be done in the get way. | |
Static Package Attributes | |
static final long | serialVersionUID = 5521257935120563452L |
boolean org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor.isCompressed | ( | ) |
if isCompressed return true, all stored data object in the collection are zipped.
To gzip collection allow to gain around 25% of the collection file length but increase the synhro file size for complete synchro.
gzip |
Definition at line 80 of file FODBCollectionDescriptor.java.
Referenced by org.openmobileis.database.fastobjectdb.db.store.FODBCollectionFile.isCompressed(), org.openmobileis.database.fastobjectdb.db.store.FODBCollectionFile.readObject(), and org.openmobileis.database.fastobjectdb.db.store.FODBCollectionFile.writeObject().
short org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor.getSynchroWay | ( | ) |
return the way the synchronisation is done.
3 values are possible : FODBCollectionDescriptor.TWO_WAY_SYNCHRO, FODBCollectionDescriptor.ONE_WAY_SEND_DATA, FODBCollectionDescriptor.ONE_WAY_GET_DATA
Definition at line 89 of file FODBCollectionDescriptor.java.
Referenced by org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDB.add(), and org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDB.replace().
void org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor.setSynchroWay | ( | short | way | ) |
set the way the synchronisation is done.
3 values are possible : FODBCollectionDescriptor.TWO_WAY_SYNCHRO, FODBCollectionDescriptor.ONE_WAY_SEND_DATA, FODBCollectionDescriptor.ONE_WAY_GET_DATA
Definition at line 98 of file FODBCollectionDescriptor.java.
void org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor.setCompressed | ( | boolean | compressed | ) |
if set to true, all stored data object in the colleciton are zipped.
To gzip collection allow to gain around 25% of the collection file length but increase the synhro file size for complete synchro.
gzip |
Definition at line 108 of file FODBCollectionDescriptor.java.
final short org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor.ONE_WAY_SEND_DATA = 1 [static] |
Indicate that the synchronisation of the collection will be done in the send way.
Only data modified on the terminal are send to the server. Server modifications are not send to the terminal.
Definition at line 47 of file FODBCollectionDescriptor.java.
final short org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor.ONE_WAY_GET_DATA = 2 [static] |
Indicate that the synchronisation of the collection will be done in the get way.
Only data modified on the server are send to the terminal. Terminal modifications are not keep and send to the server.
Definition at line 52 of file FODBCollectionDescriptor.java.