public DBMSEvent(String id,LinkedList<ReplOption> metadata,ArrayList<DBMSData> data,boolean lastFrag,Timestamp sourceTstamp){
  if (id == null)   this.id="NIL";
 else   this.id=id;
  if (metadata == null)   this.metadata=new LinkedList<ReplOption>();
 else   this.metadata=metadata;
  if (data == null)   this.data=new ArrayList<DBMSData>();
 else   this.data=data;
  this.lastFrag=lastFrag;
  if (sourceTstamp == null)   this.sourceTstamp=new Timestamp(System.currentTimeMillis());
 else   this.sourceTstamp=sourceTstamp;
  options=new LinkedList<ReplOption>();
}

public DBMSEvent ( String id , LinkedList < ReplOption > metadata , ArrayList < DBMSData > data , boolean lastFrag , Timestamp sourceTstamp ) { if ( id == null ) this . id = "NIL" ; else this . id = id ; if ( metadata == null ) this . metadata = new LinkedList < ReplOption > ( ) ; else this . metadata = metadata ; if ( data == null ) this . data = new ArrayList < DBMSData > ( ) ; else this . data = data ; this . lastFrag = lastFrag ; if ( sourceTstamp == null ) this . sourceTstamp = new Timestamp ( System . currentTimeMillis ( ) ) ; else this . sourceTstamp = sourceTstamp ; options = new LinkedList < ReplOption > ( ) ; }
creates a new instance of raw replicated data .
