public class TimeIntervalHandle extends StructureHandle
structContextelementHandle| 构造器和说明 |
|---|
TimeIntervalHandle(DesignElementHandle element,
org.eclipse.birt.report.model.core.StructureContext context)
Constructs the handle of time interval.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getMeasure()
Returns the measure value.
|
java.lang.String |
getUnit()
Returns the unit of the time interval.
|
void |
setMeasure(int measure)
Sets the measure value.
|
void |
setUnit(java.lang.String unit)
Sets the unit of the time interval.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilentlygetReferencegetDesign, getElement, getElementHandle, getModulepublic TimeIntervalHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.StructureContext context)
element - the handle of the element which defines the structurecontext - the context of this structurepublic void setMeasure(int measure)
throws SemanticException
measure - the measure value to setSemanticExceptionpublic int getMeasure()
public void setUnit(java.lang.String unit)
throws SemanticException
DesignChoiceConstants:
INTERVAL_SECOND
INTERVAL_MINUTE
INTERVAL_HOUR
unit - the unit to setSemanticExceptionpublic java.lang.String getUnit()
DesignChoiceConstants:
INTERVAL_SECOND
INTERVAL_MINUTE
INTERVAL_HOUR
Copyright © 2008 Actuate Corp. All rights reserved.