public class BookDummy extends Object
Modifier and Type | Method and Description |
---|---|
String |
genre()
Provides a random genre
|
String |
genreFiction()
Provides a random genre from the fiction category
|
String |
genreNonFiction()
Provides a random genre from the non-fiction category
|
String |
publisher()
Generates a random publisher
|
String |
publisherFiction()
Generates a random publisher name suitable for fiction genres.
|
String |
publisherNonFiction()
Generates a random publisher name suitable for non-fiction genres.
|
String |
title()
Generates a random book title.
|
public BookDummy(Dummy4j dummy)
public String title()
"The Daughters of the Past"
public String genre()
public String genreFiction()
public String genreNonFiction()
public String publisher()
public String publisherNonFiction()
North Willismouth University Press
public String publisherFiction()
Richardson Publishing
Copyright © 2021. All rights reserved.