|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.creation.model.CreationBean
public class CreationBean
Bean for handling action form.
Constructor Summary | |
---|---|
CreationBean()
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. |
NodeType |
getCurrentNodeType()
|
int |
getMemLocation()
|
Integer |
getPartId()
|
CreationPartsBean |
getPartsBeanFromPart(Part key)
Retrieve a specific parts bean given the specified part. |
SearchListPage |
getSearchPage()
|
Integer |
getTargetId()
Retrieve the target node id. |
Set |
getWizardCompletionParts()
Retrieve the set of all completion parts that have the field completion value set to 'wizard'. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
hasPartsBeanFromPart(Part key)
|
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 |
setPartId(int partId)
|
void |
setSearchPage(SearchListPage page)
|
void |
setTargetId(int nodeId)
Sets the target id (as integer) |
void |
setTargetId(String newTargetId)
Sets the target id. |
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 CreationBean()
Method Detail |
---|
public void setSearchPage(SearchListPage page)
public SearchListPage getSearchPage()
public boolean isDynamicTarget()
public void setDynamicTarget(boolean dynamicTarget)
public void setTargetId(int nodeId)
nodeId
- intpublic void setPartId(int partId)
public void setTargetId(String newTargetId)
newTargetId
- Stringpublic Integer getTargetId()
public Integer getPartId()
public Set getCompletionParts()
public CreationPartsBean getPartsBeanFromPart(Part key)
key
- Part
public boolean hasPartsBeanFromPart(Part key)
public Set getWizardCompletionParts()
public Node getCurrentNode()
public NodeType getCurrentNodeType()
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 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 getMemLocation()
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 |