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

import com.yahoo.document.DataType;

import java.util.Collection;

/**
 * @author <a href="mailto:balder@yahoo-inc.com">Henning Baldersheim</a>
 */
public interface DataTypeCollection {
    public DataType getDataType(String name);
    public DataType getDataType(int id);
    public Collection<DataType> getTypes();
}