|
|||||||||||
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.PropertyMask
This class provides property masks of system or user defined properties. Name
and Value members in PropertyMask
are all intrinsic
properties.
Choices for the mask value are defined in DesignChoiceConstants
.
DesignChoiceConstants
Field Summary | |
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 Summary | |
PropertyMask()
Constructs a PropertyMask. |
Method Summary | |
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 |
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 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
Constructor Detail |
public PropertyMask()
Method Detail |
public java.lang.String getStructName()
IStructure
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 valuepublic java.lang.String getName()
public java.lang.String getMask()
public 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 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 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 |