Log4j 1.0.1

pl.psnc.expres.broker.correlation.task.value
Class DataChunkSetWrapper

java.lang.Object
  extended by pl.psnc.expres.broker.correlation.task.value.DataChunkSetWrapper

public class DataChunkSetWrapper
extends java.lang.Object

DataChunkSetWrapper class - stores information about each data chunk from every corresponding radio telescope.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
DataChunkSetWrapper(int radioTNumber)
          Creates a new instance of DataChunkSetWrapper
 
Method Summary
 void addChunkInfo(DataChunkWrapper dataChunkWrp)
          Add new chunk info into the correlation set
 pl.psnc.expres.model.resource.ResourceValue getCorrelator()
          Get instance of correlator value, which will be used for correlation
 java.util.Map<java.lang.String,DataChunkWrapper> getDataChunkSet()
          Get value of field: dataChunkSet
 int getRadioTNumber()
          Get value of field: radioTNumber
 boolean isSetComplete()
          Specifies whether the correlation set is ready for being correlated.
 boolean isSubmitted()
          Get value of field: submitted
 void setCorrelator(pl.psnc.expres.model.resource.ResourceValue correlator)
          Set correlator value, which will be used for correlation
 void setSubmitted(boolean submitted)
          Set value of field: submitted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataChunkSetWrapper

public DataChunkSetWrapper(int radioTNumber)
Creates a new instance of DataChunkSetWrapper

Parameters:
radioTNumber - specifies size of the correlation set. The size is equals to number of radio telescopes used.
Method Detail

addChunkInfo

public void addChunkInfo(DataChunkWrapper dataChunkWrp)
Add new chunk info into the correlation set

Parameters:
dataChunkWrp - instance of DataChunkWrapper

getCorrelator

public pl.psnc.expres.model.resource.ResourceValue getCorrelator()
Get instance of correlator value, which will be used for correlation

Returns:
instance correlator value, which will be used for correlation

getDataChunkSet

public java.util.Map<java.lang.String,DataChunkWrapper> getDataChunkSet()
Get value of field: dataChunkSet

Returns:
the dataChunkSet

getRadioTNumber

public int getRadioTNumber()
Get value of field: radioTNumber

Returns:
the radioTNumber

isSetComplete

public boolean isSetComplete()
Specifies whether the correlation set is ready for being correlated.

Returns:
true if the correlation set is ready for being correlated, false otherwise

setCorrelator

public void setCorrelator(pl.psnc.expres.model.resource.ResourceValue correlator)
Set correlator value, which will be used for correlation

Parameters:
correlator - correlator value, which will be used for correlation

isSubmitted

public boolean isSubmitted()
Get value of field: submitted

Returns:
the submitted

setSubmitted

public void setSubmitted(boolean submitted)
Set value of field: submitted

Parameters:
submitted - the submitted to set

Log4j 1.0.1

Dominik Stoklosa Copyright 2007-2009 by PSNC