Revert "Checkstyle enforcer"
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / reader / NodeDescription.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.reader;
11
12
13 /**
14  * Represents the network node description information
15  */
16 public class NodeDescription {
17     private String manufacturer;
18     private String hardware;
19     private String software;
20     private String serialNumber;
21     private String description;
22
23     public NodeDescription() {
24
25     }
26
27     public String getManufacturer() {
28         return manufacturer;
29     }
30
31     public void setManufacturer(String manufacturer) {
32         this.manufacturer = manufacturer;
33     }
34
35     public String getHardware() {
36         return hardware;
37     }
38
39     public void setHardware(String hardware) {
40         this.hardware = hardware;
41     }
42
43     public String getSoftware() {
44         return software;
45     }
46
47     public void setSoftware(String software) {
48         this.software = software;
49     }
50
51     public String getSerialNumber() {
52         return serialNumber;
53     }
54
55     public void setSerialNumber(String serialNumber) {
56         this.serialNumber = serialNumber;
57     }
58
59     public String getDescription() {
60         return description;
61     }
62
63     public void setDescription(String description) {
64         this.description = description;
65     }
66
67     @Override
68     public String toString() {
69         return "HwDescription[manufacturer=" + manufacturer + ", hardware="
70                         + hardware + ", software=" + software + ", serialNumber=" 
71                         + serialNumber + ", description=" + description + "]";
72     }
73 }