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

Detailed Description

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

Public Member Functions

 Shakespeare ()
 
 Shakespeare (String title, String type, String text)
 
String getTitle ()
 
void setTitle (String title)
 
String getType ()
 
void setType (String type)
 
String getText ()
 
void setText (String text)
 

Package Attributes

String type
 
String text
 

Constructor & Destructor Documentation

◆ Shakespeare() [1/2]

bridges.data_src_dependent.Shakespeare.Shakespeare ( )

Constructor

◆ Shakespeare() [2/2]

bridges.data_src_dependent.Shakespeare.Shakespeare ( String  title,
String  type,
String  text 
)

Constructor

Parameters
titletitle of sonnet, play or poem
type(sonnet, play or poem)
textfull text of entity

Member Function Documentation

◆ 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
textfull text (string) to be set

◆ setTitle()

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

set title of sonnet, play or poem

Parameters
title(string) to be set

◆ setType()

void bridges.data_src_dependent.Shakespeare.setType ( String  type)

set type to sonnet, play or poem

Parameters
type(string) to be set

Member Data Documentation

◆ 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: