au.gov.amsa.sgb.decoder.internal.json.MyField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sgb-decoder Show documentation
Show all versions of sgb-decoder Show documentation
Decodes second generation Beacon detection messages and Beacon 23 Hex IDs
The newest version!
package au.gov.amsa.sgb.decoder.internal.json;
final class MyField {
private final String name;
private final String javaType;
private final boolean required;
MyField(String name, String javaType, boolean required) {
this.name = name;
this.javaType = javaType;
this.required = required;
}
String name() {
return name;
}
String javaType() {
return javaType;
}
boolean isRequired() {
return required;
}
}