com.partnersoft.job.model
Class Job

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

public class Job
extends JobDataComponent

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Constructor Summary
Job()
           
Job(java.lang.String name)
           
 
Method Summary
 Alternative addAlternative(java.lang.String name)
           
 void generateID()
          Doesn't do anything.
 Alternative getActiveAlternative()
           
 java.lang.String getActiveAlternativeName()
          Gets the value of activeAlternative
 Naming getAlternatives()
          Gets the value of alternatives
 Point getCentroid()
           
 java.lang.String getCoordinateProjection()
          Gets the value of coordinateProjection
 java.lang.String getCoordinateUnits()
          Gets the value of coordinateUnits
 int getLastAlternativeID()
           
 int getLastChainID()
           
 int getLastJobUnitID()
           
 int getLastLocationID()
           
 int getLastLocationUnitID()
           
 int getLastReportConfigID()
           
 int getLastSpanID()
           
 int getLastSpanUnitID()
           
 java.util.ArrayList getReports()
          Gets the value of reports
 Cog getState()
          Subclasses extend this by calling super.getState() and then adding their own state to the result.
 void remove()
          Doesn't do anything.
 Alternative remove(Alternative which)
           
 Alternative removeAlternative(java.lang.String name)
           
 void setActiveAlternativeName(java.lang.String argActiveAlternativeName)
          Sets the value of activeAlternativeName
 void setAlternatives(Naming argAlternatives)
          Sets the value of alternatives
 void setCoordinateProjection(java.lang.String argCoordinateProjection)
          Sets the value of coordinateProjection
 void setCoordinateUnits(java.lang.String argCoordinateUnits)
          Sets the value of coordinateUnits
 void setLastAlternativeID(int newID)
           
 void setLastChainID(int newID)
           
 void setLastJobUnitID(int newID)
           
 void setLastLocationID(int newID)
           
 void setLastLocationUnitID(int newID)
           
 void setLastReportConfigID(int newID)
           
 void setLastSpanID(int newID)
           
 void setLastSpanUnitID(int newID)
           
 void setReports(java.util.ArrayList argReports)
          Sets the value of reports
 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

Job

public Job()

Job

public Job(java.lang.String name)
Method Detail

addAlternative

public Alternative addAlternative(java.lang.String name)

removeAlternative

public Alternative removeAlternative(java.lang.String name)

remove

public Alternative remove(Alternative which)

getCentroid

public Point getCentroid()

remove

public void remove()
Doesn't do anything.

Specified by:
remove in class JobDataComponent

generateID

public void generateID()
Doesn't do anything.

Specified by:
generateID 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

getActiveAlternative

public Alternative getActiveAlternative()

getReports

public java.util.ArrayList getReports()
Gets the value of reports

Returns:
the value of reports

setReports

public void setReports(java.util.ArrayList argReports)
Sets the value of reports

Parameters:
argReports - Value to assign to this.reports

getAlternatives

public Naming getAlternatives()
Gets the value of alternatives

Returns:
the value of alternatives

setAlternatives

public void setAlternatives(Naming argAlternatives)
Sets the value of alternatives

Parameters:
argAlternatives - Value to assign to this.alternatives

getActiveAlternativeName

public java.lang.String getActiveAlternativeName()
Gets the value of activeAlternative

Returns:
the value of activeAlternativeName

setActiveAlternativeName

public void setActiveAlternativeName(java.lang.String argActiveAlternativeName)
Sets the value of activeAlternativeName

Parameters:
argActiveAlternativeName - Value to assign to this.activeAlternativeName

getCoordinateProjection

public java.lang.String getCoordinateProjection()
Gets the value of coordinateProjection

Returns:
the value of coordinateProjection

setCoordinateProjection

public void setCoordinateProjection(java.lang.String argCoordinateProjection)
Sets the value of coordinateProjection

Parameters:
argCoordinateProjection - Value to assign to this.coordinateProjectn

getCoordinateUnits

public java.lang.String getCoordinateUnits()
Gets the value of coordinateUnits

Returns:
the value of coordinateUnits

setCoordinateUnits

public void setCoordinateUnits(java.lang.String argCoordinateUnits)
Sets the value of coordinateUnits

Parameters:
argCoordinateUnits - Value to assign to this.coordinateUnits

getLastAlternativeID

public int getLastAlternativeID()

setLastAlternativeID

public void setLastAlternativeID(int newID)

getLastChainID

public int getLastChainID()

setLastChainID

public void setLastChainID(int newID)

getLastLocationID

public int getLastLocationID()

setLastLocationID

public void setLastLocationID(int newID)

getLastSpanID

public int getLastSpanID()

setLastSpanID

public void setLastSpanID(int newID)

getLastLocationUnitID

public int getLastLocationUnitID()

setLastLocationUnitID

public void setLastLocationUnitID(int newID)

getLastSpanUnitID

public int getLastSpanUnitID()

setLastSpanUnitID

public void setLastSpanUnitID(int newID)

getLastJobUnitID

public int getLastJobUnitID()

setLastJobUnitID

public void setLastJobUnitID(int newID)

getLastReportConfigID

public int getLastReportConfigID()

setLastReportConfigID

public void setLastReportConfigID(int newID)