aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/documentmodel/DocumentTypeCollection.java
blob: b1108fcbefb2ed1232540cfd387374c52502ebbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentmodel;

import java.util.Collection;

/**
 * @author baldersheim
 */
public interface DocumentTypeCollection {

    NewDocumentType getDocumentType(NewDocumentType.Name name);
    NewDocumentType getDocumentType(int id);
    Collection<NewDocumentType> getTypes();

}