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