live.struts.forms
Class CloneForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bylive.struts.forms.LiveForm
          extended bylive.struts.forms.CloneForm
All Implemented Interfaces:
Serializable

public class CloneForm
extends LiveForm

The form for cloning a guest

Author:
Evan Driscoll
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class live.struts.forms.LiveForm
 
Field Summary
private  String cloneDisks
           
private  String cloneName
           
private  String confirmPassword
           
private  String format
           
private  String multiple
           
private  String numClones
           
private  String password
           
private  String startIdx
           
 
Fields inherited from class live.struts.forms.LiveForm
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CloneForm()
           
 
Method Summary
 boolean cloneDisks()
           
 boolean format()
           
 String getCloneDisks()
           
 String getCloneName()
           
 String getConfirmPassword()
           
 String getFormat()
           
 String getMultiple()
           
 String getNumClones()
           
 String getPassword()
           
 String getStartIndex()
           
 boolean makeMultiple()
           
 int numberClones()
           
 void setCloneDisks(String cloneDisks)
           
 void setCloneName(String cloneName)
           
 void setConfirmPassword(String confirmPassword)
           
 void setFormat(String format)
           
 void setMultiple(String multiple)
           
 void setNumClones(String numClones)
           
 void setPassword(String password)
           
 void setStartIndex(String startIndex)
           
 int startIndex()
           
 
Methods inherited from class live.struts.forms.LiveForm
addError, validate
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

format

private String format

cloneDisks

private String cloneDisks

confirmPassword

private String confirmPassword

password

private String password

startIdx

private String startIdx

numClones

private String numClones

multiple

private String multiple

cloneName

private String cloneName
Constructor Detail

CloneForm

public CloneForm()
Method Detail

setCloneName

public void setCloneName(String cloneName)
Parameters:
cloneName - The cloneName to set.

getCloneName

public String getCloneName()
Returns:
Returns the cloneName.

setMultiple

public void setMultiple(String multiple)
Parameters:
multiple - The multiple to set.

makeMultiple

public boolean makeMultiple()
Returns:
Whether to make multiple clones

getMultiple

public String getMultiple()
Returns:
Returns the multiple.

setNumClones

public void setNumClones(String numClones)
Parameters:
numClones - The numClones to set.

getNumClones

public String getNumClones()
Returns:
Returns the numClones.

setStartIndex

public void setStartIndex(String startIndex)
Parameters:
startIndex - The startIndex to set.

getStartIndex

public String getStartIndex()
Returns:
Returns the startIndex.

setPassword

public void setPassword(String password)
Parameters:
password - The password to set.

getPassword

public String getPassword()
Returns:
Returns the password.

setConfirmPassword

public void setConfirmPassword(String confirmPassword)
Parameters:
confirmPassword - The confirmPassword to set.

getConfirmPassword

public String getConfirmPassword()
Returns:
Returns the confirmPassword.

setCloneDisks

public void setCloneDisks(String cloneDisks)
Parameters:
cloneDisks - The cloneDisks to set.

getCloneDisks

public String getCloneDisks()
Returns:
Returns the cloneDisks.

cloneDisks

public boolean cloneDisks()
Returns:
Whether to clone the guest's disks

setFormat

public void setFormat(String format)
Parameters:
format - The format to set.

getFormat

public String getFormat()
Returns:
Returns the format.

format

public boolean format()
Returns:
Whether to format the recreated disks

numberClones

public int numberClones()
Returns:
int of how many clones to create

startIndex

public int startIndex()
Returns:
int of the starting number


Copyright © 2005