Since 3.17.0
| Modifier and Type | Field and Description |
|---|---|
| private List | cells
The cells of a notebook. |
| private Object | metadata
Additional metadata stored with the notebook document. |
| private String | notebookType
The type of the notebook. |
| private String | uri
The notebook document's URI. |
| private int | version
The version number of this document (it will increase after each change, including undo/redo). |
| Access | Constructor and Description |
|---|---|
| public | |
| public | NotebookDocument(final String uri, final String notebookType, final int version, final List<NotebookCell> cells)
|
| 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 List | |
| public Object | |
| public String | |
| public String | |
| public int | getVersion()
The version number of this document (it will increase after each change, including undo/redo). |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setVersion(final int version)
The version number of this document (it will increase after each change, including undo/redo). |
| public String |
| cells | back to summary |
|---|---|
| private List<NotebookCell> cells The cells of a notebook. | |
| metadata | back to summary |
|---|---|
| private Object metadata Additional metadata stored with the notebook document. | |
| notebookType | back to summary |
|---|---|
| private String notebookType The type of the notebook. | |
| uri | back to summary |
|---|---|
| private String uri The notebook document's URI. | |
| version | back to summary |
|---|---|
| private int version The version number of this document (it will increase after each change, including undo/redo). | |
| NotebookDocument | back to summary |
|---|---|
| public NotebookDocument() | |
| NotebookDocument | back to summary |
|---|---|
| public NotebookDocument(final String uri, final String notebookType, final int version, final List<NotebookCell> cells) | |
| 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.
| |
| getCells | back to summary |
|---|---|
| public List The cells of a notebook.
| |
| getMetadata | back to summary |
|---|---|
| public Object getMetadata() Additional metadata stored with the notebook document. | |
| getNotebookType | back to summary |
|---|---|
| public String getNotebookType() The type of the notebook.
| |
| getUri | back to summary |
|---|---|
| public String getUri() The notebook document's URI.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() The version number of this document (it will increase after each change, including undo/redo). | |
| 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
| |
| setCells | back to summary |
|---|---|
| public void setCells(final List<NotebookCell> cells) The cells of a notebook. | |
| setMetadata | back to summary |
|---|---|
| public void setMetadata(final Object metadata) Additional metadata stored with the notebook document. | |
| setNotebookType | back to summary |
|---|---|
| public void setNotebookType(final String notebookType) The type of the notebook. | |
| setUri | back to summary |
|---|---|
| public void setUri(final String uri) The notebook document's URI. | |
| setVersion | back to summary |
|---|---|
| public void setVersion(final int version) The version number of this document (it will increase after each change, including undo/redo). | |
| 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-
| |