public class FormMessage extends Object
Constructor and Description |
---|
FormMessage()
Constructor.
|
FormMessage(String formName)
Constructor.
|
FormMessage(String formName,
String fieldName)
Constructor.
|
FormMessage(String formName,
String fieldName,
String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getFieldNames()
Return the field names.
|
String |
getFormName()
Return the form name.
|
String |
getMessage()
Return the message.
|
void |
setFieldName(String fieldName)
Adds one field name.
|
void |
setFormName(String formName)
Set the form name.
|
void |
setMessage(String message)
Set the message.
|
String |
toString()
Write out the contents of the message in a friendly manner.
|
public FormMessage()
public FormMessage(String formName)
formName
- A String with the form name.public FormMessage(String formName, String fieldName)
formName
- A String with the form name.fieldName
- A String with the field name.public FormMessage(String formName, String fieldName, String message)
formName
- A String with the form name.fieldName
- A String with the field name.message
- A String with the message.public String getMessage()
public String getFormName()
public String[] getFieldNames()
public void setMessage(String message)
message
- A String with the message.public void setFormName(String formName)
formName
- A String with the form name.public void setFieldName(String fieldName)
fieldName
- A String with the field name.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.