com.partnersoft.staker.model
Class LocationBackup

java.lang.Object
  extended by com.partnersoft.staker.model.LocationBackup

public class LocationBackup
extends java.lang.Object

Makes a deep copy of a location in such a way that it can be restored into job (e.g. when cancel is hit in the edit location dialog).

Copyright 2008 Partner Software, Inc.


Constructor Summary
LocationBackup(Job job, Location location)
          Creates a LocationBackup object for the given job and location, and goes ahead and calls backup().
 
Method Summary
 void backup()
           
 Location restore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationBackup

public LocationBackup(Job job,
                      Location location)
Creates a LocationBackup object for the given job and location, and goes ahead and calls backup().

Method Detail

backup

public void backup()

restore

public Location restore()