public class PlNationalIdentificationNumberProvider extends Object implements NationalIdentificationNumberProvider
Universal Electronic System for Registration of the Population) More info: http://en.wikipedia.org/wiki/PESEL
| Constructor and Description |
|---|
PlNationalIdentificationNumberProvider(DateProducer dateProducer,
BaseProducer baseProducer,
NationalIdentificationNumberProperties.Property... properties) |
| Modifier and Type | Method and Description |
|---|---|
NationalIdentificationNumber |
get() |
static boolean |
isValid(String nationalIdentificationNumber) |
void |
setIssueDate(LocalDate issueDate) |
void |
setSex(Person.Sex sex) |
void |
with(NationalIdentificationNumberProperties.Property[] properties) |
@Inject public PlNationalIdentificationNumberProvider(DateProducer dateProducer, BaseProducer baseProducer, NationalIdentificationNumberProperties.Property... properties)
public void with(NationalIdentificationNumberProperties.Property[] properties)
public NationalIdentificationNumber get()
get in interface NationalIdentificationNumberProviderget in interface javax.inject.Provider<NationalIdentificationNumber>public void setIssueDate(LocalDate issueDate)
setIssueDate in interface NationalIdentificationNumberProviderpublic void setSex(Person.Sex sex)
setSex in interface NationalIdentificationNumberProviderpublic static boolean isValid(String nationalIdentificationNumber)
nationalIdentificationNumber - National Identification Number (PESEL)Copyright © 2022. All rights reserved.