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;
15 * Contains methods for getting data from the <code>instance-identifier</code>
18 public interface InstanceIdentifierTypeDefinition extends TypeDefinition<InstanceIdentifierTypeDefinition> {
21 * Returns XPath for instance of
22 * <code>InstanceIdentifierTypeDefinition</code>.
24 * @return instance of type <code>RevisionAwareXPath</code>
26 RevisionAwareXPath getPathStatement();
29 * Returns true|false which represents argument of
30 * <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>
34 * statement is true and vice versa
36 boolean requireInstance();