/*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licensing information please see the file license.txt included with JGAP
* or have a look at the top of class org.jgap.Chromosome which representatively
* includes the JGAP license policy applicable for any file delivered with JGAP.
*/
package org.jgap.distr.grid.wan;
import java.util.*;
import org.jgap.distr.*;
/**
* Meta-Information about a request.
*
* @author Klaus Meffert
* @since 3.3.4
*/
public class RequestInformation {
/** String containing the CVS revision. Read out via reflection!*/
private static final String CVS_REVISION = "$Revision: 1.1 $";
public MasterInfo requesterInfo;
public MasterInfo workerInfo;
/**@todo worker gibt durch Datei an, dass er Request bearbeitet*/
private String m_id;
private String m_title;
private Date m_requestDate;
private String m_description;
private int m_chunk;
private int m_popSize;
public RequestInformation() {
}
public int getChunk() {
return m_chunk;
}
public void setChunk(int a_chunk) {
m_chunk = a_chunk;
}
public String getID() {
return m_id;
}
public void setID(String a_id) {
m_id = a_id;
}
/**
* @param a_date date the request was initialized
*
* @author Klaus Meffert
* @since 3.3.4
*/
public void setRequestDate(Date a_date) {
m_requestDate = a_date;
}
/**
* @return the date the request was initialized
*
* @author Klaus Meffert
* @since 3.3.4
*/
public Date getRequestDate() {
return m_requestDate;
}
/**
* @param a_descr arbitrary description of the request
*
* @author Klaus Meffert
* @since 3.3.4
*/
public void setDescription(String a_descr) {
m_description = a_descr;
}
/**
* @return arbitrary description of the request
*
* @author Klaus Meffert
* @since 3.3.4
*/
public String getDescription() {
return m_description;
}
/**
* @param a_title the title to set
*
* @author Klaus Meffert
* @since 3.3.4
*/
public void setTitle(String a_title) {
m_title = a_title;
}
/**
* @return the title set
*
* @author Klaus Meffert
* @since 3.3.4
*/
public String getTitle() {
return m_title;
}
public int getPopSize() {
return m_popSize;
}
public void setPopSize(int popSize) {
m_popSize = popSize;
}
}