class OCompositeIndexDefinition extends ODocumentWrapperNoClass implements OIndexDefinition {

  public List<String> getFields() {
    final List<String> fields = new LinkedList<String>();
    for (final OIndexDefinition indexDefinition : indexDefinitions) {
      fields.addAll(indexDefinition.getFields());
    }
    return Collections.unmodifiableList(fields);
  }

  public  OCompositeIndexDefinition();
  public  OCompositeIndexDefinition(final String iClassName);
  public  OCompositeIndexDefinition(final String iClassName, final List<? extends OIndexDefinition> iIndexes);

}