com.sri.emo.wizard.creation.model
Class CreationBeans

java.lang.Object
  extended by com.sri.emo.wizard.creation.model.CreationBeans
All Implemented Interfaces:
Serializable

public class CreationBeans
extends Object
implements Serializable

Bean for holding multiple CreationBean objects

See Also:
Serialized Form

Constructor Summary
CreationBeans()
           
 
Method Summary
 void add(CreationBean bean)
           
 boolean equals(Object obj)
           
 CreationBean get(int index)
           
 CreationBean getCreationBean(int index)
           
 CreationBean getCreationBeanByPartId(String string)
          getCreationBeanByPartId
 CreationBean getCurrentBean()
           
 String getSummary()
          Get the wizard directive.
 String getSummaryNonRaw()
           
 Class getWizardClass()
          Retrieve the wizard class.
 Integer getWizardId()
           
 String getWizardTitle()
          Get the wizard title.
 boolean hasCreationBeanByPartId(String string)
           
 int hashCode()
           
 boolean incrementCurrentCreationBean()
           
 Iterator iterator()
           
 void removeBeanByPart(String string)
          removeBeanByPart
 void setCurrentBean(CreationBean bean)
           
 void setSummary(String wizardDirective)
          Sets the wizard directive.
 void setSummaryNonRaw(String summaryNonRaw)
           
 void setWizardClass(Class wizardClass)
          Sets the wizard class to use.
 void setWizardClass(String wizardClass)
          Sets the wizard class to use
 void setWizardId(Integer wizardId)
          Sets the wizard id.
 void setWizardTitle(String wizardTitle)
          Sets the wizard title.
 int size()
           
 String toShortString()
           
 String toString()
           
 ErrorCollection validate(ErrorCollection returnValue)
          Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreationBeans

public CreationBeans()
Method Detail

incrementCurrentCreationBean

public boolean incrementCurrentCreationBean()

getCreationBean

public CreationBean getCreationBean(int index)

setCurrentBean

public void setCurrentBean(CreationBean bean)

getCurrentBean

public CreationBean getCurrentBean()

setWizardId

public void setWizardId(Integer wizardId)
Sets the wizard id.

Parameters:
wizardId - Integer.

getWizardId

public Integer getWizardId()

getWizardTitle

public String getWizardTitle()
Get the wizard title.

Returns:
String

getSummary

public String getSummary()
Get the wizard directive.

Returns:
String

getSummaryNonRaw

public String getSummaryNonRaw()

setWizardTitle

public void setWizardTitle(String wizardTitle)
Sets the wizard title.

Parameters:
wizardTitle - String

setSummary

public void setSummary(String wizardDirective)
Sets the wizard directive.

Parameters:
wizardDirective - String

setWizardClass

public void setWizardClass(Class wizardClass)
Sets the wizard class to use.

Parameters:
wizardClass - Class

setSummaryNonRaw

public void setSummaryNonRaw(String summaryNonRaw)

setWizardClass

public void setWizardClass(String wizardClass)
                    throws ClassNotFoundException
Sets the wizard class to use

Parameters:
wizardClass - String
Throws:
ClassNotFoundException - if unable to load the specified class with the Thread's current context class loader.

getWizardClass

public Class getWizardClass()
Retrieve the wizard class.

Returns:
Class

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toShortString

public String toShortString()

toString

public String toString()
Overrides:
toString in class Object

add

public void add(CreationBean bean)

iterator

public Iterator iterator()

get

public CreationBean get(int index)

size

public int size()

validate

public ErrorCollection validate(ErrorCollection returnValue)

Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.

Parameters:
returnValue - the constructed ErrorCollection to populate into.
Returns:
ActionErrors

getCreationBeanByPartId

public CreationBean getCreationBeanByPartId(String string)
getCreationBeanByPartId

Parameters:
string - String
Returns:
boolean

hasCreationBeanByPartId

public boolean hasCreationBeanByPartId(String string)

removeBeanByPart

public void removeBeanByPart(String string)
removeBeanByPart

Parameters:
string - String


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.