aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/documentmodel/DataTypeCollection.java
blob: 1a54b7459a4717cacbd84afa6e4a5f8d9a3f93d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. 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 baldersheim
 */
public interface DataTypeCollection {

    DataType getDataType(String name);
    DataType getDataType(int id);
    Collection<DataType> getTypes();

}