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.controller.yang.model.api;
\r
10 public interface DataSchemaNode extends SchemaNode {
\r
13 * Returns <code>true</code> if the data node was added by augmentation,
\r
14 * otherwise returns <code>false</code>
\r
16 * @return <code>true</code> if the data node was added by augmentation,
\r
17 * otherwise returns <code>false</code>
\r
19 boolean isAugmenting();
\r
22 * Returns <code>true</code> if the data node was added by uses statement,
\r
23 * otherwise returns <code>false</code>
\r
25 * @return <code>true</code> if the data node was added by uses statement,
\r
26 * otherwise returns <code>false</code>
\r
28 boolean isAddedByUses();
\r
31 * Returns <code>true</code> if the data represents configuration data,
\r
32 * otherwise returns <code>false</code>
\r
34 * @return <code>true</code> if the data represents configuration data,
\r
35 * otherwise returns <code>false</code>
\r
37 boolean isConfiguration();
\r
40 * Returns the constraints associated with Data Schema Node
\r
42 * @return the constraints associated with Data Schema Node
\r
44 ConstraintDefinition getConstraints();
\r