Package be.gaudry.model.eid
Class VirtualBeID
java.lang.Object
be.gaudry.model.eid.VirtualBeID
VirtualBeID allows returning all original BeID card data objects into one object.
- Since:
- 1.0 Oct 24, 2010, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
- See Also:
IDData
,IDAddress
,IDPhoto
,IDVersion
,CertificateChain
-
Constructor Summary
ConstructorDescriptionVirtualBeID(boolean originalPhysicalCardData)
VirtualBeID(be.belgium.eid.objects.IDData beIDData, be.belgium.eid.objects.IDAddress beIDAddress, be.belgium.eid.objects.IDPhoto beIDPhoto, be.belgium.eid.objects.IDVersion beIDVersionInfo, be.belgium.eid.security.CertificateChain beIDCertificateChain, boolean originalPhysicalCardData)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finalize()
be.belgium.eid.objects.IDAddress
be.belgium.eid.security.CertificateChain
be.belgium.eid.objects.IDData
be.belgium.eid.objects.IDPhoto
be.belgium.eid.objects.IDVersion
getPhoto()
boolean
true ONLY if the data comes directly from the physical card.void
reset()
Resets all fields tonull
void
setBeIDAddress(be.belgium.eid.objects.IDAddress beIDAddress)
void
setBeIDCertificateChain(be.belgium.eid.security.CertificateChain beIDCertificateChain)
void
setBeIDData(be.belgium.eid.objects.IDData beIDData)
void
setBeIDPhoto(be.belgium.eid.objects.IDPhoto beIDPhoto)
void
setBeIDVersionInfo(be.belgium.eid.objects.IDVersion beIDVersionInfo)
void
setEidDocumentVersion(EidDocumentVersion eidDocumentVersion)
void
setOriginalPhysicalCardData(boolean originalPhysicalCardData)
void
void
-
Constructor Details
-
VirtualBeID
public VirtualBeID(boolean originalPhysicalCardData)- Parameters:
originalPhysicalCardData
-- See Also:
isOriginalPhysicalCardData()
-
VirtualBeID
public VirtualBeID(be.belgium.eid.objects.IDData beIDData, be.belgium.eid.objects.IDAddress beIDAddress, be.belgium.eid.objects.IDPhoto beIDPhoto, be.belgium.eid.objects.IDVersion beIDVersionInfo, be.belgium.eid.security.CertificateChain beIDCertificateChain, boolean originalPhysicalCardData)- Parameters:
beIDData
-beIDAddress
-beIDPhoto
-beIDVersionInfo
-beIDCertificateChain
-originalPhysicalCardData
-- See Also:
isOriginalPhysicalCardData()
-
-
Method Details
-
getPhoto
- Returns:
- the photo
-
setPhoto
- Parameters:
photo
- the photo to set
-
finalize
-
reset
public void reset()Resets all fields tonull
-
getBeIDData
public be.belgium.eid.objects.IDData getBeIDData()- Returns:
- the beIDData
-
setBeIDData
public void setBeIDData(be.belgium.eid.objects.IDData beIDData)- Parameters:
beIDData
- the beIDData to set
-
getBeIDAddress
public be.belgium.eid.objects.IDAddress getBeIDAddress()- Returns:
- the beIDAddress
-
setBeIDAddress
public void setBeIDAddress(be.belgium.eid.objects.IDAddress beIDAddress)- Parameters:
beIDAddress
- the beIDAddress to set
-
getBeIDPhoto
public be.belgium.eid.objects.IDPhoto getBeIDPhoto()- Returns:
- the beIDPhoto
-
setBeIDPhoto
public void setBeIDPhoto(be.belgium.eid.objects.IDPhoto beIDPhoto)- Parameters:
beIDPhoto
- the beIDPhoto to set
-
getBeIDVersionInfo
public be.belgium.eid.objects.IDVersion getBeIDVersionInfo()- Returns:
- the beIDVersionInfo
-
setBeIDVersionInfo
public void setBeIDVersionInfo(be.belgium.eid.objects.IDVersion beIDVersionInfo)- Parameters:
beIDVersionInfo
- the beIDVersionInfo to set
-
getBeIDCertificateChain
public be.belgium.eid.security.CertificateChain getBeIDCertificateChain()- Returns:
- the beIDCertificateChain
-
setBeIDCertificateChain
public void setBeIDCertificateChain(be.belgium.eid.security.CertificateChain beIDCertificateChain)- Parameters:
beIDCertificateChain
- the beIDCertificateChain to set
-
getEidDocumentVersion
- Returns:
- the eidDocumentVersion
-
setEidDocumentVersion
- Parameters:
eidDocumentVersion
- the eidDocumentVersion to set
-
isOriginalPhysicalCardData
public boolean isOriginalPhysicalCardData()true ONLY if the data comes directly from the physical card. If the data was modified by the GUI, or the data is read from a backup file that could have been edited, the return value is false- Returns:
- the originalPhysicalCardData
-
setOriginalPhysicalCardData
public void setOriginalPhysicalCardData(boolean originalPhysicalCardData)- Parameters:
originalPhysicalCardData
- the originalPhysicalCardData to set- See Also:
isOriginalPhysicalCardData()
-
getPseudo
- Returns:
- the pseudo
-
setPseudo
- Parameters:
pseudo
- the pseudo to set
-