summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentModel.java
blob: 112385e18015e1a8f90fdcab7a606f21dfb4fab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.documentmodel;

import com.yahoo.documentmodel.DocumentTypeRepo;

/**
 * DocumentModel represents everything derived from a set of search definitions.
 * It contains a document manager managing all defined document types.
 * It contains a search manager managing all specified search definitions.
 * It contains a storage manager managing all specified storage definitions.
 *
 * @author baldersheim
 */
public class DocumentModel {

    private final DocumentTypeRepo documentMan = new DocumentTypeRepo();
    private final SearchManager searchMan = new SearchManager();

    /**
     *
     * @return Returns the DocumentManager
     */
    public DocumentTypeRepo getDocumentManager() { return documentMan; }

    /**
     *
     * @return Returns the SearchManager
     */
    public SearchManager getSearchManager() { return searchMan; }

}