X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Fapi%2FIdentitySchemaNode.java;h=bef84704f839c6928c27c37c1b82dcfef9caaecc;hb=4078c52f76ce904726f0e127eba1a96c7bae357d;hp=3fea02a510ad0f24a9fc8dd528ab802425042963;hpb=14f284ccd84b286e0765678dd03222e53f9f3e5a;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/IdentitySchemaNode.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/IdentitySchemaNode.java index 3fea02a510..bef84704f8 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/IdentitySchemaNode.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/IdentitySchemaNode.java @@ -1,36 +1,36 @@ -/* - * 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.yangtools.yang.model.api; - -import java.util.Set; - -/** - * Interface describing YANG 'identity' statement. - *

- * The 'identity' statement is used to define a new globally unique, abstract, - * and untyped identity. Its only purpose is to denote its name, semantics, and - * existence. The built-in datatype "identityref" can be used to reference - * identities within a data model. - *

- */ -public interface IdentitySchemaNode extends SchemaNode { - - /** - * @return an existing identity, from which the new identity is derived or - * null, if the identity is defined from scratch. - */ - IdentitySchemaNode getBaseIdentity(); - - /** - * Get identities derived from this identity. - * - * @return collection of identities derived from this identity - */ - Set getDerivedIdentities(); - -} +/* + * 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.yangtools.yang.model.api; + +import java.util.Set; + +/** + * Interface describing YANG 'identity' statement. + *

+ * The 'identity' statement is used to define a new globally unique, abstract, + * and untyped identity. Its only purpose is to denote its name, semantics, and + * existence. The built-in datatype "identityref" can be used to reference + * identities within a data model. + *

+ */ +public interface IdentitySchemaNode extends SchemaNode { + + /** + * @return an existing identity, from which the new identity is derived or + * null, if the identity is defined from scratch. + */ + IdentitySchemaNode getBaseIdentity(); + + /** + * Get identities derived from this identity. + * + * @return collection of identities derived from this identity + */ + Set getDerivedIdentities(); + +}