1 package org.onap.vid.model;
3 import org.onap.vid.asdc.beans.tosca.Input;
5 import java.util.HashMap;
13 /** The invariant uuid. */
14 private String invariantUuid;
16 /** The description. */
17 private String description;
23 private String version;
25 /** The model customization uuid. */
26 private String customizationUuid;
29 private Map<String, Input> inputs;
31 /** The get_input or other constructs from node template properties. */
32 private Map<String, CommandProperty> commands;
34 /** The get_input or other constructs from node template properties. */
35 private Map<String, String> properties;
37 * Instantiates a new node.
40 this.commands = new HashMap<>();
41 this.properties = new HashMap<>();
49 public String getUuid() {
54 * Gets the invariant uuid.
56 * @return the invariant uuid
58 public String getInvariantUuid() {
63 * Gets the description.
65 * @return the description
67 public String getDescription() {
76 public String getName() {
85 public String getVersion() {
90 * Gets the customization uuid.
92 * @return the model customization uuid
94 public String getCustomizationUuid() {
95 return customizationUuid;
102 public Map<String, Input> getInputs() {
108 * @return the commands
110 public Map<String, CommandProperty> getCommands() {
114 * Gets the properties.
116 * @return the properties
118 public Map<String, String> getProperties() {
124 * @param uuid the new uuid
126 public void setUuid(String uuid) {
131 * Sets the invariant uuid.
133 * @param invariantUuid the new invariant uuid
135 public void setInvariantUuid(String invariantUuid) {
136 this.invariantUuid = invariantUuid;
140 * Sets the description.
142 * @param description the new description
144 public void setDescription(String description) {
145 this.description = description;
151 * @param name the new name
153 public void setName(String name) {
160 * @param version the new version
162 public void setVersion(String version) {
163 this.version = version;
166 * Sets the customization uuid.
168 * @param u the new customization uuid
170 public void setCustomizationUuid(String u) {
171 this.customizationUuid = u;
177 * @param inputs the inputs
179 public void setInputs(Map<String, Input> inputs) {
180 this.inputs = inputs;
185 * @param m the commands
187 public void setCommands( Map<String, CommandProperty>m ) {
191 * Sets the properties.
193 * @param p the properties
195 public void setProperties( Map<String, String>p) {