Class RidGeneratorImpl
java.lang.Object
io.mosip.kernel.idgenerator.rid.impl.RidGeneratorImpl
- All Implemented Interfaces:
RidGenerator<String>
This class generate 28 digits registration id.
- Since:
- 1.0.0
- Author:
- Ritesh Sinha, Sidhant Agarwal, Abhishek Kumar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateId(String centreId, String machineId) generateId(String centreId, String machineId, int centerIdLength, int machineIdLength, int sequenceLength, int timeStampLength)
-
Constructor Details
-
RidGeneratorImpl
public RidGeneratorImpl()
-
-
Method Details
-
generateId
- Specified by:
generateIdin interfaceRidGenerator<String>
-
generateId
public String generateId(String centreId, String machineId, int centerIdLength, int machineIdLength, int sequenceLength, int timeStampLength) - Specified by:
generateIdin interfaceRidGenerator<String>
-