public class TimeInterval
extends org.eclipse.birt.report.model.core.Structure
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
measure
Value of the measure.
|
static java.lang.String |
MEASURE_MEMBER
Name of the measure member.
|
static java.lang.String |
STRUCTURE_NAME
Name of the structure.
|
protected java.lang.String |
unit
Value of the unit.
|
static java.lang.String |
UNIT_MEMBER
Name of the unit member.
|
| 构造器和说明 |
|---|
TimeInterval() |
| 限定符和类型 | 方法和说明 |
|---|---|
StructureHandle |
getHandle(SimpleValueHandle valueHandle)
Gets the specific handle of this structure.
|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
int |
getMeasure()
Returns the measure value.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
java.lang.String |
getUnit()
Returns the unit of the time interval.
|
protected 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 |
setMeasure(int measure)
Sets the measure value.
|
void |
setUnit(java.lang.String unit)
Sets the unit of the time interval.
|
checkStringMember, copy, equals, getCompatibleValue, getContext, getDefn, getElement, getExpressionProperty, getHandle, getLocalProperty, getLocalProperty, getMemberDefn, getObjectDefn, getProperty, getProperty, getReferencableProperty, getStringProperty, isDesignTime, isReferencable, setContext, setExpressionProperty, setProperty, setProperty, setupContext, updateReference, validatepublic static final java.lang.String STRUCTURE_NAME
public static final java.lang.String MEASURE_MEMBER
public static final java.lang.String UNIT_MEMBER
protected int measure
protected java.lang.String unit
public 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 valueprotected 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 listpublic StructureHandle getHandle(SimpleValueHandle valueHandle)
org.eclipse.birt.report.model.core.StructuregetHandle 在类中 org.eclipse.birt.report.model.core.StructurevalueHandle - the value handle of this structure list property this
structure is invalueHandle,null is returned.public void setMeasure(int measure)
measure - the measure value to setpublic int getMeasure()
public void setUnit(java.lang.String unit)
DesignChoiceConstants:
INTERVAL_SECOND
INTERVAL_MINUTE
INTERVAL_HOUR
unit - the unit to setpublic java.lang.String getUnit()
DesignChoiceConstants:
INTERVAL_SECOND
INTERVAL_MINUTE
INTERVAL_HOUR
Copyright © 2008 Actuate Corp. All rights reserved.