MCPcopy Create free account
hub / github.com/DiUS/java-faker / Book

Class Book

src/main/java/com/github/javafaker/Book.java:3–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package com.github.javafaker;
2
3public class Book {
4 private final Faker faker;
5
6 protected Book(Faker faker) {
7 this.faker = faker;
8 }
9
10 public String author() {
11 return faker.fakeValuesService().resolve("book.author", this, faker);
12 }
13
14 public String title() {
15 return faker.fakeValuesService().resolve("book.title", this, faker);
16 }
17
18 public String publisher() {
19 return faker.fakeValuesService().resolve("book.publisher", this, faker);
20 }
21
22 public String genre() {
23 return faker.fakeValuesService().resolve("book.genre", this, faker);
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected