jdbreport.design.model
Class TextExpression

java.lang.Object
  extended by jdbreport.design.model.TextExpression
All Implemented Interfaces:
Expression

public class TextExpression
extends Object
implements Expression

Version:
2.0 10.01.2011
Author:
Andrey Kholmanskih

Constructor Summary
TextExpression(String text)
           
 
Method Summary
 String getBaseName()
          The name of basic object
 String getFormatValue()
          Returns a formatted string
 String getProperty()
          The name of property
 String getText()
          Text of the expression
 int getType()
          The type of the expression Can accept the meanings: CellObject.TYPE_NONE, CellObject.TYPE_VAR, CellObject.TYPE_FIELD
 Object getValue()
          The meaning of the expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextExpression

public TextExpression(String text)
Method Detail

getBaseName

public String getBaseName()
Description copied from interface: Expression
The name of basic object

Specified by:
getBaseName in interface Expression
Returns:
the name of object

getProperty

public String getProperty()
Description copied from interface: Expression
The name of property

Specified by:
getProperty in interface Expression
Returns:
the name of property

getText

public String getText()
Description copied from interface: Expression
Text of the expression

Specified by:
getText in interface Expression
Returns:
text of the expression

getValue

public Object getValue()
                throws ReportException
Description copied from interface: Expression
The meaning of the expression

Specified by:
getValue in interface Expression
Returns:
the meaning of the expression
Throws:
ReportException

getType

public int getType()
Description copied from interface: Expression
The type of the expression Can accept the meanings: CellObject.TYPE_NONE, CellObject.TYPE_VAR, CellObject.TYPE_FIELD

Specified by:
getType in interface Expression
Returns:
the type of the expression

getFormatValue

public String getFormatValue()
Description copied from interface: Expression
Returns a formatted string

Specified by:
getFormatValue in interface Expression
Returns:
formatted string