code: private void createSequences(Collection<Sequence> sequences, SchemaDescriptor schemaDescriptor, Store store) {
          for (Sequence sequence : sequences) {
              SequenceDesriptor sequenceDesriptor = store.create(SequenceDesriptor.class);
              sequenceDesriptor.setName(sequence.getName());
              sequenceDesriptor.setIncrement(sequence.getIncrement());
              sequenceDesriptor.setMinimumValue(sequence.getMinimumValue().longValue());
              sequenceDesriptor.setMaximumValue(sequence.getMaximumValue().longValue());
              sequenceDesriptor.setCycle(sequence.isCycle());
              schemaDescriptor.getSequences().add(sequenceDesriptor);
          }
      }
docs: Add the sequences of a schema to the schema descriptor.
  
  @param sequences        The sequences.
  @param schemaDescriptor The schema descriptor.
  @param store            The store.