|
||||||||||
| 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.IncludeScript
public class IncludeScript
This class represents a include script. The class gives the file name of the
include script. Used when a report design ReportDesigngives a file
name of include script in the report design. Each script in report design has
the following properties:
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
IncludeScript()
Default constructor. |
|
IncludeScript(java.lang.String fileName)
Constructs the script with the required file name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Returns file name of the script. |
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
|
java.lang.String |
getStructName()
Returns the name of the structure definition. |
protected StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
|
void |
setFileName(java.lang.String fileName)
Sets the file name of the script. |
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
|
java.util.List |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
|
| 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 INCLUDE_SCRIPT_STRUCT
public static final java.lang.String FILE_NAME_MEMBER
protected java.lang.String fileName
| Constructor Detail |
|---|
public IncludeScript()
public IncludeScript(java.lang.String fileName)
fileName - file name of the script| Method Detail |
|---|
public java.lang.String getStructName()
IStructure
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
getIntrinsicProperty in class org.eclipse.birt.report.model.core.Structure
protected void setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
setIntrinsicProperty in class org.eclipse.birt.report.model.core.Structurepublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - the file name to set
public java.util.List validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
validate in class org.eclipse.birt.report.model.core.Structure
protected StructureHandle handle(SimpleValueHandle valueHandle,
int index)
handle in class org.eclipse.birt.report.model.core.Structure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||