Bridges-Java  3.4.3
Bridges(Java API)
Public Member Functions | List of all members
bridges.data_src_dependent.GutenbergMeta Class Reference

Detailed Description

Stores the meta data of a book as stored by project Gutenberg.

This object stores the meta data of a book such as its title, author and genre. The meta data come from https://www.gutenberg.org/.

Objects of this type are typically not constructed by the user but returned by a call to our Gutenberg API such as bridges::connect::DataSource::getGutenbergBookMetaData() or bridges::connect::DataSource::getAGutenbergBookMetaData(int).

The object does not contain the text of the book itself. Though it can be obtained using bridges::connect::DataSource::getGutenbergBookText()

A tutorial of how to use the Gutenberg data in BRIDGES is available: https://bridgesuncc.github.io/tutorials/Data_Gutenberg.html

Public Member Functions

 GutenbergMeta ()
 
 GutenbergMeta (int id, String title, String lang, String date, String[] authors, String[] genres, String[] loc)
 
int getId ()
 GutenbergID of the book. More...
 
void setId (int id)
 
String getTitle ()
 Title of the book. More...
 
void setTitle (String title)
 
String getLanguage ()
 language of the book. More...
 
void setLanguage (String lang)
 
String getDate ()
 date at which the book was added to project Gutenberg. More...
 
void setDate (String date)
 
String[] getAuthors ()
 List of authors. More...
 
void setAuthors (String[] authors)
 
String[] getGenres ()
 List of genres. More...
 
void setGenres (String[] genres)
 
String[] getLoc ()
 List of libary of congress classifications. More...
 
void setLoc (String[] loc)
 

Constructor & Destructor Documentation

◆ GutenbergMeta() [1/2]

bridges.data_src_dependent.GutenbergMeta.GutenbergMeta ( )

◆ GutenbergMeta() [2/2]

bridges.data_src_dependent.GutenbergMeta.GutenbergMeta ( int  id,
String  title,
String  lang,
String  date,
String[]  authors,
String[]  genres,
String[]  loc 
)

Member Function Documentation

◆ getAuthors()

String [] bridges.data_src_dependent.GutenbergMeta.getAuthors ( )

List of authors.

◆ getDate()

String bridges.data_src_dependent.GutenbergMeta.getDate ( )

date at which the book was added to project Gutenberg.

This is not a publication date!

◆ getGenres()

String [] bridges.data_src_dependent.GutenbergMeta.getGenres ( )

List of genres.

Note that the genres stored by project Gutenberg may more detailled than one could expect.

◆ getId()

int bridges.data_src_dependent.GutenbergMeta.getId ( )

GutenbergID of the book.

◆ getLanguage()

String bridges.data_src_dependent.GutenbergMeta.getLanguage ( )

language of the book.

Note that translations of a text shows in the translated language and not in the original language.

◆ getLoc()

String [] bridges.data_src_dependent.GutenbergMeta.getLoc ( )

List of libary of congress classifications.

◆ getTitle()

String bridges.data_src_dependent.GutenbergMeta.getTitle ( )

Title of the book.

◆ setAuthors()

void bridges.data_src_dependent.GutenbergMeta.setAuthors ( String[]  authors)

◆ setDate()

void bridges.data_src_dependent.GutenbergMeta.setDate ( String  date)

◆ setGenres()

void bridges.data_src_dependent.GutenbergMeta.setGenres ( String[]  genres)

◆ setId()

void bridges.data_src_dependent.GutenbergMeta.setId ( int  id)

◆ setLanguage()

void bridges.data_src_dependent.GutenbergMeta.setLanguage ( String  lang)

◆ setLoc()

void bridges.data_src_dependent.GutenbergMeta.setLoc ( String[]  loc)

◆ setTitle()

void bridges.data_src_dependent.GutenbergMeta.setTitle ( String  title)

The documentation for this class was generated from the following file: