Change of default AAI Schema version to v24
[so.git] / graph-inventory / aai-client / src / main / java / org / onap / aaiclient / client / aai / AAIVersion.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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.onap.aaiclient.client.aai;
22
23 import org.onap.aaiclient.client.graphinventory.GraphInventoryVersion;
24
25 public enum AAIVersion implements GraphInventoryVersion {
26     V10("V10"),
27     V11("V11"),
28     V12("V12"),
29     V13("v13"),
30     V14("v14"),
31     V15("v15"),
32     V16("v16"),
33     V17("v17"),
34     V18("v18"),
35     V19("v19"),
36     V20("v20"),
37     V21("v21"),
38     V22("v22"),
39     V23("v23"),
40     V24("v24");
41
42     public static final AAIVersion LATEST = AAIVersion.values()[AAIVersion.values().length - 1];
43     private final String value;
44
45     private AAIVersion(String value) {
46         this.value = value;
47     }
48
49     @Override
50     public String toString() {
51         return this.value;
52     }
53 }
54
55