Package emissary.id
Class WorkUnit
- java.lang.Object
-
- emissary.id.WorkUnit
-
- All Implemented Interfaces:
Serializable
public class WorkUnit extends Object implements Serializable
Basic unit of communication between an IdPlace and an IdEngine- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(String key, String value)
Add a parameter to control the workvoid
addParameters(Map<String,String> m)
Add a bunch of parameters to control the workString
getCurrentForm()
Gets the value of currentFormbyte[]
getData()
Gets the value of dataString
getFilename()
Gets the value of filenamebyte[]
getFooter()
Gets the value of footer[]byte[]
getHeader()
Gets the value of header[]String
getParameter(String key)
Retrieve a parameterMap<String,String>
getParameters()
Get all parametersvoid
setCurrentForm(String argCurrentForm)
Sets the value of currentFormvoid
setData(byte[] argData)
Sets the value of datavoid
setFilename(String argFilename)
Sets the value of filenamevoid
setFooter(byte[] argFooter)
Sets the value of footer[]void
setHeader(byte[] argHeader)
Sets the value of header[]
-
-
-
Method Detail
-
getFilename
public String getFilename()
Gets the value of filename- Returns:
- the value of filename
-
setFilename
public void setFilename(String argFilename)
Sets the value of filename- Parameters:
argFilename
- Value to assign to this.filename
-
getData
public byte[] getData()
Gets the value of data- Returns:
- the value of data
-
setData
public void setData(byte[] argData)
Sets the value of data- Parameters:
argData
- Value to assign to this.data
-
getCurrentForm
public String getCurrentForm()
Gets the value of currentForm- Returns:
- the value of currentForm
-
setCurrentForm
public void setCurrentForm(String argCurrentForm)
Sets the value of currentForm- Parameters:
argCurrentForm
- Value to assign to this.currentForm
-
getHeader
public byte[] getHeader()
Gets the value of header[]- Returns:
- the value of header[]
-
setHeader
public void setHeader(byte[] argHeader)
Sets the value of header[]- Parameters:
argHeader
- Value to assign to this.header[]
-
getFooter
public byte[] getFooter()
Gets the value of footer[]- Returns:
- the value of footer[]
-
setFooter
public void setFooter(byte[] argFooter)
Sets the value of footer[]- Parameters:
argFooter
- Value to assign to this.footer[]
-
addParameter
public void addParameter(String key, String value)
Add a parameter to control the work
-
addParameters
public void addParameters(Map<String,String> m)
Add a bunch of parameters to control the work
-
-