4e3ad29d12c621dcfff8dbfa66cfd93ae3a86848
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / constants / parameterConstants.js
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * VID\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 "use strict";\r
22 \r
23 appDS2.constant("PARAMETER", (function() {\r
24     return {\r
25                 BOOLEAN : "boolean",\r
26                 SELECT : "select",\r
27                 STRING : "string",\r
28                 NUMBER : "number",\r
29                 VALID_VALUES : "valid_values",\r
30                 EQUAL : "equal",\r
31                 LENGTH : "length",\r
32                 MAX_LENGTH : "max_length",\r
33                 MIN_LENGTH : "min_length",\r
34                 IN_RANGE : "in_range",\r
35                 CONSTRAINTS : "constraints",\r
36                 OPERATOR : "operator",\r
37                 CONSTRAINT_VALUES : "constraintValues",\r
38                 DEFAULT : "default",\r
39                 DESCRIPTION : "description",\r
40                 TYPE: "type",\r
41                 INTEGER: "integer",\r
42                 RANGE: "range",\r
43                 LIST: "list",\r
44                 MAP: "map",\r
45                 REQUIRED: "required",\r
46                 GREATER_THAN: "greater_than",\r
47                 LESS_THAN: "less_than",\r
48                 GREATER_OR_EQUAL: "greater_or_equal",\r
49                 LESS_OR_EQUAL: "less_or_equal"\r
50                 \r
51     };\r
52 })())\r