Interface CpfSpec
- All Superinterfaces:
CpfGeneratorSpec,GeneratorSpec<String>,NullableGeneratorSpec<String>,Supplier<String>,ValueSpec<String>
Spec for generating
Brazilian 'Cadastro de Pessoas FĂsicas' (CPF).
- Since:
- 5.0.0
-
Method Summary
-
Method Details
-
formatted
CpfSpec formatted()Format the CPF output. By default, the output is not formatted:'12343598309'In case the formatted is called, the result will be formatted as follows:'123.435.983-09'- Specified by:
formattedin interfaceCpfGeneratorSpec- Returns:
- spec builder
- Since:
- 5.0.0
-
nullable
CpfSpec nullable()Indicates thatnullvalue can be generated.- Specified by:
nullablein interfaceCpfGeneratorSpec- Specified by:
nullablein interfaceNullableGeneratorSpec<String>- Specified by:
nullablein interfaceValueSpec<String>- Returns:
- spec builder
- Since:
- 5.0.0
-