0ba640ac182a02dee2e7d11bd6ce7668509cb971
[vfc/nfvo/catalog.git] /
1 /**\r
2  * Copyright 2016 [ZTE] and others.\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *     http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 package org.openo.commontosca.catalog.model.parser.yaml.entity;\r
18 \r
19 import java.util.List;\r
20 \r
21 public class ParseYamlRequestParemeter {\r
22   private String path = "E:\\NFVO\\130. yaml2xml\\0. tosca-parser\\sample\\ag-vnfd-floatingIp.zip";\r
23 \r
24   private List<Extension> extensionList;\r
25 \r
26   public String getPath() {\r
27     return path;\r
28   }\r
29 \r
30   public void setPath(String path) {\r
31     this.path = path;\r
32   }\r
33 \r
34   public List<Extension> getExtensionList() {\r
35     return extensionList;\r
36   }\r
37 \r
38   public void setExtensionList(List<Extension> extensionList) {\r
39     this.extensionList = extensionList;\r
40   }\r
41 \r
42   public Extension createExtension() {\r
43     return new Extension();\r
44   }\r
45 \r
46   public class Extension {\r
47     private String name;\r
48     private String value;\r
49 \r
50     public String getName() {\r
51       return name;\r
52     }\r
53 \r
54     public void setName(String name) {\r
55       this.name = name;\r
56     }\r
57 \r
58     public String getValue() {\r
59       return value;\r
60     }\r
61 \r
62     public void setValue(String value) {\r
63       this.value = value;\r
64     }\r
65   }\r
66 }\r