26 lines
649 B
Java
26 lines
649 B
Java
package com.github.javafaker;
|
|
|
|
public class StarTrek {
|
|
private final Faker faker;
|
|
|
|
protected StarTrek(Faker faker) {
|
|
this.faker = faker;
|
|
}
|
|
|
|
public String character() {
|
|
return faker.fakeValuesService().resolve("star_trek.character", this, faker);
|
|
}
|
|
|
|
public String location() {
|
|
return faker.fakeValuesService().resolve("star_trek.location", this, faker);
|
|
}
|
|
|
|
public String specie() {
|
|
return faker.fakeValuesService().resolve("star_trek.specie", this, faker);
|
|
}
|
|
|
|
public String villain() {
|
|
return faker.fakeValuesService().resolve("star_trek.villain", this, faker);
|
|
}
|
|
}
|