Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / java / org / onap / vid / model / NewNode.java
1 package org.onap.vid.model;
2
3 import org.onap.vid.asdc.beans.tosca.Input;
4
5 import java.util.HashMap;
6 import java.util.Map;
7
8
9 public class NewNode {
10         /** The uuid. */
11         private String uuid;
12         
13         /** The invariant uuid. */
14         private String invariantUuid;
15         
16         /** The description. */
17         private String description;
18         
19         /** The name. */
20         private String name;
21         
22         /** The version. */
23         private String version;
24         
25         /** The model customization uuid. */
26         private String customizationUuid;
27         
28         /** The inputs. */
29         private Map<String, Input> inputs;
30         
31         /** The get_input or other constructs from node template properties. */
32         private Map<String, CommandProperty> commands;
33         
34         /** The get_input or other constructs from node template properties. */
35         private Map<String, String> properties;
36         /**
37          * Instantiates a new node.
38          */
39         public NewNode() {
40                 this.commands = new HashMap<>();
41                 this.properties = new HashMap<>();
42         }
43         
44         /**
45          * Gets the uuid.
46          *
47          * @return the uuid
48          */
49         public String getUuid() {
50                 return uuid;
51         }
52
53         /**
54          * Gets the invariant uuid.
55          *
56          * @return the invariant uuid
57          */
58         public String getInvariantUuid() {
59                 return invariantUuid;
60         }
61
62         /**
63          * Gets the description.
64          *
65          * @return the description
66          */
67         public String getDescription() {
68                 return description;
69         }
70
71         /**
72          * Gets the name.
73          *
74          * @return the name
75          */
76         public String getName() {
77                 return name;
78         }
79
80         /**
81          * Gets the version.
82          *
83          * @return the version
84          */
85         public String getVersion() {
86                 return version;
87         }
88         
89         /**
90          * Gets the customization uuid.
91          *
92          * @return the model customization uuid
93          */
94         public String getCustomizationUuid() {
95                 return customizationUuid;
96         }
97         /**
98          * Gets the inputs.
99          *
100          * @return the inputs
101          */
102         public Map<String, Input> getInputs() {
103                 return inputs;
104         }
105         /**
106          * Gets the commands.
107          *
108          * @return the commands
109          */
110         public Map<String, CommandProperty> getCommands() {
111                 return commands;
112         }
113         /**
114          * Gets the properties.
115          *
116          * @return the properties
117          */
118         public Map<String, String> getProperties() {
119                 return properties;
120         }
121         /**
122          * Sets the uuid.
123          *
124          * @param uuid the new uuid
125          */
126         public void setUuid(String uuid) {
127                 this.uuid = uuid;
128         }
129
130         /**
131          * Sets the invariant uuid.
132          *
133          * @param invariantUuid the new invariant uuid
134          */
135         public void setInvariantUuid(String invariantUuid) {
136                 this.invariantUuid = invariantUuid;
137         }
138
139         /**
140          * Sets the description.
141          *
142          * @param description the new description
143          */
144         public void setDescription(String description) {
145                 this.description = description;
146         }
147
148         /**
149          * Sets the name.
150          *
151          * @param name the new name
152          */
153         public void setName(String name) {
154                 this.name = name;
155         }
156
157         /**
158          * Sets the version.
159          *
160          * @param version the new version
161          */
162         public void setVersion(String version) {
163                 this.version = version;
164         }
165         /**
166          * Sets the customization uuid.
167          *
168          * @param u the new customization uuid
169          */
170         public void setCustomizationUuid(String u) {
171                 this.customizationUuid = u;
172         }
173
174         /**
175          * Sets the inputs.
176          *
177          * @param inputs the inputs
178          */
179         public void setInputs(Map<String, Input> inputs) {
180                 this.inputs = inputs;
181         }
182         /**
183          * Sets the commands.
184          *
185          * @param m the commands
186          */
187         public void setCommands( Map<String, CommandProperty>m ) {
188                 commands = m;
189         }
190         /**
191          * Sets the properties.
192          *
193          * @param p the properties
194          */
195         public void setProperties( Map<String, String>p) {
196                 properties = p;
197         }
198
199 }