|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.completion.model.CompletionBean
public class CompletionBean
Bean for handling action form.
Constructor Summary | |
---|---|
CompletionBean()
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
Set |
getCompletionParts()
Retrieve all completion parts. |
Node |
getCurrentNode()
Retrieve the currently set node. |
CompletionPartsBean |
getPartsBeanFromPart(Part key)
Retrieve a specific parts bean given the specified part. |
String |
getSummary()
Get the wizard directive. |
Integer |
getTargetId()
Retrieve the target node id. |
Class |
getWizardClass()
Retrieve the wizard class. |
Set |
getWizardCompletionParts()
Retrieve the set of all completion parts that have the field completion value set to 'wizard'. |
Integer |
getWizardId()
|
String |
getWizardTitle()
Get the wizard title. |
int |
hashCode()
Returns a hash code value for the object. |
void |
initializeFromNodeId(ErrorCollection errorMessages)
Initialize from the node id. |
boolean |
isDynamicTarget()
|
boolean |
isInitialized()
Checks to make sure the bean is initialize.d |
void |
setDynamicTarget(boolean dynamicTarget)
|
void |
setSummary(String wizardDirective)
Sets the wizard directive. |
void |
setTargetId(int nodeId)
Sets the target id (as integer) |
void |
setTargetId(String newTargetId)
Sets the target id. |
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. |
String |
toString()
Returns a string representation of the object. |
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 |
---|
public CompletionBean()
Method Detail |
---|
public boolean isDynamicTarget()
public void setDynamicTarget(boolean dynamicTarget)
public void setTargetId(int nodeId)
nodeId
- intpublic void setTargetId(String newTargetId)
newTargetId
- Stringpublic Integer getTargetId()
public Set getCompletionParts()
public CompletionPartsBean getPartsBeanFromPart(Part key)
key
- Part
public Set getWizardCompletionParts()
public Node getCurrentNode()
public String getWizardTitle()
public String getSummary()
public Class getWizardClass()
public Integer getWizardId()
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.
returnValue
- the constructed ErrorCollection to populate into.
public boolean isInitialized()
public void initializeFromNodeId(ErrorCollection errorMessages)
errorMessages
- ErrorCollection may be null, in which case the method
throws IllegalArgumentExceptions if validation/construction fails.public void setWizardTitle(String wizardTitle)
wizardTitle
- Stringpublic void setSummary(String wizardDirective)
wizardDirective
- Stringpublic void setWizardClass(Class wizardClass)
wizardClass
- Classpublic void setWizardId(Integer wizardId)
wizardId
- Integer.public void setWizardClass(String wizardClass) throws ClassNotFoundException
wizardClass
- String
ClassNotFoundException
- if unable to load the specified
class with the Thread's current context class loader.public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |