Class OdaDesignerStateHandle


  • public class OdaDesignerStateHandle
    extends StructureHandle
    The structure handle of the Oda designer state.
    • Constructor Detail

      • OdaDesignerStateHandle

        public OdaDesignerStateHandle​(DesignElementHandle elementHandle,
                                      org.eclipse.birt.report.model.core.StructureContext context)
        Constructs the handle of Oda Designer state.
        Parameters:
        elementHandle - the oda data set element.
        context - context to the structure.
      • OdaDesignerStateHandle

        @Deprecated
        public OdaDesignerStateHandle​(DesignElementHandle elementHandle,
                                      org.eclipse.birt.report.model.core.MemberRef context)
        Deprecated.
        Constructs the handle of Oda Designer state.
        Parameters:
        elementHandle - the oda data set element.
        context - context to the structure
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Returns the version of the designer state's data.
        Returns:
        the version of the designer state's data.
      • setVersion

        public void setVersion​(java.lang.String version)
        Sets the version of the designer state's data.
        Parameters:
        version - the version of the designer state's data.
      • getContentAsBlob

        public byte[] getContentAsBlob()
        Returns the content data as byte arrays.
        Returns:
        the content data as byte arrays.
      • setContentAsBlob

        public void setContentAsBlob​(byte[] contentBlob)
        Sets the content data as byte arrays.
        Parameters:
        contentBlob - the content data as byte arrays.
      • getContentAsString

        public java.lang.String getContentAsString()
        Returns the content data as string.
        Returns:
        the content data as string.
      • setContentAsString

        public void setContentAsString​(java.lang.String contentString)
        Sets the content data as string.
        Parameters:
        contentString - the content data as string.