summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/document/Case.java
blob: 443f67940a0044ed117a55eebab57a21227ec7e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 String name;
    Case(String name) { this.name = name; }
    public String getName() { return name;}
}