|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseGenericElementParameter
public class JRBaseGenericElementParameter
A read-only implementation of JRGenericElementParameter
that is included in compiled reports.
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected boolean |
skipWhenEmpty
|
protected JRExpression |
valueExpression
|
| Constructor Summary | |
|---|---|
protected |
JRBaseGenericElementParameter()
|
|
JRBaseGenericElementParameter(JRGenericElementParameter parameter,
JRBaseObjectFactory factory)
Creates a generic element parameter by copying an existing instance. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the parameter. |
JRExpression |
getValueExpression()
Returns the expression that provides parameter values. |
boolean |
isSkipWhenEmpty()
Decides whether the parameter is skipped when its value evaluates to null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected JRExpression valueExpression
protected boolean skipWhenEmpty
| Constructor Detail |
|---|
protected JRBaseGenericElementParameter()
public JRBaseGenericElementParameter(JRGenericElementParameter parameter,
JRBaseObjectFactory factory)
parameter - the parameter to copyfactory - the object factory to be used for creating sub objects| Method Detail |
|---|
public java.lang.String getName()
JRGenericElementParameter
The name will be propagated into the generic print element, as in
JRGenericPrintElement.setParameterValue(String, Object).
getName in interface JRGenericElementParameterpublic JRExpression getValueExpression()
JRGenericElementParameter
The result of the expression evaluation will be propagated into the
generic print element as parameter value, as in
JRGenericPrintElement.setParameterValue(String, Object).
getValueExpression in interface JRGenericElementParameterpublic boolean isSkipWhenEmpty()
JRGenericElementParameternull.
When the parameter's expression evaluates to null and this
flag is set and , the parameter is not included in the generated print
element. If the flag is not set, the parameter is included with a
null value.
isSkipWhenEmpty in interface JRGenericElementParameternull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||