public class IncludeScript
extends org.eclipse.birt.report.model.core.Structure
ReportDesigngives a file
name of include script in the report design. Each script in report design has
the following properties:
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
FILE_NAME_MEMBER
Name of the "file-name" property.
|
protected java.lang.String |
fileName
Value of the file name property.
|
static java.lang.String |
INCLUDE_SCRIPT_STRUCT
Name of this structure.
|
| 构造器和说明 |
|---|
IncludeScript()
Default constructor.
|
IncludeScript(java.lang.String fileName)
Constructs the script with the required file name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getFileName()
Returns file name of the script.
|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
protected StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure.
|
void |
setFileName(java.lang.String fileName)
Sets the file name of the script.
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
Sets the value of of a structure property represented as a member
variable.
|
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.
|
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, updateReferencepublic static final java.lang.String INCLUDE_SCRIPT_STRUCT
public static final java.lang.String FILE_NAME_MEMBER
protected java.lang.String fileName
public IncludeScript()
public IncludeScript(java.lang.String fileName)
fileName - file name of the scriptpublic java.lang.String getStructName()
IStructureprotected java.lang.Object getIntrinsicProperty(java.lang.String propName)
org.eclipse.birt.report.model.core.StructuregetIntrinsicProperty 在类中 org.eclipse.birt.report.model.core.StructurepropName - name of the propertyprotected void setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
org.eclipse.birt.report.model.core.StructuresetIntrinsicProperty 在类中 org.eclipse.birt.report.model.core.StructurepropName - the name of the property to setvalue - the property valuepublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - the file 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.StructurePropertyValueException.validate 在类中 org.eclipse.birt.report.model.core.Structuremodule - the moduleelement - the element contains this structureprotected StructureHandle handle(SimpleValueHandle valueHandle, int index)
org.eclipse.birt.report.model.core.Structurehandle 在类中 org.eclipse.birt.report.model.core.StructurevalueHandle - the value handle of this structure list property this
structure is inindex - the position of this structure in structure listCopyright © 2008 Actuate Corp. All rights reserved.