Package org.apache.turbine.util
Klasse FormMessage
java.lang.Object
org.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.
- Version:
- $Id$
- Autor:
- Neeme Praks
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructor.FormMessage(String formName) Constructor.FormMessage(String formName, String fieldName) Constructor.FormMessage(String formName, String fieldName, String message) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungString[]Return the field names.Return the form name.Return the message.voidsetFieldName(String fieldName) Adds one field name.voidsetFormName(String formName) Set the form name.voidsetMessage(String message) Set the message.toString()Write out the contents of the message in a friendly manner.
-
Konstruktordetails
-
FormMessage
public FormMessage()Constructor. -
FormMessage
Constructor.- Parameter:
formName- A String with the form name.
-
FormMessage
Constructor.- Parameter:
formName- A String with the form name.fieldName- A String with the field name.
-
FormMessage
Constructor.- Parameter:
formName- A String with the form name.fieldName- A String with the field name.message- A String with the message.
-
-
Methodendetails
-
getMessage
Return the message.- Gibt zurück:
- A String with the message.
-
getFormName
Return the form name.- Gibt zurück:
- A String with the form name.
-
getFieldNames
Return the field names.- Gibt zurück:
- A String[] with the field names.
-
setMessage
Set the message.- Parameter:
message- A String with the message.
-
setFormName
Set the form name.- Parameter:
formName- A String with the form name.
-
setFieldName
Adds one field name.- Parameter:
fieldName- A String with the field name.
-
toString
Write out the contents of the message in a friendly manner.
-