class SequenceManager implements SequenceDescriptorHolder {

    public Map<String, WilmaSequence> getSequences(final String sequenceDescriptorName) {
        SequenceDescriptor descriptor = descriptors.get(sequenceDescriptorName);
        Map<String, WilmaSequence> result = Collections.emptyMap();
        if (descriptor != null) {
            result = descriptor.getSequences();
        }
        return result;
    }

}