A cell's document URI must be unique across ALL notebook cells and can therefore be used to uniquely identify a notebook cell or the cell's text document.
Since 3.17.0
| Modifier and Type | Field and Description |
|---|---|
| private String | document
The URI of the cell's text document content. |
| private ExecutionSummary | executionSummary
Additional execution summary information if supported by the client. |
| private NotebookCellKind | kind
The cell's kind |
| private Object | metadata
Additional metadata stored with the cell. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public ExecutionSummary | |
| public NotebookCellKind | |
| public Object | |
| public int | |
| public void | |
| public void | setExecutionSummary(final ExecutionSummary executionSummary)
Additional execution summary information if supported by the client. |
| public void | |
| public void | |
| public String |
| document | back to summary |
|---|---|
| private String document The URI of the cell's text document content. | |
| executionSummary | back to summary |
|---|---|
| private ExecutionSummary executionSummary Additional execution summary information if supported by the client. | |
| kind | back to summary |
|---|---|
| private NotebookCellKind kind The cell's kind | |
| metadata | back to summary |
|---|---|
| private Object metadata Additional metadata stored with the cell. | |
| NotebookCell | back to summary |
|---|---|
| public NotebookCell() | |
| NotebookCell | back to summary |
|---|---|
| public NotebookCell(final NotebookCellKind kind, final String document) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDocument | back to summary |
|---|---|
| public String getDocument() The URI of the cell's text document content.
| |
| getExecutionSummary | back to summary |
|---|---|
| public ExecutionSummary getExecutionSummary() Additional execution summary information if supported by the client. | |
| getKind | back to summary |
|---|---|
| public NotebookCellKind getKind() The cell's kind
| |
| getMetadata | back to summary |
|---|---|
| public Object getMetadata() Additional metadata stored with the cell. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setDocument | back to summary |
|---|---|
| public void setDocument(final String document) The URI of the cell's text document content. | |
| setExecutionSummary | back to summary |
|---|---|
| public void setExecutionSummary(final ExecutionSummary executionSummary) Additional execution summary information if supported by the client. | |
| setKind | back to summary |
|---|---|
| public void setKind(final NotebookCellKind kind) The cell's kind | |
| setMetadata | back to summary |
|---|---|
| public void setMetadata(final Object metadata) Additional metadata stored with the cell. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |