dino.api
Class Notebook

java.lang.Object
  extended by dino.api.Notebook
All Implemented Interfaces:
java.io.Serializable

public class Notebook
extends java.lang.Object
implements java.io.Serializable

The Notebook class is a data transfer object for information about a notebook.

Author:
Don Swartwout
See Also:
Serialized Form

Constructor Summary
Notebook()
           
 
Method Summary
 java.lang.String getId()
          Getter for the notebook id
 java.lang.String getPrimaryNotebookUrl()
          Getter for the base URL of the notebook's primary server
 java.lang.String getTitle()
          Getter for the notebook title
 void setId(java.lang.String id)
          Setter for the notebook id
 void setPrimaryNotebookUrl(java.lang.String primaryNotebookUrl)
          Setter for the base URL of a notebook's primary server
 void setTitle(java.lang.String title)
          Setter for the notebook title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notebook

public Notebook()
Method Detail

getId

public java.lang.String getId()
Getter for the notebook id

Returns:
the notebook's directory-assigned id

setId

public void setId(java.lang.String id)
Setter for the notebook id

Parameters:
id - a notebook id

getTitle

public java.lang.String getTitle()
Getter for the notebook title

Returns:
the notebook's title

setTitle

public void setTitle(java.lang.String title)
Setter for the notebook title

Parameters:
title - a notebook title, for example "blogs I read"

getPrimaryNotebookUrl

public java.lang.String getPrimaryNotebookUrl()
Getter for the base URL of the notebook's primary server

Returns:
the base URL of the primary notebook service for this notebook, for example http::/mypc:8080/dino

setPrimaryNotebookUrl

public void setPrimaryNotebookUrl(java.lang.String primaryNotebookUrl)
Setter for the base URL of a notebook's primary server

Parameters:
primaryNotebookUrl - a notebook service base URL, for example, http::/mypc:8080/dino