4d31faab10c3f2c960d43333070c25a7bf0531dd
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / asdc / beans / tosca / Group.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * VID\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.vid.asdc.beans.tosca;\r
22 \r
23 import java.util.Collection;\r
24 import java.util.Map;\r
25 \r
26 /**\r
27  * The Class Group.\r
28  */\r
29 public class Group {\r
30 \r
31         /** The type. */\r
32         private String type;\r
33         \r
34         /** The members. */\r
35         private Collection<String> members;\r
36         \r
37         /** The metadata. */\r
38         private ToscaMetadata metadata;\r
39         \r
40         /** The vf module type. */\r
41         private String vf_module_type;\r
42         \r
43         /** The properties. */\r
44         private Map<String, Object> properties;\r
45         \r
46         /**\r
47          * Gets the metadata.\r
48          *\r
49          * @return the metadata\r
50          */\r
51         public ToscaMetadata getMetadata() {\r
52                 return metadata;\r
53         }\r
54         \r
55         /**\r
56          * Sets the metadata.\r
57          *\r
58          * @param metadata the new metadata\r
59          */\r
60         public void setMetadata(ToscaMetadata metadata) {\r
61                 this.metadata = metadata;\r
62         }\r
63         \r
64         /**\r
65          * Gets the members.\r
66          *\r
67          * @return the members\r
68          */\r
69         public Collection<String> getMembers() {\r
70                 return members;\r
71         }\r
72         \r
73         /**\r
74          * Sets the members.\r
75          *\r
76          * @param members the new members\r
77          */\r
78         public void setMembers(Collection<String> members) {\r
79                 this.members = members;\r
80         }\r
81         \r
82         /**\r
83          * Gets the type.\r
84          *\r
85          * @return the type\r
86          */\r
87         public String getType() {\r
88                 return type;\r
89         }\r
90         \r
91         /**\r
92          * Sets the type.\r
93          *\r
94          * @param type the new type\r
95          */\r
96         public void setType(String type) {\r
97                 this.type = type;\r
98         }\r
99         \r
100         /**\r
101          * Gets the vf module type.\r
102          *\r
103          * @return the vf module type\r
104          */\r
105         public String getvf_module_type() {\r
106                 return vf_module_type;\r
107         }\r
108         \r
109         /**\r
110          * Sets the vf module type.\r
111          *\r
112          * @param vf_module_type the new vf module type\r
113          */\r
114         public void setvf_module_type(String vf_module_type) {\r
115                 this.vf_module_type = vf_module_type;\r
116         }\r
117         \r
118         /**\r
119          * Gets the properties.\r
120          *\r
121          * @return the properties\r
122          */\r
123         public Map<String, Object> getProperties() {\r
124                 return properties;\r
125         }\r
126         \r
127         /**\r
128          * Sets the properties.\r
129          *\r
130          * @param properties the properties\r
131          */\r
132         public void setProperties(Map<String, Object> properties) {\r
133                 this.properties = properties;\r
134         }\r
135 }\r