Move adsal into its own subdirectory.
[controller.git] / opendaylight / clustering / test / src / main / java / org / opendaylight / controller / clustering / test / internal / ComplexContainer.java
diff --git a/opendaylight/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/ComplexContainer.java b/opendaylight/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/ComplexContainer.java
deleted file mode 100644 (file)
index d07c192..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-
-/*
- * 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 ComplexContainer implements Serializable {
-    private static final long serialVersionUID = 1L;
-    private final IComplex f;
-    private final IComplex f1;
-    private final Integer state;
-
-    public ComplexContainer(String i, Integer s) {
-        this.state = s;
-        this.f = new ComplexClass(i);
-        this.f1 = new ComplexClass1(i);
-    }
-
-    public String getIdentity() {
-        if (this.f != null && this.f1 != null) {
-            return ("[" + f.whoAmI() + "]-[" + f1.whoAmI() + "]");
-        }
-        return "<NOTSET>";
-    }
-
-    public void setIdentity(String i) {
-        if (this.f != null) {
-            this.f.IAm(i);
-        }
-        if (this.f1 != null) {
-            this.f1.IAm(i);
-        }
-    }
-
-    public Integer getState() {
-        return this.state;
-    }
-
-    @Override
-    public String toString() {
-        return ("{ID:" + this.getIdentity() + ",STATE:" + this.state + "}");
-    }
-}