|
||||||||||
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.TimeInterval
public class TimeInterval
Time interval structure.
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
TimeInterval()
|
Method Summary | |
---|---|
StructureHandle |
getHandle(SimpleValueHandle valueHandle)
|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
|
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)
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
|
void |
setMeasure(int measure)
Sets the measure value. |
void |
setUnit(java.lang.String unit)
Sets the unit of the time interval. |
Methods inherited from class org.eclipse.birt.report.model.core.Structure |
---|
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, validate |
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 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
Constructor Detail |
---|
public TimeInterval()
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.Structure
protected StructureHandle handle(SimpleValueHandle valueHandle, int index)
handle
in class org.eclipse.birt.report.model.core.Structure
public StructureHandle getHandle(SimpleValueHandle valueHandle)
getHandle
in class org.eclipse.birt.report.model.core.Structure
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |