Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor Class Reference

Inheritance diagram for org.openmobileis.database.fastobjectdb.FODBCollectionDescriptor:

org.openmobileis.common.util.OpenMISSerializable List of all members.

Detailed Description

Title: OpenMobileIS project source
Description:.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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.
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 ()

Static Package Attributes

static final long serialVersionUID = 5521257935120563452L


Member Function Documentation

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.

Parameters:
gzip 

Definition at line 60 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().

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.

Parameters:
gzip 

Definition at line 70 of file FODBCollectionDescriptor.java.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:38 2005 for OpenMobileIS by  doxygen 1.4.4