org.apache.struts.action

Class ActionMessages.ActionMessageItem

Enclosing Class:
ActionMessages
Implemented Interfaces:
Serializable

protected class ActionMessages.ActionMessageItem
extends java.lang.Object
implements Serializable

This class is used to store a set of messages associated with a property/key and the position it was initially added to list.

Field Summary

protected int
iOrder
The position in the list of messages.
protected List
list
The list of ActionMessages.
protected String
property
The property associated with ActionMessage.

Constructor Summary

ActionMessageItem(List list, int iOrder, String property)

Method Summary

List
getList()
int
getOrder()
String
getProperty()
void
setList(List list)
void
setOrder(int iOrder)
void
setProperty(String property)
String
toString()

Field Details

iOrder

protected int iOrder
The position in the list of messages.

list

protected List list
The list of ActionMessages.

property

protected String property
The property associated with ActionMessage.

Constructor Details

ActionMessageItem

public ActionMessageItem(List list,
                         int iOrder,
                         String property)

Method Details

getList

public List getList()

getOrder

public int getOrder()

getProperty

public String getProperty()

setList

public void setList(List list)

setOrder

public void setOrder(int iOrder)

setProperty

public void setProperty(String property)

toString

public String toString()

Copyright B) 2000-2007 - The Apache Software Foundation