Class NotebookCell


  • public final class NotebookCell
    extends Object
    Notebook cell.
    • Constructor Detail

      • NotebookCell

        public NotebookCell()
    • Method Detail

      • getCellType

        public String getCellType()
        Get the cellType property: String identifying the type of cell.
        Returns:
        the cellType value.
      • setCellType

        public NotebookCell setCellType​(String cellType)
        Set the cellType property: String identifying the type of cell.
        Parameters:
        cellType - the cellType value to set.
        Returns:
        the NotebookCell object itself.
      • getMetadata

        public Object getMetadata()
        Get the metadata property: Cell-level metadata.
        Returns:
        the metadata value.
      • setMetadata

        public NotebookCell setMetadata​(Object metadata)
        Set the metadata property: Cell-level metadata.
        Parameters:
        metadata - the metadata value to set.
        Returns:
        the NotebookCell object itself.
      • getSource

        public List<String> getSource()
        Get the source property: Contents of the cell, represented as an array of lines.
        Returns:
        the source value.
      • setSource

        public NotebookCell setSource​(List<String> source)
        Set the source property: Contents of the cell, represented as an array of lines.
        Parameters:
        source - the source value to set.
        Returns:
        the NotebookCell object itself.
      • getAttachments

        public Object getAttachments()
        Get the attachments property: Attachments associated with the cell.
        Returns:
        the attachments value.
      • setAttachments

        public NotebookCell setAttachments​(Object attachments)
        Set the attachments property: Attachments associated with the cell.
        Parameters:
        attachments - the attachments value to set.
        Returns:
        the NotebookCell object itself.
      • getOutputs

        public List<NotebookCellOutputItem> getOutputs()
        Get the outputs property: Cell-level output items.
        Returns:
        the outputs value.
      • setOutputs

        public NotebookCell setOutputs​(List<NotebookCellOutputItem> outputs)
        Set the outputs property: Cell-level output items.
        Parameters:
        outputs - the outputs value to set.
        Returns:
        the NotebookCell object itself.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Get the additionalProperties property: Notebook cell.
        Returns:
        the additionalProperties value.
      • setAdditionalProperties

        public NotebookCell setAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Notebook cell.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the NotebookCell object itself.