* @param format �O�_�榡��.
* @param prefix �O�_�[�W�e�m�r.
* @return �^�Ƿs���ͤ������ѧO�N�X.
*/
public static String nextId(boolean format, boolean prefix) {
UUID uuid = UUIdTK.generateNextId();
String uuidResult = null;
try{
// �P�_�O�_�ݭn�榡��
if (format) {
uuidResult = uuid.toString();
} else {
byte[] data = uuid.getRawBytes();
uuidResult = new String(HexTK.encode(data));
}
// �P�_�O�_�ݭn�[�W�e�m�r
if (prefix) {