Package org.pentaho.libformula.editor
Class FormulaMessage
- java.lang.Object
-
- org.pentaho.libformula.editor.FormulaMessage
-
public class FormulaMessage extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_ERROR
static int
TYPE_FIELD
static int
TYPE_FUNCTION
static int
TYPE_MESSAGE
static int
TYPE_STATIC_DATE
static int
TYPE_STATIC_LOGICAL
static int
TYPE_STATIC_NUMBER
static int
TYPE_STATIC_STRING
static int
TYPE_WARNING
-
Constructor Summary
Constructors Constructor Description FormulaMessage(int type, String subject, String message)
FormulaMessage(int type, org.pentaho.reporting.libraries.formula.lvalues.ParsePosition position, String subject, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
org.pentaho.reporting.libraries.formula.lvalues.ParsePosition
getPosition()
String
getSubject()
int
getType()
void
setMessage(String message)
void
setPosition(org.pentaho.reporting.libraries.formula.lvalues.ParsePosition position)
void
setSubject(String subject)
void
setType(int type)
String
toString()
-
-
-
Field Detail
-
TYPE_ERROR
public static final int TYPE_ERROR
- See Also:
- Constant Field Values
-
TYPE_WARNING
public static final int TYPE_WARNING
- See Also:
- Constant Field Values
-
TYPE_MESSAGE
public static final int TYPE_MESSAGE
- See Also:
- Constant Field Values
-
TYPE_FUNCTION
public static final int TYPE_FUNCTION
- See Also:
- Constant Field Values
-
TYPE_FIELD
public static final int TYPE_FIELD
- See Also:
- Constant Field Values
-
TYPE_STATIC_NUMBER
public static final int TYPE_STATIC_NUMBER
- See Also:
- Constant Field Values
-
TYPE_STATIC_STRING
public static final int TYPE_STATIC_STRING
- See Also:
- Constant Field Values
-
TYPE_STATIC_DATE
public static final int TYPE_STATIC_DATE
- See Also:
- Constant Field Values
-
TYPE_STATIC_LOGICAL
public static final int TYPE_STATIC_LOGICAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPosition
public org.pentaho.reporting.libraries.formula.lvalues.ParsePosition getPosition()
- Returns:
- the position
-
setPosition
public void setPosition(org.pentaho.reporting.libraries.formula.lvalues.ParsePosition position)
- Parameters:
position
- the position to set
-
getSubject
public String getSubject()
- Returns:
- the subject
-
setSubject
public void setSubject(String subject)
- Parameters:
subject
- the subject to set
-
getMessage
public String getMessage()
- Returns:
- the message
-
setMessage
public void setMessage(String message)
- Parameters:
message
- the message to set
-
getType
public int getType()
- Returns:
- the type
-
setType
public void setType(int type)
- Parameters:
type
- the type to set
-
-