org.openmobileis.database.fastobjectdb
Class FODBCollectionDescriptor

java.lang.Object
  extended byorg.openmobileis.database.fastobjectdb.FODBCollectionDescriptor
All Implemented Interfaces:
OpenMISSerializable, java.io.Serializable

public class FODBCollectionDescriptor
extends java.lang.Object
implements OpenMISSerializable

Title: OpenMobileIS project source
Description:

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu
See Also:
Serialized Form

Constructor Summary
FODBCollectionDescriptor(java.lang.String collectionName, java.lang.Class objectType)
           
 
Method Summary
 java.lang.String getCollectionName()
           
 java.lang.Class getObjectType()
           
 boolean isCompressed()
          if isCompressed return true, all stored data object in the collection are zipped.
 boolean isSynchronize()
           
 void setCompressed(boolean compressed)
          if set to true, all stored data object in the colleciton are zipped.
 void setSynchronize(boolean synchronize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FODBCollectionDescriptor

public FODBCollectionDescriptor(java.lang.String collectionName,
                                java.lang.Class objectType)
Method Detail

isCompressed

public boolean 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.


setCompressed

public void 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.


isSynchronize

public boolean isSynchronize()

setSynchronize

public void setSynchronize(boolean synchronize)

getCollectionName

public java.lang.String getCollectionName()

getObjectType

public java.lang.Class getObjectType()


Copyright 2005 e-Care. All Rights Reserved.