com.ibm.manplato.Protocol.Util.StdApps
Class AddressRecord

java.lang.Object
  |
  +--com.ibm.manplato.Protocol.Util.DLPRecord
        |
        +--com.ibm.manplato.Protocol.Util.StdApps.AddressRecord
All Implemented Interfaces:
java.io.Serializable

public class AddressRecord
extends DLPRecord

Version:
$Rev$-$Date: 2001/05/15 10:00:38 $$State: Exp $
Author:
File Created By: Brad BARCLAY <bbarclay@ca.ibm.com>, Last Modified By: $Author: fpal $
See Also:
Serialized Form

Field Summary
static int ADDRESS_FLAG
           
static int CITY_FLAG
           
static int COMPANY_FLAG
           
static int COUNTRY_FLAG
           
static int CUSTOM1_FLAG
           
static int CUSTOM2_FLAG
           
static int CUSTOM3_FLAG
           
static int CUSTOM4_FLAG
           
static int EMAIL_LABEL
           
static int FAX_LABEL
           
static int FIRSTNAME_FLAG
           
static int HOME_LABEL
           
static int LASTNAME_FLAG
           
static int MAIN_LABEL
           
static int MOBILE_LABEL
           
static int NOTE_FLAG
           
static int OTHER_LABEL
           
static int PAGER_LABEL
           
static int PHONE1_FLAG
           
static int PHONE2_FLAG
           
static int PHONE3_FLAG
           
static int PHONE4_FLAG
           
static int PHONE5_FLAG
           
static int STATE_FLAG
           
static int TITLE_FLAG
           
static int WORK_LABEL
           
static int ZIPCODE_FLAG
           
 
Fields inherited from class com.ibm.manplato.Protocol.Util.DLPRecord
ARCHIVED, attributes, BUSY, category, data, DATA_INCLUDED, DELETE_ALL_IN_CATEGORY, DELETE_ALL_RECORDS, DELETED, DIRTY, index, recordID, recordSize, SECRET, SORT_DATABASE
 
Constructor Summary
AddressRecord()
           
AddressRecord(DLPRecord record)
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getCity()
           
 java.lang.String getCompany()
           
 java.lang.String getCountry()
           
 java.lang.String getCustomField(int i)
           
 byte[] getData()
           
 int getDisplayForList()
           
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 java.lang.String getNote()
           
 int getPhoneField(int i)
           
 java.lang.String getPhoneFieldTitle(int fieldID)
           
 java.lang.String getPhones(int i)
           
 java.lang.String getState()
           
 java.lang.String getTitle()
           
 java.lang.String getZipCode()
           
 void setAddress(java.lang.String newValue)
           
 void setCity(java.lang.String newValue)
           
 void setCompany(java.lang.String newValue)
           
 void setCountry(java.lang.String newValue)
           
 void setCustomFields(java.lang.String newValue, int i)
           
 void setDisplayForList(int newValue)
           
 void setFirstName(java.lang.String newValue)
           
 void setLastName(java.lang.String newValue)
           
 void setNote(java.lang.String newValue)
           
 void setPhoneField(int num, int newValue)
           
 void setPhones(java.lang.String newValue, int i)
           
 void setState(java.lang.String newValue)
           
 void setTitle(java.lang.String newValue)
           
 void setZipCode(java.lang.String newValue)
           
 java.lang.String toString()
           
 java.lang.String toString(AddressAppBlock appBlock)
           
 
Methods inherited from class com.ibm.manplato.Protocol.Util.DLPRecord
checkAttribute, getAttributes, getCategory, getIndex, getLength, getRecordID, getRecordSize, setAttributes, setCategory, setData, setIndex, setRecordID, setRecordSize
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOTE_FLAG

public static final int NOTE_FLAG

CUSTOM4_FLAG

public static final int CUSTOM4_FLAG

CUSTOM3_FLAG

public static final int CUSTOM3_FLAG

CUSTOM2_FLAG

public static final int CUSTOM2_FLAG

CUSTOM1_FLAG

public static final int CUSTOM1_FLAG

TITLE_FLAG

public static final int TITLE_FLAG

COUNTRY_FLAG

public static final int COUNTRY_FLAG

ZIPCODE_FLAG

public static final int ZIPCODE_FLAG

