public class PropertyBinding
extends org.eclipse.birt.report.model.core.Structure
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
encryptionID
The encryption id for the encrypted property value.
|
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 Expression |
value
Value expression of this property binding.
|
static java.lang.String |
VALUE_MEMBER
Name of the "value" property.
|
Constructor and Description |
---|
PropertyBinding()
Constructs a PropertyMask.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEncryption()
Returns the encryption id.
|
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 |
setEncryption(java.lang.String encryptionID)
Sets the encryption id for the encrypted value.
|
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<SemanticException> |
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, 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 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
ModuleHandleImpl.getElementByID(long)
to find the host element of this property binding defined.protected Expression value
protected java.lang.String encryptionID
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 valueprotected 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 listpublic 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<SemanticException> 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 void setEncryption(java.lang.String encryptionID)
encryptionID
- public java.lang.String getEncryption()
public boolean equals(java.lang.Object obj)
equals
in class org.eclipse.birt.report.model.core.Structure
Copyright © 2008 Actuate Corp. All rights reserved.