Merge "BUG-868: do not instantiate SchemaPath directly"
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / structures / Lf.java
index a1e06c3cabfa1d1cbeb207c676da1583cb4643d2..2ab7fbc9cf8e726ab6b6633c061b7cad00ceaee1 100644 (file)
@@ -1,21 +1,27 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.sal.restconf.impl.test.structures;
 
 public class Lf extends YangElement {
-    private String value;
+    private Object value;
     private int numOfEqualItems = 0;
 
-
-    public Lf(String name, String value) {
+    public Lf(String name, Object value) {
         super(name);
         this.value = value;
     }
 
-    public Lf(String value) {
+    public Lf(Object value) {
         super("");
         this.value = value;
     }
 
-    public String getValue() {
+    public Object getValue() {
         return value;
     }
 
@@ -43,11 +49,10 @@ public class Lf extends YangElement {
         }
         return true;
     }
-    
+
     public void incNumOfEqualItems() {
         this.numOfEqualItems++;
     }
-    
 
     @Override
     public int hashCode() {