Class ExpressionListHandle


  • public class ExpressionListHandle
    extends ComplexValueHandle
    Simplifies working with expression lists. An expression list contains multiple expressions.
    • Constructor Detail

      • 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 handle
        context - 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 handle
        context - 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 Detail

      • getListValue

        public java.util.List<Expression> getListValue()
        Returns the value as an expression list. Each item in return list is an Expression.
        Returns:
        a list containing expressions
      • setListValue

        public void setListValue​(java.util.List<Expression> toSet)
                          throws SemanticException
        Returns the value as an expression list. Each item in return list is an Expression.
        Parameters:
        toSet - a list containing expressions
        Throws:
        SemanticException