Applying license changes to all files
[appc.git] / appc-dg / appc-dg-shared / appc-dg-mdsal-store / src / main / java / org / openecomp / appc / mdsal / objects / BundleInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 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  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.openecomp.appc.mdsal.objects;
26 /**
27  * Holds bundle information which includes name , description , version and location. This information will be used to create osgi bundle.
28  */
29  public class BundleInfo {
30
31     private String name;
32     private String description;
33     private Integer version;
34     private String location;
35
36     /**
37      * Creates an object of BundleInfo with version initialized to 1
38      */
39     public BundleInfo(){
40         version =1;
41     }
42
43     public String getName() {
44         return name;
45     }
46
47     public void setName(String name) {
48         this.name = name;
49     }
50
51     public String getDescription() {
52         return description;
53     }
54
55     public void setDescription(String description) {
56         this.description = description;
57     }
58
59     public Integer getVersion() {
60         return version;
61     }
62
63     public void setVersion(Integer version) {
64         this.version = version;
65     }
66
67     public String getLocation() {
68         return location;
69     }
70
71     public void setLocation(String location) {
72         this.location = location;
73     }
74 }