AddAppBlock record abstraction/parser class.
This class reprenests a Palm Address Application database record.
AUSTRALIA
public static final byte AUSTRALIA
Country code for Australia.
AUSTRIA
public static final byte AUSTRIA
Country code for Austria.
BELGIUM
public static final byte BELGIUM
Country code for Belgium.
BRAZIL
public static final byte BRAZIL
Country code for Brazil.
CANADA
public static final byte CANADA
Country code for Canada.
CATEGORY1
public static final char CATEGORY1
The flag for Category #1.
CATEGORY10
public static final char CATEGORY10
The flag for Category #10.
CATEGORY11
public static final char CATEGORY11
The flag for Category #11.
CATEGORY12
public static final char CATEGORY12
The flag for Category #12.
CATEGORY13
public static final char CATEGORY13
The flag for Category #13.
CATEGORY14
public static final char CATEGORY14
The flag for Category #14.
CATEGORY15
public static final char CATEGORY15
The flag for Category #15.
CATEGORY16
public static final char CATEGORY16
The flag for Category #16.
CATEGORY2
public static final char CATEGORY2
The flag for Category #2.
CATEGORY3
public static final char CATEGORY3
The flag for Category #3.
CATEGORY4
public static final char CATEGORY4
The flag for Category #4.
CATEGORY5
public static final char CATEGORY5
The flag for Category #5.
CATEGORY6
public static final char CATEGORY6
The flag for Category #6.
CATEGORY7
public static final char CATEGORY7
The flag for Category #7.
CATEGORY8
public static final char CATEGORY8
The flag for Category #8.
CATEGORY9
public static final char CATEGORY9
The flag for Category #9.
DENMARK
public static final byte DENMARK
Country code for Denmark.
FINLAND
public static final byte FINLAND
Country code for Finland.
FRANCE
public static final byte FRANCE
Country code for France.
GERMANY
public static final byte GERMANY
Country code for Germany.
HONGKONG
public static final byte HONGKONG
Country code for Hong Kong.
ICELAND
public static final byte ICELAND
Country code for Iceland.
IRELAND
public static final byte IRELAND
Country code for Ireland.
ITALY
public static final byte ITALY
Country code for Italy.
JAPAN
public static final byte JAPAN
Country code for Japan.
LUXEMBOURG
public static final byte LUXEMBOURG
Country code for Luxembourg.
MEXICO
public static final byte MEXICO
Country code for Mexico.
NETHERLANDS
public static final byte NETHERLANDS
Country code for the Netherlands.
NEWZEALAND
public static final byte NEWZEALAND
Country code for New Zealand.
NORWAY
public static final byte NORWAY
Country code for Norway.
NUM_FIELD_LABELS
public static final int NUM_FIELD_LABELS
The total number of possible field labels.
SPAIN
public static final byte SPAIN
Country code for Spain.
SWEDEN
public static final byte SWEDEN
Country code for Sweden.
SWITZERLAND
public static final byte SWITZERLAND
Country code for Switzerland.
UNITEDKINGDOM
public static final byte UNITEDKINGDOM
Country code for the United Kingdom.
UNITEDSTATES
public static final byte UNITEDSTATES
Country code for the United States of America.
generateData
protected void generateData()
Generate the data block from the existing data.
- generateData in interface DLPBlock
getCountryCode
public byte getCountryCode()
Return the country code for this object.
- the country code for this object.
getDatabaseName
public static String getDatabaseName()
Returns the name of the database on the Palm this app block processes.
- the name of the database on the Palm this app block processes.
getFieldLabel
public String getFieldLabel(int i)
Return the specified Field Labels as a String variable.
i - the index of the field label to retreive.
- the specified Field Labels as a String variable.
getFieldLabelByBitmap
public String getFieldLabelByBitmap(int i)
Return the Fields Label by the offset value, derived from the bitmap.
i - the bitmap of the field label to retreive.
- the Fields Label requested.
getViewByCompany
public boolean getViewByCompany()
Return a boolean value denoting whether to view by company.
- true if view-by-company is selected, false otherwise.
isFieldModified
public boolean isFieldModified(int category)
Return a boolean value denoting whether a field is modified by given category.
category - the category to test.
- true if the field label has been modified, false otherwise.
setCountryCode
public void setCountryCode(byte newValue)
Set the country code.
newValue - the new country code to use.
setFieldLabel
public void setFieldLabel(String label,
int i)Set the Field Label by index.
label - the label to use.i - the index to write the label to.
setViewByCompany
public void setViewByCompany(boolean newValue)
Set whether to view by company.
newValue - true if you want to view the records by company, false if by name.