cgl.narada.service.reliable
Class CompanionDbInfo

java.lang.Object
  extended by cgl.narada.service.reliable.CompanionDbInfo

public class CompanionDbInfo
extends Object

This class keeps database table related information for storing events


Field Summary
protected  int catenationNumber
           
protected  int entityId
           
protected  EventID eventId
           
protected  long prevSequenceNumber
           
protected  long sequenceNumber
           
protected  int status
           
protected  int templateId
           
protected  boolean update
           
 
Constructor Summary
CompanionDbInfo()
           
CompanionDbInfo(long sequenceNumber, long prevSequenceNumber)
           
 
Method Summary
 int getCatenationNumber()
           
 int getEntityId()
           
 EventID getEventId()
           
 long getPrevSequenceNumber()
           
 long getSequenceNumber()
           
 int getStatus()
           
 int getTemplateId()
           
 boolean isUpdate()
           
 void setCatenationNumber(int catenationNumber)
           
 void setEntityId(int entityId)
           
 void setEventId(EventID eventId)
           
 void setPrevSequenceNumber(long prevSequenceNumber)
           
 void setSequenceNumber(long sequenceNumber)
           
 void setStatus(int status)
           
 void setTemplateId(int templateId)
           
 void setUpdate(boolean update)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

entityId

protected int entityId

sequenceNumber

protected long sequenceNumber

prevSequenceNumber

protected long prevSequenceNumber

catenationNumber

protected int catenationNumber

templateId

protected int templateId

status

protected int status

update

protected boolean update

eventId

protected EventID eventId
Constructor Detail

CompanionDbInfo

public CompanionDbInfo()

CompanionDbInfo

public CompanionDbInfo(long sequenceNumber,
                       long prevSequenceNumber)
Method Detail

getSequenceNumber

public long getSequenceNumber()

getCatenationNumber

public int getCatenationNumber()

getTemplateId

public int getTemplateId()

isUpdate

public boolean isUpdate()

getEventId

public EventID getEventId()

getPrevSequenceNumber

public long getPrevSequenceNumber()

getEntityId

public int getEntityId()

getStatus

public int getStatus()

setCatenationNumber

public void setCatenationNumber(int catenationNumber)

setPrevSequenceNumber

public void setPrevSequenceNumber(long prevSequenceNumber)

setSequenceNumber

public void setSequenceNumber(long sequenceNumber)

setTemplateId

public void setTemplateId(int templateId)

setUpdate

public void setUpdate(boolean update)

setEventId

public void setEventId(EventID eventId)

setEntityId

public void setEntityId(int entityId)

setStatus

public void setStatus(int status)

toString

public String toString()
Overrides:
toString in class Object


For comments and suggestions please send e-mail to The NaradaBrokering Project