me.xdrop.jrand.model.location.Country Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jrand Show documentation
Show all versions of jrand Show documentation
Java random data generation library
The newest version!
package me.xdrop.jrand.model.location;
public class Country {
private String name;
private String prefix;
private String postalFormat;
private boolean postalFixed;
public Country(String name, String prefix, String postalFormat, boolean postalFixed) {
this.name = name;
this.prefix = prefix;
this.postalFormat = postalFormat;
this.postalFixed = postalFixed;
}
public String getName() {
return name;
}
public String getPrefix() {
return prefix;
}
public String getPostalFormat() {
return postalFormat;
}
public boolean isPostalFixed() {
return postalFixed;
}
}