admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | /* |
| 2 | * To change this template, choose Tools | Templates |
| 3 | * and open the template in the editor. |
| 4 | */ |
| 5 | package tai_ofa; |
| 6 | |
| 7 | import javafx.scene.control.Label; |
| 8 | import javafx.scene.control.TextField; |
| 9 | |
| 10 | /** |
| 11 | * |
| 12 | * @author Raghav Kashyap (raghavkashyap@paxterrasolutions.com) |
| 13 | |
| 14 | * TestON is free software: you can redistribute it and/or modify |
| 15 | * it under the terms of the GNU General Public License as published by |
| 16 | * the Free Software Foundation, either version 2 of the License, or |
| 17 | * (at your option) any later version. |
| 18 | |
| 19 | * TestON is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | * GNU General Public License for more details. |
| 23 | |
| 24 | * You should have received a copy of the GNU General Public License |
| 25 | * along with TestON. If not, see <http://www.gnu.org/licenses/>. |
| 26 | |
| 27 | */ |
| 28 | public class OFATopologyInterface { |
| 29 | public Label interFaceNumber; |
| 30 | private TextField deviceName; |
| 31 | private TextField deviceType; |
| 32 | |
| 33 | |
| 34 | |
| 35 | public OFATopologyInterface(Label emailtext,TextField deviceNameText,TextField deviceTypeText){ |
| 36 | this.deviceName = deviceNameText; |
| 37 | this.deviceType = deviceTypeText; |
| 38 | this.interFaceNumber = emailtext; |
| 39 | } |
| 40 | |
| 41 | public TextField getDeviceName() { |
| 42 | return deviceName; |
| 43 | } |
| 44 | public void setDeviceName(TextField fName) { |
| 45 | deviceName = fName; |
| 46 | } |
| 47 | |
| 48 | public TextField getDeviceType() { |
| 49 | return deviceType; |
| 50 | } |
| 51 | public void setDeviceType(TextField fName) { |
| 52 | deviceType = fName; |
| 53 | } |
| 54 | |
| 55 | public Label getInterFaceNumber() { |
| 56 | return interFaceNumber; |
| 57 | } |
| 58 | public void setInterFaceNumber(Label fName) { |
| 59 | interFaceNumber = fName; |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | |
| 64 | |