public class JRFillField extends Object implements JRField
| Modifier and Type | Field and Description |
|---|---|
protected JRFillExpressionEvaluator |
expressionEvaluator |
protected JRPropertiesMap |
mergedProperties |
protected JRField |
parent |
protected List<JRPropertyExpression> |
propertyExpressions |
protected JRPropertiesMap |
staticProperties |
| Modifier | Constructor and Description |
|---|---|
protected |
JRFillField(JRField field,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
protected Object |
evaluateExpression(JRExpression expression) |
protected void |
evaluateProperties() |
String |
getDescription()
Gets the field optional description.
|
String |
getName()
Gets the field unique name.
|
Object |
getOldValue() |
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults
for this object.
|
Object |
getPreviousOldValue() |
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map.
|
JRPropertyExpression[] |
getPropertyExpressions()
Returns the list of dynamic/expression-based properties for this field.
|
Object |
getValue() |
Object |
getValue(byte evaluation) |
Class<?> |
getValueClass()
Gets the field value class.
|
String |
getValueClassName()
Gets the field value class name.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
void |
overwriteValue(Object newValue,
byte evaluation) |
void |
restoreValue(byte evaluation) |
void |
setDescription(String description)
Sets the field description.
|
void |
setOldValue(Object oldValue) |
void |
setPreviousOldValue(Object previousOldValue) |
void |
setValue(Object value) |
protected JRField parent
protected JRFillExpressionEvaluator expressionEvaluator
protected List<JRPropertyExpression> propertyExpressions
protected JRPropertiesMap staticProperties
protected JRPropertiesMap mergedProperties
protected JRFillField(JRField field, JRFillObjectFactory factory)
public String getName()
JRFieldpublic String getDescription()
JRFieldgetDescription in interface JRFieldpublic void setDescription(String description)
JRFieldsetDescription in interface JRFieldpublic Class<?> getValueClass()
JRFieldgetValueClass in interface JRFieldpublic String getValueClassName()
JRFieldgetValueClassName in interface JRFieldpublic Object getOldValue()
public void setOldValue(Object oldValue)
public Object getValue()
public void setValue(Object value)
public Object getValue(byte evaluation)
public void overwriteValue(Object newValue, byte evaluation)
public void restoreValue(byte evaluation)
public Object getPreviousOldValue()
public void setPreviousOldValue(Object previousOldValue)
public boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic JRPropertyExpression[] getPropertyExpressions()
JRFieldgetPropertyExpressions in interface JRFieldprotected void evaluateProperties()
throws JRException
JRExceptionprotected final Object evaluateExpression(JRExpression expression) throws JRException
JRExceptionpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.