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