class SequenceIdUtil {

    public String createSequenceId(final String handlerKey, final SequenceDescriptor sequenceDescriptor) {
        StringBuilder sb = new StringBuilder();
        String descriptorKey = sequenceDescriptorKeyUtil.createDescriptorKey(sequenceDescriptor.getGroupName(), sequenceDescriptor.getName());
        sb.append(descriptorKey).append(SequenceConstants.SEQUENCE_ID_SEPARATOR.getConstant()).append(handlerKey);
        return sb.toString();
    }

}