Package se.digg.dgc.payload.v1
Class Eudcc
- java.lang.Object
-
- se.digg.dgc.payload.v1.Eudcc
-
- Direct Known Subclasses:
DigitalCovidCertificate
@Generated("jsonschema2pojo") public class Eudcc extends Object
EU DCCEU Digital Covid Certificate Schema version 1.3.0
-
-
Constructor Summary
Constructors Constructor Description Eudcc()No args constructor for use in serializationEudcc(String ver, PersonName nam, String dob, List<VaccinationEntry> v, List<TestEntry> t, List<RecoveryEntry> r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetDob()Date of birthPersonNamegetNam()Person name: Surname(s), forename(s) - in that orderList<RecoveryEntry>getR()Recovery GroupList<TestEntry>getT()Test GroupList<VaccinationEntry>getV()Vaccination GroupStringgetVer()Schema versioninthashCode()voidsetDob(String dob)Date of birthvoidsetNam(PersonName nam)Person name: Surname(s), forename(s) - in that ordervoidsetR(List<RecoveryEntry> r)Recovery GroupvoidsetT(List<TestEntry> t)Test GroupvoidsetV(List<VaccinationEntry> v)Vaccination GroupvoidsetVer(String ver)Schema versionStringtoString()EudccwithDob(String dob)EudccwithNam(PersonName nam)EudccwithR(List<RecoveryEntry> r)EudccwithT(List<TestEntry> t)EudccwithV(List<VaccinationEntry> v)EudccwithVer(String ver)
-
-
-
Constructor Detail
-
Eudcc
public Eudcc()
No args constructor for use in serialization
-
Eudcc
public Eudcc(String ver, PersonName nam, String dob, List<VaccinationEntry> v, List<TestEntry> t, List<RecoveryEntry> r)
- Parameters:
ver-r-t-dob-v-nam-
-
-
Method Detail
-
getVer
public String getVer()
Schema versionVersion of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)
-
setVer
public void setVer(String ver)
Schema versionVersion of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)
-
getNam
public PersonName getNam()
Person name: Surname(s), forename(s) - in that order
-
setNam
public void setNam(PersonName nam)
Person name: Surname(s), forename(s) - in that order
-
withNam
public Eudcc withNam(PersonName nam)
-
getDob
public String getDob()
Date of birthDate of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty
-
setDob
public void setDob(String dob)
Date of birthDate of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty
-
getV
public List<VaccinationEntry> getV()
Vaccination Group
-
setV
public void setV(List<VaccinationEntry> v)
Vaccination Group
-
withV
public Eudcc withV(List<VaccinationEntry> v)
-
getR
public List<RecoveryEntry> getR()
Recovery Group
-
setR
public void setR(List<RecoveryEntry> r)
Recovery Group
-
withR
public Eudcc withR(List<RecoveryEntry> r)
-
-