class MetadataCollection extends ArrayList<MetadataElement> {

  public Set<MetadataElement> toSet() {
    return asSet(this);
  }

  public  MetadataCollection();
  public  MetadataCollection(@NotNull Set<MetadataElement> elements);
  public  MetadataCollection(@NotNull MetadataCollection metadataCollection);
  public  MetadataCollection(@NotNull KeyValuePairBag elements);
  public  MetadataCollection(@NotNull Map<String, String> elements);
  public  MetadataCollection(@NotNull MetadataElement... elements);

}