|
||||||||||
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
public class 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)
|
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)
|
void |
setID(long id)
Sets the element id of this binding. |
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
|
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)
|
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)
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
protected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
protected StructureHandle handle(SimpleValueHandle valueHandle, int index)
handle
in class org.eclipse.birt.report.model.core.Structure
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)
validate
in class org.eclipse.birt.report.model.core.Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |