com.partnersoft.job.model
Class ReportConfig

java.lang.Object
  extended by com.partnersoft.job.model.JobDataComponent
      extended by com.partnersoft.job.model.ReportConfig
All Implemented Interfaces:
Coggable

public class ReportConfig
extends JobDataComponent

Contains the configuration and snapshots for a job report instance.

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Constructor Summary
ReportConfig()
           
 
Method Summary
 void generateID()
          Subclass homework.
 Job getJob()
           
 java.util.ArrayList getSnapshots()
          Gets the value of snapshots
 Cog getState()
          Subclasses extend this by calling super.getState() and then adding their own state to the result.
 void remove()
          Does nothing.
 void setJob(Job newJob)
           
 void setSnapshots(java.util.ArrayList argSnapshots)
          Sets the value of snapshots
 void setState(Cog state)
          Subclasses should extend this by calling super.setState() and then setting their own state from the input.
 
Methods inherited from class com.partnersoft.job.model.JobDataComponent
copy, copyStateFrom, generateGuid, generateStandardIDs, getData, getGuid, getID, getName, getType, setData, setGuid, setID, setName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportConfig

public ReportConfig()
Method Detail

remove

public void remove()
Does nothing.

Specified by:
remove in class JobDataComponent

getState

public Cog getState()
Description copied from class: JobDataComponent
Subclasses extend this by calling super.getState() and then adding their own state to the result.

Specified by:
getState in interface Coggable
Overrides:
getState in class JobDataComponent

setState

public void setState(Cog state)
Description copied from class: JobDataComponent
Subclasses should extend this by calling super.setState() and then setting their own state from the input.

Specified by:
setState in interface Coggable
Overrides:
setState in class JobDataComponent

generateID

public void generateID()
Description copied from class: JobDataComponent
Subclass homework. Component should assign itself a unique integer ID (often more useful than a GUID for dealing with legacy systems or in reports and such). Generally this is by consulting an ID registry; the job actually serves this purpose for all its components.

Specified by:
generateID in class JobDataComponent

getSnapshots

public java.util.ArrayList getSnapshots()
Gets the value of snapshots

Returns:
the value of snapshots

setSnapshots

public void setSnapshots(java.util.ArrayList argSnapshots)
Sets the value of snapshots

Parameters:
argSnapshots - Value to assign to this.snapshots

getJob

public Job getJob()

setJob

public void setJob(Job newJob)