Class DateFormatValue

  • All Implemented Interfaces:
    java.lang.Cloneable, IStructure, org.eclipse.birt.report.model.core.IPropertySet

    public class DateFormatValue
    extends FormatValue
    The format value for the data.
    • 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
    • Constructor Detail

      • DateFormatValue

        public DateFormatValue()
    • 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 interface IStructure
        Overrides:
        getStructName in class FormatValue
        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 class FormatValue
        Parameters:
        valueHandle - the value handle of this structure list property this structure is in
        index - the position of this structure in structure list
        Returns:
        the handle of this structure.
      • getHandle

        public StructureHandle getHandle​(SimpleValueHandle valueHandle)
        Return an FormatValueHandle to deal with the date-time format.
        Overrides:
        getHandle in class FormatValue
        Parameters:
        valueHandle - the property or member handle
        Returns:
        the structure handle