Class ExpressionListHandle
java.lang.Object
org.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.ValueHandle
org.eclipse.birt.report.model.api.ComplexValueHandle
org.eclipse.birt.report.model.api.ExpressionListHandle
Simplifies working with expression lists. An expression list contains
multiple expressions.
-
Field Summary
Fields inherited from class ComplexValueHandle
memberContext, propDefnFields inherited from class ElementDetailHandle
elementHandle -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExpressionListHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.MemberRef ref) Deprecated.protectedExpressionListHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.StructureContext context) Constructs an expression list handle for the structure member.protectedExpressionListHandle(DesignElementHandle element, org.eclipse.birt.report.model.metadata.ElementPropertyDefn thePropDefn) Constructs an expression list handle for an element property. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value as an expression list.voidsetListValue(List<Expression> toSet) Returns the value as an expression list.Methods inherited from class ComplexValueHandle
getContext, getDefn, getDisplayValue, getPropertyDefn, getRawValue, getStringValue, getValue, isSet, setStringValue, setValueMethods inherited from class ValueHandle
getReferenceMethods inherited from class ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
-
Constructor Details
-
ExpressionListHandle
protected ExpressionListHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.StructureContext context) Constructs an expression list handle for the structure member.- Parameters:
element- the design element handlecontext- the memberRef for the member property
-
ExpressionListHandle
@Deprecated protected ExpressionListHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.MemberRef ref) Deprecated.Constructs an expression list handle for the structure member.- Parameters:
element- the design element handlecontext- the memberRef for the member property
-
ExpressionListHandle
protected ExpressionListHandle(DesignElementHandle element, org.eclipse.birt.report.model.metadata.ElementPropertyDefn thePropDefn) Constructs an expression list handle for an element property.- Parameters:
element- handle to the element that defined the property.thePropDefn- definition of the expression property.
-
-
Method Details
-
getListValue
Returns the value as an expression list. Each item in return list is anExpression.- Returns:
- a list containing expressions
-
setListValue
Returns the value as an expression list. Each item in return list is anExpression.- Parameters:
toSet- a list containing expressions- Throws:
SemanticException
-