STATE_FLAG

public static final int STATE_FLAG

CITY_FLAG

public static final int CITY_FLAG

ADDRESS_FLAG

public static final int ADDRESS_FLAG

PHONE5_FLAG

public static final int PHONE5_FLAG

PHONE4_FLAG

public static final int PHONE4_FLAG

PHONE3_FLAG

public static final int PHONE3_FLAG

PHONE2_FLAG

public static final int PHONE2_FLAG

PHONE1_FLAG

public static final int PHONE1_FLAG

COMPANY_FLAG

public static final int COMPANY_FLAG

FIRSTNAME_FLAG

public static final int FIRSTNAME_FLAG

LASTNAME_FLAG

public static final int LASTNAME_FLAG

WORK_LABEL

public static final int WORK_LABEL

HOME_LABEL

public static final int HOME_LABEL

FAX_LABEL

public static final int FAX_LABEL

OTHER_LABEL

public static final int OTHER_LABEL

EMAIL_LABEL

public static final int EMAIL_LABEL

MAIN_LABEL

public static final int MAIN_LABEL

PAGER_LABEL

public static final int PAGER_LABEL

MOBILE_LABEL

public static final int MOBILE_LABEL
Constructor Detail

AddressRecord

public AddressRecord()

AddressRecord

public AddressRecord(DLPRecord record)
Parameters:
record - com.ibm.manplato.Protocol.Util.DLPRecord
Method Detail

getAddress

public java.lang.String getAddress()
Returns:
String

getCity

public java.lang.String getCity()
Returns:
String

getCompany

public java.lang.String getCompany()
Returns:
String

getCountry

public java.lang.String getCountry()
Returns:
String

getCustomField

public java.lang.String getCustomField(int i)
Returns:
String

getData

public byte[] getData()
Overrides:
getData in class DLPRecord
Returns:
byte[]

getDisplayForList

public int getDisplayForList()
Returns:
int

getFirstName

public java.lang.String getFirstName()
Returns:
java.lang.String

getLastName

public java.lang.String getLastName()
Returns:
java.lang.String

getNote

public java.lang.String getNote()
Returns:
java.lang.String

getPhoneField

public int getPhoneField(int i)
Parameters:
i - int
Returns:
int

getPhoneFieldTitle

public java.lang.String getPhoneFieldTitle(int fieldID)
Parameters:
fieldID - int
Returns:
String

getPhones

public java.lang.String getPhones(int i)
Returns:
String

getState

public java.lang.String getState()
Returns:
java.lang.String

getTitle

public java.lang.String getTitle()
Returns:
String

getZipCode

public java.lang.String getZipCode()
Returns:
String

setAddress

public void setAddress(java.lang.String newValue)
Parameters:
newValue - String

setCity

public void setCity(java.lang.String newValue)
Parameters:
newValue - String

setCompany

public void setCompany(java.lang.String newValue)
Parameters:
newValue - String

setCountry

public void setCountry(java.lang.String newValue)
Parameters:
newValue - String

setCustomFields

public void setCustomFields(java.lang.String newValue,
                            int i)
Parameters:
newValue - String
i - int

setDisplayForList

public void setDisplayForList(int newValue)
Parameters:
newValue - int

setFirstName

public void setFirstName(java.lang.String newValue)
Parameters:
newValue - String

setLastName

public void setLastName(java.lang.String newValue)
Parameters:
newValue - String

setNote

public void setNote(java.lang.String newValue)
Parameters:
newValue - String

setPhoneField

public void setPhoneField(int num,
                          int newValue)
Parameters:
num - int
newValue - int

setPhones

public void setPhones(java.lang.String newValue,
                      int i)
Parameters:
newValue - String
i - int

setState

public void setState(java.lang.String newValue)
Parameters:
newValue - String

setTitle

public void setTitle(java.lang.String newValue)
Parameters:
newValue - String

setZipCode

public void setZipCode(java.lang.String newValue)
Parameters:
newValue - String

toString

public java.lang.String toString()
Overrides:
toString in class DLPRecord
Returns:
java.lang.String

toString

public java.lang.String toString(AddressAppBlock appBlock)
Parameters:
appBlock - com.ibm.manplato.Protocol.Util.StdApps.AddressAppBlock
Returns:
java.lang.String