|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Protocol.Util.StdApps.CategoryInfo
A class to hold Category information for the standard PalmOS databases. This class is also usuable for any other databases that follow the PalmOS categury information standards.
Field Summary | |
---|---|
static byte |
MAX_CATEGORIES
The maximum number of categories allowed in a single database. |
static byte |
MAX_NAME_LENGTH
The maximum length, in bytes, of a categories name. |
Constructor Summary | |
---|---|
CategoryInfo()
Construct a new Category Info object using null information. |
Method Summary | |
---|---|
byte |
getCategoryID()
Retreives the ID number for this category. |
java.lang.String |
getCategoryName()
Retreives the name of this category. |
boolean |
getModifiedFlag()
Retreives the modified flag for this category. |
void |
setCategoryID(byte id)
Sets the ID number for this category. |
void |
setCategoryName(java.lang.String name)
Sets the name of this category. |
(package private) void |
setModifiedFlag(boolean flag)
Sets the modified flag for this category. |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
public static final byte MAX_CATEGORIES
public static final byte MAX_NAME_LENGTH
Constructor Detail |
public CategoryInfo()
Method Detail |
public byte getCategoryID()
public java.lang.String getCategoryName()
public boolean getModifiedFlag()
public void setCategoryID(byte id)
id
- the ID number for this category.public void setCategoryName(java.lang.String name)
name
- the name of this category.void setModifiedFlag(boolean flag)
flag
- set to true if this category has been modified, false otherwise.
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |