issrg.SAWS.util
Class LogRecordInfo

java.lang.Object
  extended by issrg.SAWS.util.LogRecordInfo

public class LogRecordInfo
extends java.lang.Object

This is the SAWS Server class. It provides all the necessary API methods for SAWS API clients.

Version:
0.1, Jul. 2007
Author:
E. Silva

Constructor Summary
LogRecordInfo()
           
LogRecordInfo(int sn, int recordType, java.lang.String encryptionFlag, java.util.Date timeStamp, int lastRecordLength, int recordength, java.lang.String data)
           
 
Method Summary
 java.lang.String getData()
           
 java.lang.String getEncryptionFlag()
           
 int getLastRecordLength()
           
 int getRecordLength()
           
 int getRecordType()
           
 int getSn()
           
 java.util.Date getTimeStamp()
           
 void setData(java.lang.String data)
           
 void setEncryptionFlag(java.lang.String encryptionFlag)
           
 void setLastRecordLength(int lastRecordLength)
           
 void setRecordLength(int recordLength)
           
 void setRecordType(int recordType)
           
 void setSn(int sn)
           
 void setTimeStamp(java.util.Date timeStamp)
           
 java.lang.String toString()
           
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogRecordInfo

public LogRecordInfo()

LogRecordInfo

public LogRecordInfo(int sn,
                     int recordType,
                     java.lang.String encryptionFlag,
                     java.util.Date timeStamp,
                     int lastRecordLength,
                     int recordength,
                     java.lang.String data)
Method Detail

getSn

public int getSn()

setSn

public void setSn(int sn)

getRecordType

public int getRecordType()

setRecordType

public void setRecordType(int recordType)

getEncryptionFlag

public java.lang.String getEncryptionFlag()

setEncryptionFlag

public void setEncryptionFlag(java.lang.String encryptionFlag)

getTimeStamp

public java.util.Date getTimeStamp()

setTimeStamp

public void setTimeStamp(java.util.Date timeStamp)

getLastRecordLength

public int getLastRecordLength()

setLastRecordLength

public void setLastRecordLength(int lastRecordLength)

getRecordLength

public int getRecordLength()

setRecordLength

public void setRecordLength(int recordLength)

getData

public java.lang.String getData()

setData

public void setData(java.lang.String data)

toString

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

toXML

public java.lang.String toXML()