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.yang.model.api.type;
10 import org.opendaylight.yangtools.yang.model.api.RevisionAwareXPath;
11 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
14 * Contains methods for getting data from the <code>instance-identifier</code>
17 public interface InstanceIdentifierTypeDefinition extends TypeDefinition<InstanceIdentifierTypeDefinition> {
20 * Returns XPath for instance of <code>InstanceIdentifierTypeDefinition</code>.
22 * @return instance of type <code>RevisionAwareXPath</code>
23 * @deprecated This method is deprecated because it is not defined in YANG metamodel. It is scheduled for removal
24 * in Boron release cycle.
27 RevisionAwareXPath getPathStatement();
30 * Returns true|false which represents argument of <code>require-instance</code> statement. This statement is the
31 * substatement of the <code>type</code> statement.
33 * @return boolean value which is true if the <code>require-instance</code> statement is true and vice versa
35 boolean requireInstance();