|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.protocol.DSMem
public class DSMem
Corresponds to the <DSMem&g; element in the SyncML devinf DTD
Constructor Summary | |
---|---|
DSMem()
For serialization purposes |
|
DSMem(boolean sharedMem)
Creates a new DSMem object with the given sharedMem |
|
DSMem(boolean sharedMem,
long maxMem,
long maxID)
Creates a new DSMem object with the given sharedMem, maxMem and maxID |
Method Summary | |
---|---|
long |
getMaxID()
Gets the maximum number of items |
long |
getMaxMem()
Gets the maximum memory size in bytes |
java.lang.Boolean |
getSharedMem()
Gets Boolean shared memory |
boolean |
isSharedMem()
Returns the memoryShared status |
void |
setMaxID(long maxID)
Sets the max ID property |
void |
setMaxMem(long maxMem)
Sets the max memory property |
void |
setSharedMem(boolean sharedMem)
Sets the memoryShared status |
void |
setSharedMem(java.lang.Boolean sharedMem)
Sets the memoryShared status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DSMem()
public DSMem(boolean sharedMem)
sharedMem
- is true if the datastore uses shared memorypublic DSMem(boolean sharedMem, long maxMem, long maxID)
sharedMem
- is true if the datastore uses shared memorymaxMem
- the maximum memory size for o given datastoremaxID
- the maximum number of items that can be stored in a given
datastoreMethod Detail |
---|
public boolean isSharedMem()
public void setSharedMem(java.lang.Boolean sharedMem)
sharedMem
- the new memoryShared statuspublic void setSharedMem(boolean sharedMem)
sharedMem
- the new memoryShared statuspublic java.lang.Boolean getSharedMem()
public long getMaxMem()
public void setMaxMem(long maxMem)
maxMem
- the value of max memory propertypublic long getMaxID()
public void setMaxID(long maxID)
maxID
- the value of maxID property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |