org.onap migration
[vid.git] / vid-app-common / src / main / java / org / onap / vid / asdc / beans / tosca / Group.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
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.onap.vid.asdc.beans.tosca;
22
23 import java.util.Collection;
24 import java.util.Map;
25
26 /**
27  * The Class Group.
28  */
29 public class Group {
30
31         /** The type. */
32         private String type;
33         
34         /** The members. */
35         private Collection<String> members;
36         
37         /** The metadata. */
38         private ToscaMetadata metadata;
39         
40         /** The vf module type. */
41         private String vf_module_type;
42         
43         /** The properties. */
44         private Map<String, Object> properties;
45         
46         /**
47          * Gets the metadata.
48          *
49          * @return the metadata
50          */
51         public ToscaMetadata getMetadata() {
52                 return metadata;
53         }
54         
55         /**
56          * Sets the metadata.
57          *
58          * @param metadata the new metadata
59          */
60         public void setMetadata(ToscaMetadata metadata) {
61                 this.metadata = metadata;
62         }
63         
64         /**
65          * Gets the members.
66          *
67          * @return the members
68          */
69         public Collection<String> getMembers() {
70                 return members;
71         }
72         
73         /**
74          * Sets the members.
75          *
76          * @param members the new members
77          */
78         public void setMembers(Collection<String> members) {
79                 this.members = members;
80         }
81         
82         /**
83          * Gets the type.
84          *
85          * @return the type
86          */
87         public String getType() {
88                 return type;
89         }
90         
91         /**
92          * Sets the type.
93          *
94          * @param type the new type
95          */
96         public void setType(String type) {
97                 this.type = type;
98         }
99         
100         /**
101          * Gets the vf module type.
102          *
103          * @return the vf module type
104          */
105         public String getvf_module_type() {
106                 return vf_module_type;
107         }
108         
109         /**
110          * Sets the vf module type.
111          *
112          * @param vf_module_type the new vf module type
113          */
114         public void setvf_module_type(String vf_module_type) {
115                 this.vf_module_type = vf_module_type;
116         }
117         
118         /**
119          * Gets the properties.
120          *
121          * @return the properties
122          */
123         public Map<String, Object> getProperties() {
124                 return properties;
125         }
126         
127         /**
128          * Sets the properties.
129          *
130          * @param properties the properties
131          */
132         public void setProperties(Map<String, Object> properties) {
133                 this.properties = properties;
134         }
135 }