A Shakespeare Data source object containing sonnets, poems and plays.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
One would not normally create an object of this type but rather get one by calling bridges::connect::DataSource::getShakespeareData()
Refer to the tutorial on how to use this dataset: https://bridgesuncc.github.io/tutorials/Data_Shakespeare.html
- Author
- Kalpathi Subramanian
- Date
- 2/1/17, 12/26/20
◆ Shakespeare() [1/2]
bridges.data_src_dependent.Shakespeare.Shakespeare |
( |
| ) |
|
◆ Shakespeare() [2/2]
bridges.data_src_dependent.Shakespeare.Shakespeare |
( |
String |
title, |
|
|
String |
type, |
|
|
String |
text |
|
) |
| |
Constructor
- Parameters
-
title | title of sonnet, play or poem |
type | (sonnet, play or poem) |
text | full text of entity |
◆ getText()
String bridges.data_src_dependent.Shakespeare.getText |
( |
| ) |
|
Get full text of sonnet, play or poem
- Returns
- full text (string)
◆ getTitle()
String bridges.data_src_dependent.Shakespeare.getTitle |
( |
| ) |
|
Get title of sonnet, play or poem
- Returns
- title (string)
◆ getType()
String bridges.data_src_dependent.Shakespeare.getType |
( |
| ) |
|
Get type of sonnet, play or poem
- Returns
- type (string)
◆ setText()
void bridges.data_src_dependent.Shakespeare.setText |
( |
String |
text | ) |
|
set full text of sonnet, play or poem
- Parameters
-
text | full text (string) to be set |
◆ setTitle()
void bridges.data_src_dependent.Shakespeare.setTitle |
( |
String |
title | ) |
|
set title of sonnet, play or poem
- Parameters
-
◆ setType()
void bridges.data_src_dependent.Shakespeare.setType |
( |
String |
type | ) |
|
set type to sonnet, play or poem
- Parameters
-
◆ text
String bridges.data_src_dependent.Shakespeare.text |
|
package |
◆ type
String bridges.data_src_dependent.Shakespeare.type |
|
package |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-java/src/main/java/bridges/data_src_dependent/Shakespeare.java