com.github.javafaker.Educator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.apio.architect.sample
Show all versions of com.liferay.apio.architect.sample
Liferay Apio Architect Sample
package com.github.javafaker;
public class Educator {
private final Faker faker;
Educator(Faker faker) {
this.faker = faker;
}
// TODO - move these all out to en.yml by default.
public String university() {
return faker.fakeValuesService().resolve("educator.name", this, faker)
+ " "
+ faker.fakeValuesService().resolve("educator.tertiary.type", this, faker);
}
public String course() {
return faker.fakeValuesService().resolve("educator.tertiary.course.type", this, faker)
+ " "
+ faker.fakeValuesService().resolve("educator.tertiary.course.subject", this, faker);
}
public String secondarySchool() {
return faker.fakeValuesService().resolve("educator.name", this, faker)
+ " "
+ faker.fakeValuesService().resolve("educator.secondary", this, faker);
}
public String campus() {
return faker.fakeValuesService().resolve("educator.name", this, faker) + " Campus";
}
}