public class ParamBinding
extends org.eclipse.birt.report.model.core.Structure
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXPRESSION_MEMBER
Name of the parameter binding expression member.
|
static java.lang.String |
PARAM_BINDING_STRUCT
Name of this structure.
|
static java.lang.String |
PARAM_NAME_MEMBER
Name of the parameter name member.
|
Constructor and Description |
---|
ParamBinding() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpression()
Deprecated.
replaced by
getExpressionList() |
java.util.List<Expression> |
getExpressionList()
Returns the list of the expressions.
|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
java.lang.String |
getParamName()
Returns the parameter name of this binding.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure.
|
void |
setExpression(java.util.List<Expression> values)
Sets the binding expression list.
|
void |
setExpression(java.lang.String expression)
Deprecated.
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
Sets the value of of a structure property represented as a member
variable.
|
void |
setParamName(java.lang.String name)
Sets the parameter name of this binding.
|
java.util.List |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Validate whether this structure is valid.
|
checkStringMember, copy, equals, getCompatibleValue, getContext, getDefn, getElement, getExpressionProperty, getHandle, getHandle, getLocalProperty, getLocalProperty, getMemberDefn, getObjectDefn, getProperty, getProperty, getReferencableProperty, getStringProperty, isDesignTime, isReferencable, setContext, setExpressionProperty, setProperty, setProperty, setupContext, updateReference
public static final java.lang.String PARAM_BINDING_STRUCT
public static final java.lang.String PARAM_NAME_MEMBER
public static final java.lang.String EXPRESSION_MEMBER
public java.lang.String getStructName()
IStructure
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
org.eclipse.birt.report.model.core.Structure
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
propName
- name of the propertyprotected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
org.eclipse.birt.report.model.core.Structure
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
propName
- the name of the property to setvalue
- the property valuepublic java.lang.String getParamName()
public void setParamName(java.lang.String name)
name
- the parameter name to setpublic java.lang.String getExpression()
getExpressionList()
public java.util.List<Expression> getExpressionList()
public void setExpression(java.lang.String expression)
setExpression(List)
expression
- the expression to setpublic void setExpression(java.util.List<Expression> values)
values
- the list of expressions to setpublic java.util.List validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
org.eclipse.birt.report.model.core.Structure
PropertyValueException
.validate
in class org.eclipse.birt.report.model.core.Structure
module
- the moduleelement
- the element contains this structurepublic StructureHandle handle(SimpleValueHandle valueHandle, int index)
org.eclipse.birt.report.model.core.Structure
handle
in class org.eclipse.birt.report.model.core.Structure
valueHandle
- the value handle of this structure list property this
structure is inindex
- the position of this structure in structure listCopyright © 2008 Actuate Corp. All rights reserved.