2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.sal.binding.model.api;
10 import org.opendaylight.yangtools.yang.common.QName;
13 * Implementing this interface allows an object to hold information which are
14 * essential for generating java doc from type definition.
16 public interface DocumentedType {
19 * Returns a string that contains a human-readable textual description of
22 * @return a human-readable textual description of type definition.
24 String getDescription();
27 * Returns a string that is used to specify a textual cross-reference to an
28 * external document, either another module that defines related management
29 * information, or a document that provides additional information relevant
32 * @return a textual cross-reference to an external document.
34 String getReference();
37 * Returns a list of QNames which represent schema path in schema tree from
38 * actual concrete type to the root.
40 * @return a schema path in schema tree from actual concrete schema node
41 * identifier to the root.
43 Iterable<QName> getSchemaPath();
46 * Returns the name of the module, in which generated type was specified.
48 * @return the name of the module, in which generated type was specified.
50 String getModuleName();