2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
8 package org.opendaylight.yangtools.yang.model.api;
\r
11 * Interface describing YANG 'identity' statement.
\r
13 * The 'identity' statement is used to define a new globally unique, abstract,
\r
14 * and untyped identity. Its only purpose is to denote its name, semantics, and
\r
15 * existence. The built-in datatype "identityref" can be used to reference
\r
16 * identities within a data model.
\r
19 public interface IdentitySchemaNode extends SchemaNode {
\r
22 * @return an existing identity, from which the new identity is derived or
\r
23 * null, if the identity is defined from scratch.
\r
25 IdentitySchemaNode getBaseIdentity();
\r