Certificate Model
public final class CertificateModel
Content copied to clipboard
This data class represents the entire information extracted, through QR scan, from the certification to validate. This information is the person owner of the certification, her/his dateOfBirth, eventual vaccinations, tests, or recoveryStatements to which was subjected, if the certification isValid and if isCborDecoded.
Constructors
CertificateModel
Link copied to clipboard
CertificateModel CertificateModel(PersonModel person, String dateOfBirth, List<VaccinationModel> vaccinations, List<TestModel> tests, List<RecoveryModel> recoveryStatements, Boolean isValid, Boolean isCborDecoded, Boolean isRevoked, List<Exemption> exemptions, Boolean isBlackListed, String scanMode, String certificateIdentifier, Certificate certificate)
Content copied to clipboard
Functions
getCertificate
Link copied to clipboard
getCertificateIdentifier
Link copied to clipboard
getDateOfBirth
Link copied to clipboard
getExemptions
Link copied to clipboard
getIsBlackListed
Link copied to clipboard
getIsCborDecoded
Link copied to clipboard
getIsRevoked
Link copied to clipboard
getIsValid
Link copied to clipboard
getPerson
Link copied to clipboard
getRecoveryStatements
Link copied to clipboard
getScanMode
Link copied to clipboard
getVaccinations
Link copied to clipboard
setCertificate
Link copied to clipboard
setCertificateIdentifier
Link copied to clipboard
setExemptions
Link copied to clipboard
setIsBlackListed
Link copied to clipboard
setIsRevoked
Link copied to clipboard
setScanMode
Link copied to clipboard
Properties
certificate
Link copied to clipboard
certificateIdentifier
Link copied to clipboard
dateOfBirth
Link copied to clipboard
exemptions
Link copied to clipboard
isBlackListed
Link copied to clipboard
isCborDecoded
Link copied to clipboard
person
Link copied to clipboard
recoveryStatements
Link copied to clipboard
vaccinations
Link copied to clipboard
Extensions
toCertificateViewBean
Link copied to clipboard
final CertificateViewBean toCertificateViewBean(CertificateStatus status)
Content copied to clipboard