Merge "CompareModel API use POST to instead GET"
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / openecomp / mso / bpmn / core / domain / CloudFlavor.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2018 Intel Corp. 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.mso.bpmn.core.domain;
22
23 import java.io.Serializable;
24
25 /**
26  * Stores Cloud Flavor information and is an attribute
27  * of a <class>HomingSolution</class>
28  *
29  */
30 public class CloudFlavor extends JsonWrapper implements Serializable {
31     private String flavorLabel;
32     private String flavor;
33
34     public CloudFlavor (String flavorLabel, String flavor){
35         this.flavorLabel = flavorLabel;
36         this.flavor = flavor;
37     }
38
39     public String getFlavorLabel() {
40         return flavorLabel;
41     }
42
43     public void setFlavorLabel(String flavorLabel) {
44         this.flavorLabel = flavorLabel;
45     }
46
47     public String getFlavor() {
48         return flavor;
49     }
50
51     public void setFlavor(String flavor) {
52         this.flavor = flavor;
53     }
54
55 }