c4324bd98725ecd2fea02de4e1a9243bbfac7f12
[sdc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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.sdc.ci.tests.tosca.datatypes;
22
23 import org.yaml.snakeyaml.TypeDescription;
24
25 public class ToscaImportsDefinition {
26
27         private String name;
28         private String file;
29         private String repository;
30         private String namespace_uri;
31         private String namespace_prefix;
32         
33         public ToscaImportsDefinition() {
34                 super();
35         }
36
37         public ToscaImportsDefinition(String name, String file, String repository, String namespace_uri, String namespace_prefix) {
38                 super();
39                 this.name = name;
40                 this.file = file;
41                 this.repository = repository;
42                 this.namespace_uri = namespace_uri;
43                 this.namespace_prefix = namespace_prefix;
44         }
45
46         public String getName() {
47                 return name;
48         }
49
50         public void setName(String name) {
51                 this.name = name;
52         }
53
54         public String getFile() {
55                 return file;
56         }
57
58         public void setFile(String file) {
59                 this.file = file;
60         }
61
62         public String getRepository() {
63                 return repository;
64         }
65
66         public void setRepository(String repository) {
67                 this.repository = repository;
68         }
69
70         public String getNamespace_uri() {
71                 return namespace_uri;
72         }
73
74         public void setNamespace_uri(String namespace_uri) {
75                 this.namespace_uri = namespace_uri;
76         }
77
78         public String getNamespace_prefix() {
79                 return namespace_prefix;
80         }
81
82         public void setNamespace_prefix(String namespace_prefix) {
83                 this.namespace_prefix = namespace_prefix;
84         }
85
86         //gets Type description for Yaml snake
87         public static TypeDescription getTypeDescription(){
88         TypeDescription typeDescription = new TypeDescription(ToscaImportsDefinition.class);
89         return typeDescription;
90         }
91
92         
93         
94 }