public class PropertyMask
extends org.eclipse.birt.report.model.core.Structure
PropertyMask
are all intrinsic properties.
Choices for the mask value are defined in DesignChoiceConstants
.DesignChoiceConstants
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mask
The value of the mask.
|
static java.lang.String |
MASK_MEMBER
Name of the value for the mask.
|
protected java.lang.String |
name
The name of the property.
|
static java.lang.String |
NAME_MEMBER
Name of the property name member.
|
static java.lang.String |
STRUCTURE_NAME
Name of this structure within the meta-data dictionary.
|
Constructor and Description |
---|
PropertyMask()
Constructs a PropertyMask.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
java.lang.String |
getMask()
Returns the mask of the property.
|
java.lang.String |
getName()
Returns the property name.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure.
|
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 |
setMask(java.lang.String mask)
Sets the property mask.
|
void |
setName(java.lang.String name)
Sets the property name.
|
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, 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 NAME_MEMBER
public static final java.lang.String MASK_MEMBER
public static final java.lang.String STRUCTURE_NAME
protected java.lang.String name
protected java.lang.String mask
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 getName()
public java.lang.String getMask()
public 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 void setMask(java.lang.String mask)
mask
- the proeprty mask to setpublic void setName(java.lang.String name)
name
- the property name 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 structureCopyright © 2008 Actuate Corp. All rights reserved.