Remove yang-test
[controller.git] / opendaylight / config / config-util / src / main / java / org / opendaylight / controller / config / util / AttributeEntry.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.config.util;
9
10 public class AttributeEntry {
11     private final String key;
12     private final String description;
13     private final Object value;
14     private final String type;
15     private final boolean rw;
16
17     public AttributeEntry(final String key, final String description, final Object value,
18             final String type, final boolean rw) {
19         this.key = key;
20         this.description = description;
21         this.value = value;
22         this.type = type;
23         this.rw = rw;
24     }
25
26     public String getKey() {
27         return key;
28     }
29
30     public String getDescription() {
31         return description;
32     }
33
34     public Object getValue() {
35         return value;
36     }
37
38     public String getType() {
39         return type;
40     }
41
42     public boolean isRw() {
43         return rw;
44     }
45
46 }