Coverage Summary for Class: ProjectTypeField (org.kitodo.data.elasticsearch.index.type.enums)
Class |
Class, %
|
Method, %
|
Line, %
|
ProjectTypeField |
100%
(1/1)
|
100%
(3/3)
|
100%
(22/22)
|
/*
* (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
*
* This file is part of the Kitodo project.
*
* It is licensed under GNU General Public License version 3 or later.
*
* For the full copyright and license information, please read the
* GPL3-License.txt file that was distributed with this source code.
*/
package org.kitodo.data.elasticsearch.index.type.enums;
public enum ProjectTypeField implements TypeInterface {
ID("id"),
TITLE("title"),
START_DATE("startDate"),
END_DATE("endDate"),
NUMBER_OF_PAGES("numberOfPages"),
NUMBER_OF_VOLUMES("numberOfVolumes"),
METS_RIGTS_OWNER("metsRightsOwner"),
ACTIVE("active"),
HAS_PROCESSES("hasProcesses"),
TEMPLATES("templates"),
USERS("users"),
CLIENT_ID("client.id"),
CLIENT_NAME("client.name"),
FOLDER("folder"),
FOLDER_FILE_GROUP("fileGroup"),
FOLDER_URL_STRUCTURE("urlStructure"),
FOLDER_MIME_TYPE("mimeType"),
FOLDER_PATH("path");
private String name;
ProjectTypeField(String name) {
this.name = name;
}
@Override
public String toString() {
return name;
}
}