40612ad8413ade03b39f59e10dc8cd9be44c8c31
[so.git] / mso-catalog-db / src / main / java / org / openecomp / mso / db / catalog / beans / NetworkRecipe.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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.openecomp.mso.db.catalog.beans;
22
23
24 import java.io.Serializable;
25
26 public class NetworkRecipe extends Recipe implements Serializable {
27         private static final long serialVersionUID = 768026109321305392L;
28         private String modelName;
29         private String networkParamXSD;
30         public NetworkRecipe() {}
31
32         public String getModelName() {
33                 return modelName;
34         }
35         public void setModelName(String modelName) {
36                 this.modelName = modelName;
37         }
38
39         public String getNetworkParamXSD() {
40                 return networkParamXSD;
41         }
42         public void setNetworkParamXSD(String networkParamXSD) {
43                 this.networkParamXSD = networkParamXSD;
44         }
45         
46         @Override
47         public String toString () {
48                 StringBuffer sb = new StringBuffer();
49                 sb.append(super.toString());
50                 sb.append (",modelName=" + modelName);
51                 sb.append (",networkParamXSD=" + networkParamXSD);
52                 return sb.toString();
53         }
54 }