aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/document/Case.java
blob: cc0e47471dba5fa061f02f78e759ad6ca4197029 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. 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;}

}