X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Futil%2FIdentityrefType.java;fp=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Futil%2FIdentityrefType.java;h=0000000000000000000000000000000000000000;hp=30f0013d240e7e713882eba614efd4d0cd467091;hb=e0e2b9f77ecf0bf2353dba9a448e1901194648d3;hpb=970fb91c60c15a9b57e078f81aab7dde903addb9
diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-util/src/main/java/org/opendaylight/controller/yang/model/util/IdentityrefType.java b/opendaylight/sal/yang-prototype/yang/yang-model-util/src/main/java/org/opendaylight/controller/yang/model/util/IdentityrefType.java
deleted file mode 100644
index 30f0013d24..0000000000
--- a/opendaylight/sal/yang-prototype/yang/yang-model-util/src/main/java/org/opendaylight/controller/yang/model/util/IdentityrefType.java
+++ /dev/null
@@ -1,89 +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.yang.model.util;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.opendaylight.controller.yang.common.QName;
-import org.opendaylight.controller.yang.model.api.SchemaPath;
-import org.opendaylight.controller.yang.model.api.Status;
-import org.opendaylight.controller.yang.model.api.UnknownSchemaNode;
-import org.opendaylight.controller.yang.model.api.type.IdentityrefTypeDefinition;
-
-/**
- * The default
implementation of Identityref Type Definition interface.
- *
- * @see IdentityrefTypeDefinition
- */
-public final class IdentityrefType implements IdentityrefTypeDefinition {
- private final QName name = BaseTypes.constructQName("identityref");
- private final SchemaPath path;
- private final String description = "The identityref type is used to reference an existing identity.";
- private final String reference = "https://tools.ietf.org/html/rfc6020#section-9.10";
- private final IdentityrefTypeDefinition baseType;
- private final QName identity;
- private final String units = "";
-
- public IdentityrefType(QName identity, SchemaPath schemaPath) {
- this.identity = identity;
- this.path = schemaPath;
- this.baseType = this;
- }
-
- @Override
- public String getUnits() {
- return units;
- }
-
- @Override
- public Object getDefaultValue() {
- return identity;
- }
-
- @Override
- public QName getQName() {
- return name;
- }
-
- @Override
- public SchemaPath getPath() {
- return path;
- }
-
- @Override
- public String getDescription() {
- return description;
- }
-
- @Override
- public String getReference() {
- return reference;
- }
-
- @Override
- public Status getStatus() {
- return Status.CURRENT;
- }
-
- @Override
- public List getUnknownSchemaNodes() {
- return Collections.emptyList();
- }
-
- @Override
- public QName getIdentity() {
- return identity;
- }
-
- @Override
- public IdentityrefTypeDefinition getBaseType() {
- return baseType;
- }
-
-}