|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--superwaba.ext.palm.io.builtin.Address
Provides a link to the standard Palm Address database.
Field Summary | |
String |
address
the street name, eg "12 Long St" |
String |
city
the city of the address, eg "Perth" |
String |
company
the company the person works for, eg "TechCo" |
String |
country
the country of the address, eg "Australia" |
String[] |
custom
the custom fields |
int |
displayPhone
The index of phone (1-7) to display in the main list |
String |
firstName
the first name of the person, eg "Rob" |
String |
name
the surname of the person, eg "Nielsen" |
String |
note
a note giving extra information |
String[] |
phone
the phone numbers |
int[] |
phoneLabelID
the type of each phone number to be displayed (0-Work,1-Home,etc) |
String |
state
the state of the the address, eg "WA" |
String |
title
the title of the person, eg "Mr" |
String |
zipCode
the zip code or postcode of the address, eg "6009" |
Constructor Summary | |
Address()
Constructs a new empty address |
Method Summary | |
static boolean |
addAddress(Address address)
Adds a new Address to the database |
static int |
addressCount()
Gets the number of Addresss in the database |
static Address |
getAddress(int i)
Gets a Address from the database |
static boolean |
getAddress(int i,
Address address)
Gets a Address from the database and places it into the given Address. |
byte |
getID()
Gets a unique ID for this class. |
Storable |
getInstance()
Returns an object of the same class as this object. |
void |
loadState(DataStream ds)
Load state information from the given DataStream into this object If any Storable objects need to be loaded as part of the state, their loadState() method can be called too. |
void |
saveState(DataStream ds)
Send the state information of this object to the given object catalog using the given DataStream. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
toString,
wait,
wait |
Field Detail |
public int displayPhone
public int[] phoneLabelID
public String[] phone
public String[] custom
public String note
public String title
public String country
public String zipCode
public String state
public String city
public String address
public String company
public String firstName
public String name
Constructor Detail |
public Address()
Method Detail |
public static int addressCount()
public static Address getAddress(int i)
i
- the index to getpublic static boolean getAddress(int i, Address address)
i
- the index to getaddress
- the address object to place the address into.public static boolean addAddress(Address address)
address
- the address to addpublic void saveState(DataStream ds)
public void loadState(DataStream ds)
public byte getID()
public Storable getInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |