Class NumberFormatValue
- java.lang.Object
-
- org.eclipse.birt.report.model.core.Structure
-
- org.eclipse.birt.report.model.api.elements.structures.FormatValue
-
- org.eclipse.birt.report.model.api.elements.structures.NumberFormatValue
-
- All Implemented Interfaces:
java.lang.Cloneable
,IStructure
,org.eclipse.birt.report.model.core.IPropertySet
public class NumberFormatValue extends FormatValue
The format value for the number like integer, float, etc.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FORMAT_VALUE_STRUCT
Name of this structure.-
Fields inherited from class org.eclipse.birt.report.model.api.elements.structures.FormatValue
CATEGORY_MEMBER, LOCALE_MEMBER, PATTERN_MEMBER
-
-
Constructor Summary
Constructors Constructor Description NumberFormatValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructureHandle
getHandle(SimpleValueHandle valueHandle)
Return anFormatValueHandle
to deal with the number format.java.lang.String
getStructName()
Returns the name of the structure definition.StructureHandle
handle(SimpleValueHandle valueHandle, int index)
Creates the specific handle of this structure.-
Methods inherited from class org.eclipse.birt.report.model.api.elements.structures.FormatValue
getCategory, getIntrinsicProperty, getLocale, getPattern, setCategory, setIntrinsicProperty, setLocale, setPattern, toString
-
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
-
-
-
-
Field Detail
-
FORMAT_VALUE_STRUCT
public static final java.lang.String FORMAT_VALUE_STRUCT
Name of this structure. Matches the definition in the meta-data dictionary.- See Also:
- Constant Field Values
-
-
Method Detail
-
getStructName
public java.lang.String getStructName()
Description copied from interface:IStructure
Returns the name of the structure definition. The name is the one used to define the structure in the meta-data dictionary.- Specified by:
getStructName
in interfaceIStructure
- Overrides:
getStructName
in classFormatValue
- Returns:
- the internal name of the structure a defined in the meta-data dictionary.
-
handle
public StructureHandle handle(SimpleValueHandle valueHandle, int index)
Description copied from class:org.eclipse.birt.report.model.core.Structure
Creates the specific handle of this structure. This handle is always created.- Overrides:
handle
in classFormatValue
- Parameters:
valueHandle
- the value handle of this structure list property this structure is inindex
- the position of this structure in structure list- Returns:
- the handle of this structure.
-
getHandle
public StructureHandle getHandle(SimpleValueHandle valueHandle)
Return anFormatValueHandle
to deal with the number format.- Overrides:
getHandle
in classFormatValue
- Parameters:
valueHandle
- the property or member handle- Returns:
- the structure handle
-
-