|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.core.Structure
org.eclipse.birt.report.model.api.elements.structures.PropertyBinding
Represents the property binding structure. The property binding defines the overridable property value. It includes property name, element ID and overridden value.
Field Summary | |
protected java.math.BigDecimal |
id
Element id of the property binding. |
static java.lang.String |
ID_MEMBER
Name of the "id" property. |
protected java.lang.String |
name
Name of the property binding. |
static java.lang.String |
NAME_MEMBER
Name of the "name" property. |
static java.lang.String |
PROPERTY_BINDING_STRUCT
Name of the structure. |
protected java.lang.String |
value
Value expression of this property binding. |
static java.lang.String |
VALUE_MEMBER
Name of the "value" property. |
Constructor Summary | |
PropertyBinding()
Constructs a PropertyMask. |
Method Summary | |
java.math.BigDecimal |
getID()
Gets the element id of the binding. |
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member variable. |
java.lang.String |
getName()
Gets the property name of this binding. |
java.lang.String |
getStructName()
Returns the name of the structure definition. |
java.lang.String |
getValue()
Gets the overridden value of this binding. |
protected StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure. |
void |
setID(long id)
Sets the element id of this binding. |
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 |
setName(java.lang.String name)
Sets the name of the property binding. |
void |
setValue(java.lang.String expression)
Sets the overridden value 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. |
Methods inherited from class org.eclipse.birt.report.model.core.Structure |
copy, equals, getContext, getDefn, getElement, getHandle, getHandle, getListMemberRef, getLocalProperty, getLocalProperty, getObjectDefn, getProperty, getProperty, getReferencableProperty, isDesignTime, isReferencable, setContext, setProperty, setProperty, updateReference |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROPERTY_BINDING_STRUCT
public static final java.lang.String NAME_MEMBER
public static final java.lang.String ID_MEMBER
public static final java.lang.String VALUE_MEMBER
protected java.lang.String name
protected java.math.BigDecimal id
ModuleHandle.getElementByID(long)
to find the host element of this property binding defined.
protected java.lang.String value
Constructor Detail |
public PropertyBinding()
Method Detail |
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
org.eclipse.birt.report.model.core.Structure
propName
- name of the property
protected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
org.eclipse.birt.report.model.core.Structure
propName
- the name of the property to setvalue
- the property valueprotected StructureHandle handle(SimpleValueHandle valueHandle, int index)
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 list
public java.lang.String getStructName()
IStructure
public void setName(java.lang.String name)
name
- the property namepublic java.lang.String getName()
public void setID(long id)
id
- the element id to setpublic java.math.BigDecimal getID()
public java.lang.String getValue()
public void setValue(java.lang.String expression)
expression
- the value expression 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
.
module
- the moduleelement
- the element contains this structure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |