Chapter

public final class Chapter

Represents a chapter of a novel. These are included in Novel.Info.

Parameters

release

Tell the user what date the chapter was released on. Can be empty.

title

Title of the chapter, should not be empty.

link

Link to the chapter, should be shrunk.

order

Absolute order of a chapter, as declared by a site. Used for sorting. For example. Let us say a site has 10 chapters, listed as such: 1, 2, 3, 5, 6, 10, 8, 9. While the chapters are out of order, it is okay. These will be numbered: 0, 1, 2, 3, 4, 5, 6, 7; in their order value.

See also

Constructors

Link copied to clipboard
public Novel.Chapter Novel.Chapter(String release, String title, String link, Double order)

Properties

Link copied to clipboard
private String link
Link copied to clipboard
private Double order
Link copied to clipboard
private String release
Link copied to clipboard
private String title

Functions

Link copied to clipboard
public final String getLink()
Link copied to clipboard
public final Double getOrder()
Link copied to clipboard
public final String getRelease()
Link copied to clipboard
public final String getTitle()
Link copied to clipboard
public final Unit setLink(String link)
Link copied to clipboard
public final Unit setOrder(Double order)
Link copied to clipboard
public final Unit setRelease(String release)
Link copied to clipboard
public final Unit setTitle(String title)