public class IncludeScript
extends org.eclipse.birt.report.model.core.Structure
ReportDesign
gives a file
name of include script in the report design. Each script in report design has
the following properties:
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
IncludeScript()
Default constructor.
|
IncludeScript(java.lang.String fileName)
Constructs the script with the required file name.
|
Modifier and Type | Method and Description |
---|---|
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, updateReference
public 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()
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 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.Structure
PropertyValueException
.validate
in class org.eclipse.birt.report.model.core.Structure
module
- the moduleelement
- the element contains this structureprotected 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 listCopyright © 2008 Actuate Corp. All rights reserved.