2f11b887bf8615c0d31bb564cc8b06b7490f0a29
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ============LICENSE_END=========================================================
22  */
23
24 package org.onap.appc.mdsal.objects;
25 /**
26  * Holds bundle information which includes name , description , version and location. This information will be used to create osgi bundle.
27  */
28  public class BundleInfo {
29
30     private String name;
31     private String description;
32     private Integer version;
33     private String location;
34
35     /**
36      * Creates an object of BundleInfo with version initialized to 1
37      */
38     public BundleInfo(){
39         version =1;
40     }
41
42     public String getName() {
43         return name;
44     }
45
46     public void setName(String name) {
47         this.name = name;
48     }
49
50     public String getDescription() {
51         return description;
52     }
53
54     public void setDescription(String description) {
55         this.description = description;
56     }
57
58     public Integer getVersion() {
59         return version;
60     }
61
62     public void setVersion(Integer version) {
63         this.version = version;
64     }
65
66     public String getLocation() {
67         return location;
68     }
69
70     public void setLocation(String location) {
71         this.location = location;
72     }
73 }