public static IdentificationStorage getInstance() { if (singletonReference == null) { singletonReference = new IdentificationStorage(); } return(singletonReference); }
public Person(char userType) { id = IdentificationStorage.getInstance().GenerateID(userType); password = "******"; }