Upgrade sonar plugin
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / model / CommandProperty.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.model;\r
22 \r
23 import java.util.Map;\r
24 \r
25 /**\r
26  * The Class Command Property.\r
27  */\r
28 public class CommandProperty {\r
29         \r
30         /** The display name for this input */\r
31         private String displayName;\r
32         \r
33         /** The command, "get_input" */\r
34         private String command;\r
35         \r
36         /** The input name we refer to back under the inputs section */\r
37         private String inputName;\r
38 \r
39         /**\r
40          * Gets the display name.\r
41          *\r
42          * @return the displayName\r
43          */\r
44         public String getDisplayName() {\r
45                 return displayName;\r
46         }\r
47         /**\r
48          * Gets the command.\r
49          *\r
50          * @return the command\r
51          */\r
52         public String getCommand() {\r
53                 return command;\r
54         }\r
55         /**\r
56          * Gets the inputName.\r
57          *\r
58          * @return the inputName\r
59          */\r
60         public String getInputName() {\r
61                 return inputName;\r
62         }\r
63         /**\r
64          * Sets the display name value.\r
65          *\r
66          * @param i the new get_input value\r
67          */\r
68         public void setDisplayName(String i) {\r
69                 this.displayName = i;\r
70         }\r
71         /**\r
72          * Sets the command value.\r
73          *\r
74          * @param i the new command value\r
75          */\r
76         public void setCommand(String i) {\r
77                 this.command = i;\r
78         }\r
79         \r
80         /**\r
81          * Sets the input name value.\r
82          *\r
83          * @param i the new input name value\r
84          */\r
85         public void setInputName(String i) {\r
86                 this.inputName=i;\r
87         }\r
88         \r
89         public String toString () {\r
90                 String result = "displayName=" + displayName + " command=" + command + " inputName" + inputName;\r
91                 return result;\r
92         }\r
93 }\r