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

java.lang.Object
  |
  +--com.ibm.manplato.Protocol.Util.DLPBlock
        |
        +--com.ibm.manplato.Protocol.Util.StdApps.AppBlock
              |
              +--com.ibm.manplato.Protocol.Util.StdApps.AddressAppBlock
All Implemented Interfaces:
java.io.Serializable

public class AddressAppBlock
extends AppBlock

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

Field Summary
static byte AUSTRALIA
           
static byte AUSTRIA
           
static byte BELGIUM
           
static byte BRAZIL
           
static byte CANADA
           
static byte DENMARK
           
static byte FINLAND
           
static byte FRANCE
           
static byte GERMANY
           
static byte HONGKONG
           
static byte ICELAND
           
static byte IRELAND
           
static byte ITALY
           
static byte JAPAN
           
static byte LUXEMBOURG
           
static byte MEXICO
           
static byte NETHERLANDS
           
static byte NEWZEALAND
           
static byte NORWAY
           
static int NUM_FIELD_LABELS
           
static byte SPAIN
           
static byte SWEDEN
           
static byte SWITZERLAND
           
static byte UNITEDKINGDOM
           
static byte UNITEDSTATES
           
 
Fields inherited from class com.ibm.manplato.Protocol.Util.StdApps.AppBlock
appData, CATEGORY_BLOCK_LENGTH, MAX_CATEGORIES
 
Fields inherited from class com.ibm.manplato.Protocol.Util.DLPBlock
blockSize, data
 
Constructor Summary
AddressAppBlock()
          AddressAppBlock constructor.
AddressAppBlock(DLPBlock block)
           
 
Method Summary
protected  void generateData()
           
 byte getCountryCode()
           
 byte[] getData()
           
 java.lang.String getFieldLabel(int i)
           
 boolean getSortByCompany()
           
 boolean isFieldModified(int index)
           
 void setCountryCode(byte newValue)
           
 void setFieldLabel(java.lang.String label, int i)
           
 void setSortByCompany(boolean newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.manplato.Protocol.Util.StdApps.AppBlock
getCategoryInfo, getLastUniqueID, setCategoryInfo, setLastUniqueID
 
Methods inherited from class com.ibm.manplato.Protocol.Util.DLPBlock
getBlockSize
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUSTRALIA

public static final byte AUSTRALIA

AUSTRIA

public static final byte AUSTRIA

BELGIUM

public static final byte BELGIUM

BRAZIL

public static final byte BRAZIL

CANADA

public static final byte CANADA

DENMARK

public static final byte DENMARK

FINLAND

public static final byte FINLAND

FRANCE

public static final byte FRANCE

GERMANY

public static final byte GERMANY

HONGKONG

public static final byte HONGKONG

ICELAND

public static final byte ICELAND

IRELAND

public static final byte IRELAND

ITALY

public static final byte ITALY

JAPAN

public static final byte JAPAN

LUXEMBOURG

public static final byte LUXEMBOURG

MEXICO

public static final byte MEXICO

NETHERLANDS

public static final byte NETHERLANDS

NEWZEALAND

public static final byte NEWZEALAND

NORWAY

public static final byte NORWAY

SPAIN

public static final byte SPAIN

SWEDEN

public static final byte SWEDEN

SWITZERLAND

public static final byte SWITZERLAND

UNITEDKINGDOM

public static final byte UNITEDKINGDOM

UNITEDSTATES

public static final byte UNITEDSTATES

NUM_FIELD_LABELS

public static final int NUM_FIELD_LABELS
Constructor Detail

AddressAppBlock

public AddressAppBlock()
AddressAppBlock constructor.

AddressAppBlock

public AddressAppBlock(DLPBlock block)
Parameters:
block - com.ibm.manplato.Protocol.Util.DLPBlock
Method Detail

generateData

protected void generateData()
Overrides:
generateData in class AppBlock

getCountryCode

public byte getCountryCode()
Returns:
byte

getData

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

getFieldLabel

public java.lang.String getFieldLabel(int i)
Parameters:
i - int
Returns:
java.lang.String

getSortByCompany

public boolean getSortByCompany()
Returns:
boolean

isFieldModified

public boolean isFieldModified(int index)
Parameters:
index - int
Returns:
boolean

setCountryCode

public void setCountryCode(byte newValue)
Parameters:
newValue - byte

setFieldLabel

public void setFieldLabel(java.lang.String label,
                          int i)
Parameters:
label - java.lang.String
i - int

setSortByCompany

public void setSortByCompany(boolean newValue)
Parameters:
newValue - boolean

toString

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