com.github.javafaker.Medical Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javafaker Show documentation
Show all versions of javafaker Show documentation
This library is a port of Ruby's stympy/faker gem (as well as Perl's Data::Faker library) that generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
package com.github.javafaker;
public class Medical {
private final Faker faker;
protected Medical(Faker faker) {
this.faker = faker;
}
public String medicineName() {
return faker.fakeValuesService().resolve("medical.medicine_name", this, faker);
}
public String diseaseName() {
return faker.fakeValuesService().resolve("medical.disease_name", this, faker);
}
public String hospitalName() {
return faker.fakeValuesService().resolve("medical.hospital_name", this, faker);
}
public String symptoms() {
return faker.fakeValuesService().resolve("medical.symptoms", this, faker);
}
}