Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / clustering / test / src / main / java / org / opendaylight / controller / clustering / test / internal / ComplexClass.java
diff --git a/opendaylight/adsal/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/ComplexClass.java b/opendaylight/adsal/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/ComplexClass.java
new file mode 100644 (file)
index 0000000..51f8128
--- /dev/null
@@ -0,0 +1,31 @@
+
+/*
+ * Copyright (c) 2013 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.clustering.test.internal;
+
+import java.io.Serializable;
+
+public class ComplexClass implements IComplex, Serializable {
+    private static final long serialVersionUID = 1L;
+    private String identity;
+
+    public ComplexClass(String i) {
+        this.identity = i;
+    }
+
+    @Override
+    public String whoAmI() {
+        return ("ComplexClass_" + this.identity);
+    }
+
+    @Override
+    public void IAm(String s) {
+        this.identity = s;
+    }
+}