Remove CSS code
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / IdentityAttributeRef.java
diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/IdentityAttributeRef.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/IdentityAttributeRef.java
deleted file mode 100644 (file)
index 735a6e1..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2013, 2017 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.config.api;
-
-import java.beans.ConstructorProperties;
-import org.opendaylight.yangtools.yang.binding.BaseIdentity;
-
-public final class IdentityAttributeRef {
-
-    public static final String QNAME_ATTR_NAME = "qNameOfIdentity";
-
-    private final String qualifiedNameOfIdentity;
-
-    @ConstructorProperties(QNAME_ATTR_NAME)
-    public IdentityAttributeRef(final String qualifiedNameOfIdentity) {
-        if (qualifiedNameOfIdentity == null) {
-            throw new NullPointerException("Parameter " + QNAME_ATTR_NAME + " is null");
-        }
-        this.qualifiedNameOfIdentity = qualifiedNameOfIdentity;
-    }
-
-    public String getqNameOfIdentity() {
-        return qualifiedNameOfIdentity;
-    }
-
-    public <T extends BaseIdentity> Class<? extends T> resolveIdentity(final DependencyResolver resolver,
-            final Class<T> baseIdentity) {
-        return resolver.resolveIdentity(this, baseIdentity);
-    }
-
-    public <T extends BaseIdentity> void validateIdentity(final DependencyResolver resolver,
-            final Class<T> baseIdentity, final JmxAttribute jmxAttribute) {
-        resolver.validateIdentity(this, baseIdentity, jmxAttribute);
-    }
-
-    @Override
-    public String toString() {
-        return "IdentityAttributeRef{" + "qualifiedNameOfIdentity='" + qualifiedNameOfIdentity + "'}";
-    }
-
-    @Override
-    public boolean equals(final Object object) {
-        if (this == object) {
-            return true;
-        }
-        if (!(object instanceof IdentityAttributeRef)) {
-            return false;
-        }
-
-        IdentityAttributeRef that = (IdentityAttributeRef) object;
-
-        if (!qualifiedNameOfIdentity.equals(that.qualifiedNameOfIdentity)) {
-            return false;
-        }
-
-        return true;
-    }
-
-    @Override
-    public int hashCode() {
-        return qualifiedNameOfIdentity.hashCode();
-    }
-}