|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.engine.api.querydefn.BaseExpression
Default implementation of the IBaseExpression
interface.
Field Summary | |
protected int |
dataType
|
protected java.lang.Object |
handle
|
Constructor Summary | |
BaseExpression()
Constructs an instance with unknown data type |
|
BaseExpression(int dataType)
Constructs an instance with specified data type |
Method Summary | |
int |
getDataType()
Gets the data type of the expression. |
java.lang.Object |
getHandle()
Returns the handle associated with the expression. |
java.lang.String |
getID()
Every expression has its own unique id. |
void |
setDataType(int dataType)
Sets the data type of the expression |
void |
setHandle(java.lang.Object handle)
Associates the expression with the provided handle. |
void |
setID(java.lang.String exprID)
ID can be automatically generated by expression concrete class or be set externally. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int dataType
protected java.lang.Object handle
Constructor Detail |
public BaseExpression()
public BaseExpression(int dataType)
Method Detail |
public java.lang.String getID()
IBaseExpression
getID
in interface IBaseExpression
public void setID(java.lang.String exprID)
IBaseExpression
setID
in interface IBaseExpression
exprID
- public int getDataType()
IBaseExpression
org.eclipse.birt.core.data.DataType
class.
If the result data type of the expression is not known,
return UNKNOWN_TYPE
.
getDataType
in interface IBaseExpression
IBaseExpression.getDataType()
public void setDataType(int dataType)
public java.lang.Object getHandle()
IBaseExpression
getHandle
in interface IBaseExpression
IBaseExpression.getHandle()
public void setHandle(java.lang.Object handle)
IBaseExpression
setHandle
in interface IBaseExpression
IBaseExpression.setHandle(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |