com.evernote.edam.type
Class BusinessNotebook

java.lang.Object
  extended by com.evernote.edam.type.BusinessNotebook
All Implemented Interfaces:
TBase<BusinessNotebook>, Serializable, Cloneable, Comparable<BusinessNotebook>

public class BusinessNotebook
extends Object
implements TBase<BusinessNotebook>, Serializable, Cloneable

If a Notebook contained in an Evernote Business account has been published the to business library, the Notebook will have a reference to one of these structures, which specifies how the Notebook will be represented in the library.

notebookDescription
A short description of the notebook's content that will be displayed in the business library user interface. The description may not begin or end with whitespace.
Length: EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN - EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX
Regex: EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX
privilege
The privileges that will be granted to users who join the notebook through the business library.
recommended
Whether the notebook should be "recommended" when displayed in the business library user interface.

See Also:
Serialized Form

Constructor Summary
BusinessNotebook()
           
BusinessNotebook(BusinessNotebook other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(BusinessNotebook other)
           
 BusinessNotebook deepCopy()
          Creates a deep copy of the object.
 boolean equals(BusinessNotebook that)
           
 boolean equals(Object that)
           
 String getNotebookDescription()
           
 SharedNotebookPrivilegeLevel getPrivilege()
           
 int hashCode()
           
 boolean isRecommended()
           
 boolean isSetNotebookDescription()
          Returns true if field notebookDescription is set (has been asigned a value) and false otherwise
 boolean isSetPrivilege()
          Returns true if field privilege is set (has been asigned a value) and false otherwise
 boolean isSetRecommended()
          Returns true if field recommended is set (has been asigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setNotebookDescription(String notebookDescription)
           
 void setNotebookDescriptionIsSet(boolean value)
           
 void setPrivilege(SharedNotebookPrivilegeLevel privilege)
           
 void setPrivilegeIsSet(boolean value)
           
 void setRecommended(boolean recommended)
           
 void setRecommendedIsSet(boolean value)
           
 String toString()
           
 void unsetNotebookDescription()
           
 void unsetPrivilege()
           
 void unsetRecommended()
           
 void validate()
           
 void write(TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BusinessNotebook

public BusinessNotebook()

BusinessNotebook

public BusinessNotebook(BusinessNotebook other)
Performs a deep copy on other.

Method Detail

deepCopy

public BusinessNotebook deepCopy()
Description copied from interface: TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface TBase<BusinessNotebook>

clear

public void clear()
Description copied from interface: TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface TBase<BusinessNotebook>

getNotebookDescription

public String getNotebookDescription()

setNotebookDescription

public void setNotebookDescription(String notebookDescription)

unsetNotebookDescription

public void unsetNotebookDescription()

isSetNotebookDescription

public boolean isSetNotebookDescription()
Returns true if field notebookDescription is set (has been asigned a value) and false otherwise


setNotebookDescriptionIsSet

public void setNotebookDescriptionIsSet(boolean value)

getPrivilege

public SharedNotebookPrivilegeLevel getPrivilege()
See Also:
SharedNotebookPrivilegeLevel

setPrivilege

public void setPrivilege(SharedNotebookPrivilegeLevel privilege)
See Also:
SharedNotebookPrivilegeLevel

unsetPrivilege

public void unsetPrivilege()

isSetPrivilege

public boolean isSetPrivilege()
Returns true if field privilege is set (has been asigned a value) and false otherwise


setPrivilegeIsSet

public void setPrivilegeIsSet(boolean value)

isRecommended

public boolean isRecommended()

setRecommended

public void setRecommended(boolean recommended)

unsetRecommended

public void unsetRecommended()

isSetRecommended

public boolean isSetRecommended()
Returns true if field recommended is set (has been asigned a value) and false otherwise


setRecommendedIsSet

public void setRecommendedIsSet(boolean value)

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(BusinessNotebook that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(BusinessNotebook other)
Specified by:
compareTo in interface Comparable<BusinessNotebook>

read

public void read(TProtocol iprot)
          throws TException
Description copied from interface: TBase
Reads an instance of the object from the given protocol.

Specified by:
read in interface TBase<BusinessNotebook>
Parameters:
iprot - Input protocol
Throws:
TException

write

public void write(TProtocol oprot)
           throws TException
Description copied from interface: TBase
Writes the object to the given protocol.

Specified by:
write in interface TBase<BusinessNotebook>
Parameters:
oprot - Output protocol
Throws:
TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws TException
Throws:
TException


Copyright © 2013. All Rights Reserved.