com.partnersoft.v3x.apps.Staker.server
Class MiniHeader

java.lang.Object
  extended by org.jcon.data.ArrayListRecord
      extended by com.partnersoft.v3x.apps.Staker.server.MiniHeader
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Record

public class MiniHeader
extends ArrayListRecord

A minimal JobHeader, containing only the info needed for the JobManager interface to select jobs, and the FieldStaker to pick out the jobs assigned to a given staker.

See Also:
Serialized Form

Constructor Summary
MiniHeader()
           
MiniHeader(JobHeader header)
           
 
Method Summary
 void copyFrom(JobHeader header)
          Resets the miniheader's state to match the give JobHeader.
protected  java.util.Map editableFieldsDict()
           
 java.lang.String getJobName()
          Convenience method to fetch the JobName.
 java.lang.String getJobNumber()
          Convenience method to fetch the JobStatus.
 PicklistItem getStaker()
          Convenience method to fetch the StakerName.
 JobStatus getStatus()
          Convenience method to fetch the JobNumber.
protected  java.util.Map readableFieldsDict()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jcon.data.ArrayListRecord
clone, editableFields, getAllFieldValues, getField, getFieldValue, getFieldValues, indexOf, readableFields, setFieldValue, setFieldValues
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MiniHeader

public MiniHeader()

MiniHeader

public MiniHeader(JobHeader header)
Method Detail

getStatus

public JobStatus getStatus()
Convenience method to fetch the JobNumber. JobNumber has to be defined in the config, though.


getStaker

public PicklistItem getStaker()
Convenience method to fetch the StakerName. Status has to be defined in the config, though.


getJobNumber

public java.lang.String getJobNumber()
Convenience method to fetch the JobStatus. Status has to be defined in the config, though.


getJobName

public java.lang.String getJobName()
Convenience method to fetch the JobName. JobName has to be defined in the config, though.


copyFrom

public void copyFrom(JobHeader header)
Resets the miniheader's state to match the give JobHeader.


editableFieldsDict

protected java.util.Map editableFieldsDict()
Specified by:
editableFieldsDict in class ArrayListRecord

readableFieldsDict

protected java.util.Map readableFieldsDict()
Specified by:
readableFieldsDict in class ArrayListRecord

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object