|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jasig.cas.web.flow.ModelAndEvent
Holder for both Model and Event in the CAS work flow. Note that these are entirely distinct. This class merely holds both to make it possible for a action to return both model and event in a single return value.
Constructor Summary | |
ModelAndEvent(org.springframework.webflow.Event event)
Constructs a new ModelAndEvent with a blank Model and the supplied event. |
|
ModelAndEvent(org.springframework.webflow.Event event,
java.util.Map model)
Constructs a new ModelAndEvent with the supplied event and map. |
|
ModelAndEvent(org.springframework.webflow.Event event,
java.lang.String attribute,
java.lang.Object value)
Constructs a new ModelAndEent with the supplied event and populating a map with the supplied attribute/value pair. |
Method Summary | |
org.springframework.webflow.Event |
getEvent()
Return the triggered event. |
java.util.Map |
getModel()
Return the model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelAndEvent(org.springframework.webflow.Event event)
event
- the event that was triggered.public ModelAndEvent(org.springframework.webflow.Event event, java.util.Map model)
event
- the event that was triggered.model
- the map containing all the elements for the Model.public ModelAndEvent(org.springframework.webflow.Event event, java.lang.String attribute, java.lang.Object value)
event
- the event that was triggered.attribute
- the single attribute for our model.value
- the single value associated with the attribue.Method Detail |
public final java.util.Map getModel()
public final org.springframework.webflow.Event getEvent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |