aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/document/Case.java
blob: 42340417dcb8979226857b4768c81ab40a96dd26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema.document;

/**
 * Describes if items should preserve lower/upper case, or shall be uncased
 * which normally mean they are all normalized to lowercase.
 *
 * @author baldersheim
 */
public enum Case {

    CASED("cased"),
    UNCASED("uncased");
    private final String name;

    Case(String name) { this.name = name; }
    public String getName() { return name;}

}