Package se.digg.dgc.payload.v1
Class DigitalGreenCertificate
- java.lang.Object
-
- se.digg.dgc.payload.v1.DigitalGreenCertificate
-
public class DigitalGreenCertificate extends Object
Digital Green CertificateProof of vaccination, test results or recovery according to EU eHN, version 1.0, including certificate metadata; According to 1) REGULATION OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL on a framework for the issuance, verification and acceptance of interoperable certificates on vaccination, testing and recovery to facilitate free movement during the COVID-19 pandemic (Digital Green Certificate) - https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52021PC0130 2) Document "Value Sets for the digital green certificate as stated in the Annex ...", abbr. "VS-2021-04-08" - https://webgate.ec.europa.eu/fpfis/wikis/x/05PuKg
-
-
Constructor Summary
Constructors Constructor Description DigitalGreenCertificate()
No args constructor for use in serializationDigitalGreenCertificate(Sub sub, List<Vac> vac, List<Tst> tst, List<Rec> rec, Cert cert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Cert
getCert()
Certificate metadataList<Rec>
getRec()
Recovery statementSub
getSub()
Subject (Required)List<Tst>
getTst()
Test result statementList<Vac>
getVac()
Vaccination/prophylaxis informationint
hashCode()
void
setCert(Cert cert)
Certificate metadatavoid
setRec(List<Rec> rec)
Recovery statementvoid
setSub(Sub sub)
Subject (Required)void
setTst(List<Tst> tst)
Test result statementvoid
setVac(List<Vac> vac)
Vaccination/prophylaxis informationString
toString()
DigitalGreenCertificate
withCert(Cert cert)
DigitalGreenCertificate
withRec(List<Rec> rec)
DigitalGreenCertificate
withSub(Sub sub)
DigitalGreenCertificate
withTst(List<Tst> tst)
DigitalGreenCertificate
withVac(List<Vac> vac)
-
-
-
Method Detail
-
getSub
public Sub getSub()
Subject (Required)
-
setSub
public void setSub(Sub sub)
Subject (Required)
-
withSub
public DigitalGreenCertificate withSub(Sub sub)
-
withVac
public DigitalGreenCertificate withVac(List<Vac> vac)
-
withTst
public DigitalGreenCertificate withTst(List<Tst> tst)
-
withRec
public DigitalGreenCertificate withRec(List<Rec> rec)
-
getCert
public Cert getCert()
Certificate metadata
-
setCert
public void setCert(Cert cert)
Certificate metadata
-
withCert
public DigitalGreenCertificate withCert(Cert cert)
-
-