67ce0962dc03727eef692a7389c7ee640cbc647a
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2018 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.entities.uri;
22
23 import javax.ws.rs.core.UriBuilder;
24 import org.onap.aaiclient.client.aai.AAIObjectPlurals;
25 import org.onap.aaiclient.client.aai.AAIObjectType;
26 import org.onap.aaiclient.client.graphinventory.entities.uri.SimplePluralUri;
27
28 public class AAISimplePluralUri
29         extends SimplePluralUri<AAIPluralResourceUri, AAIResourceUri, AAIObjectPlurals, AAIObjectType>
30         implements AAIPluralResourceUri {
31
32     private static final long serialVersionUID = -6397024057188453229L;
33
34     protected AAISimplePluralUri(AAIObjectPlurals type, UriBuilder builder, Object... values) {
35         super(type, builder, values);
36     }
37
38     protected AAISimplePluralUri(AAIObjectPlurals type) {
39         super(type);
40     }
41
42     protected AAISimplePluralUri(AAIObjectPlurals type, Object... values) {
43         super(type, values);
44     }
45
46     protected AAISimplePluralUri(AAIObjectPlurals type, AAIResourceUri uri) {
47         super(type, uri);
48     }
49
50     protected AAISimplePluralUri(AAIResourceUri parentUri, AAIObjectPlurals childType) {
51         super(parentUri, childType);
52     }
53
54     protected AAISimplePluralUri(AAISimplePluralUri copy) {
55         super(copy);
56     }
57
58     @Override
59     public AAISimplePluralUri clone() {
60         return new AAISimplePluralUri(this);
61     }
62
63     @Override
64     public AAIObjectPlurals getObjectType() {
65         return this.pluralType;
66     }
67
68 }