public class JRBaseExpression extends Object implements JRExpression, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
id |
protected ExpressionTypeEnum |
type |
protected Class<?> |
valueClass
Deprecated.
To be removed.
|
protected String |
valueClassName
Deprecated.
To be removed.
|
protected String |
valueClassRealName
Deprecated.
To be removed.
|
EVALUATION_DEFAULT, EVALUATION_ESTIMATED, EVALUATION_OLD, NOT_USED_ID
Modifier | Constructor and Description |
---|---|
protected |
JRBaseExpression() |
protected |
JRBaseExpression(JRExpression expression,
JRBaseObjectFactory factory)
Creates a copy of an expression.
|
protected |
JRBaseExpression(JRExpression expression,
JRBaseObjectFactory factory,
Integer expressionId)
Creates a copy of an expression.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected String |
escapeTextChunk(String text) |
JRExpressionChunk[] |
getChunks() |
int |
getId() |
String |
getText() |
ExpressionTypeEnum |
getType() |
Class<?> |
getValueClass()
Deprecated.
To be removed.
|
String |
getValueClassName()
Deprecated.
To be removed.
|
void |
regenerateId() |
protected String valueClassName
protected String valueClassRealName
protected int id
protected transient Class<?> valueClass
protected ExpressionTypeEnum type
protected JRBaseExpression()
protected JRBaseExpression(JRExpression expression, JRBaseObjectFactory factory, Integer expressionId)
expression
- the original expressionfactory
- the base object factoryexpressionId
- if not null, the created expression will use it as ID
instead of the original expressions's IDprotected JRBaseExpression(JRExpression expression, JRBaseObjectFactory factory)
expression
- the original expressionfactory
- the base object factorypublic void regenerateId()
public Class<?> getValueClass()
JRExpression
getValueClass
in interface JRExpression
public String getValueClassName()
JRExpression
getValueClassName
in interface JRExpression
public int getId()
getId
in interface JRExpression
public ExpressionTypeEnum getType()
getType
in interface JRExpression
public JRExpressionChunk[] getChunks()
getChunks
in interface JRExpression
public String getText()
getText
in interface JRExpression
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2021 TIBCO Software Inc.. All rights reserved.