|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.util.FormMessage
A message class for holding information about a message that relates to a specific form and field. Used together with FormMessages class.
Constructor Summary | |
FormMessage()
Constructor. |
|
FormMessage(java.lang.String formName)
Constructor. |
|
FormMessage(java.lang.String formName,
java.lang.String fieldName)
Constructor. |
|
FormMessage(java.lang.String formName,
java.lang.String fieldName,
java.lang.String message)
Constructor. |
Method Summary | |
java.lang.String[] |
getFieldNames()
Return the field names. |
java.lang.String |
getFormName()
Return the form name. |
java.lang.String |
getMessage()
Return the message. |
void |
setFieldName(java.lang.String fieldName)
Adds one field name. |
void |
setFormName(java.lang.String formName)
Set the form name. |
void |
setMessage(java.lang.String message)
Set the message. |
java.lang.String |
toString()
Write out the contents of the message in a friendly manner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FormMessage()
public FormMessage(java.lang.String formName)
formName
- A String with the form name.public FormMessage(java.lang.String formName, java.lang.String fieldName)
formName
- A String with the form name.fieldName
- A String with the field name.public FormMessage(java.lang.String formName, java.lang.String fieldName, java.lang.String message)
formName
- A String with the form name.fieldName
- A String with the field name.message
- A String with the message.Method Detail |
public java.lang.String getMessage()
public java.lang.String getFormName()
public java.lang.String[] getFieldNames()
public void setMessage(java.lang.String message)
message
- A String with the message.public void setFormName(java.lang.String formName)
formName
- A String with the form name.public void setFieldName(java.lang.String fieldName)
fieldName
- A String with the field name.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |