Initial OpenECOMP policy/engine commit
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / openecomp / policy / api / DictionaryType.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * PolicyEngineAPI
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.policy.api;
22
23 public enum DictionaryType {
24         /**
25          * Indicates Common Dictionaries. 
26          */
27         Common("Common"),
28         /**
29          * Indicates ClosedLoop Policy Dictionaries. 
30          */
31         ClosedLoop("ClosedLoop"),
32         /**
33          * Indicates Firewall Config Policy Dictionaries. 
34          */
35         Firewall("FW"),
36         /**
37          * Indicates Decision Policy Dictionaries. 
38          */
39         Decision("Decision"),
40         /**
41          * Indicates BRMS Policy Dictionaries. 
42          */
43         BRMS("BRMS"),
44         /**
45          * Indicates DCAE Micro Service Policy Dictionaries. 
46          */
47         MicroService("MS"),
48         /**
49          * Indicates Descriptive Scope Dictionaries
50          */
51         DescriptiveScope("DescriptiveScope"),
52         /**
53          * Indicates Policy Scope Dictionaries
54          */
55         PolicyScope("PolicyScope"),
56         ;
57         
58         private String name;
59         
60         private DictionaryType(String typeName){
61                 this.name = typeName;
62         }
63         
64         /**
65          * Returns the <code>String</code> format of Type for this <code>PolicyClass</code>
66          * @return the <code>String</code> of the Type for this <code>PolicyClass</code>
67          */
68         public String toString() {
69                 return this.name;
70         }
71         
72
73 }