View Javadoc
1   /*
2    * Copyright (C) 2021 B3Partners B.V.
3    *
4    * SPDX-License-Identifier: MIT
5    */
6   package org.tailormap.api.util;
7   
8   public interface Constants {
9     String FID = "__fid";
10    String ID = "id";
11    String NAME_REGEX = "^[a-zA-Z0-9-_]+";
12    String NAME_REGEX_INVALID_MESSAGE =
13        "name must consist of alphanumeric characters, underscore or -";
14    String SEARCH_ID_FIELD = ID;
15    String SEARCH_LAYER = "searchLayer";
16    String INDEX_SEARCH_FIELD = "searchFields";
17    String INDEX_DISPLAY_FIELD = "displayFields";
18    String INDEX_GEOM_FIELD = "geometry";
19  
20    String UUID_REGEX = "(?i)^[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$";
21  
22    String TEST_TASK_TYPE = "poc";
23  }