com.ibm.manplato.Protocol.Util
Class DLPRecord

java.lang.Object
  |
  +--com.ibm.manplato.Protocol.Util.DLPRecord
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AddressRecord, DateBookRecord, ExpenseRecord, MailRecord, MemoRecord, ToDoListRecord

public class DLPRecord
extends java.lang.Object
implements java.io.Serializable

Version:
$Rev$-$Date: 2001/05/14 10:48:17 $$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 ARCHIVED
           
protected  byte attributes
           
static byte BUSY
           
protected  byte category
           
protected  byte[] data
           
static byte DATA_INCLUDED
           
static byte DELETE_ALL_IN_CATEGORY
           
static byte DELETE_ALL_RECORDS
           
static byte DELETED
           
static byte DIRTY
           
protected  char index
           
protected  int recordID
           
protected  char recordSize
           
static byte SECRET
           
static byte SORT_DATABASE
           
 
Constructor Summary
DLPRecord()
           
DLPRecord(byte[] abyte0)
           
 
Method Summary
 boolean checkAttribute(byte value)
          Insert the method's description here.
 byte getAttributes()
           
 byte getCategory()
           
 byte[] getData()
           
 char getIndex()
           
static int getLength(byte[] data, int i)
           
 int getRecordID()
           
 char getRecordSize()
           
 void setAttributes(byte byte0)
           
 void setCategory(byte byte0)
           
protected  void setData(byte[] abyte0)
           
 void setIndex(char c)
           
 void setRecordID(int i)
           
protected  void setRecordSize(char c)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

recordID

protected int recordID

index

protected char index

recordSize

protected char recordSize

attributes

protected byte attributes

category

protected byte category

data

protected byte[] data

DELETE_ALL_RECORDS

public static final byte DELETE_ALL_RECORDS

DELETE_ALL_IN_CATEGORY

public static final byte DELETE_ALL_IN_CATEGORY

SORT_DATABASE

public static final byte SORT_DATABASE

DELETED

public static final byte DELETED

DIRTY

public static final byte DIRTY

BUSY

public static final byte BUSY

SECRET

public static final byte SECRET

ARCHIVED

public static final byte ARCHIVED

DATA_INCLUDED

public static final byte DATA_INCLUDED
Constructor Detail

DLPRecord

public DLPRecord()

DLPRecord

public DLPRecord(byte[] abyte0)
          throws DLPFunctionCallException
Method Detail

checkAttribute

public boolean checkAttribute(byte value)
Insert the method's description here. Creation date: (15/06/00 5:35:46 AM)
Parameters:
value - byte
Returns:
boolean

getAttributes

public byte getAttributes()

getCategory

public byte getCategory()

getData

public byte[] getData()

getIndex

public char getIndex()

getLength

public static int getLength(byte[] data,
                            int i)

getRecordID

public int getRecordID()

getRecordSize

public char getRecordSize()

setAttributes

public void setAttributes(byte byte0)

setCategory

public void setCategory(byte byte0)

setData

protected void setData(byte[] abyte0)

setIndex

public void setIndex(char c)

setRecordID

public void setRecordID(int i)

setRecordSize

protected void setRecordSize(char c)

toString

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