Class JRValidationFault
- java.lang.Object
-
- net.sf.jasperreports.engine.design.JRValidationFault
-
- All Implemented Interfaces:
Serializable
public class JRValidationFault extends Object implements Serializable
A report validation fault.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRVerifier
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JRValidationFault()
Creates an empty fault.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Returns the fault message/description.Object
getSource()
Returns the fault source object.void
setMessage(String message)
Sets the fault message/description.void
setSource(Object source)
Set the fault source.
-
-
-
Method Detail
-
getMessage
public String getMessage()
Returns the fault message/description.- Returns:
- the fault description
-
setMessage
public void setMessage(String message)
Sets the fault message/description.- Parameters:
message
- the description
-
getSource
public Object getSource()
Returns the fault source object. The source is the report object that dispalayed the fault. It can be, for instance, a (@link JRDesignVariable variable}, anexpression
, or areport element
.- Returns:
- the fault source
-
setSource
public void setSource(Object source)
Set the fault source.- Parameters:
source
- the fault source
-
-