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;
11 * Data Schema Node represents abstract supertype from which all data tree definitions are derived.
14 * Common interface is composed of {@link #isConfiguration()}, governing validity in config/operation data stores
15 * and {@link WhenConditionAware} mixin, which governs validity based on other document data.
17 * @see ContainerSchemaNode
19 * @see LeafListSchemaNode
20 * @see ChoiceSchemaNode
23 * @see AnyXmlSchemaNode
24 * @see AnyDataSchemaNode
26 public interface DataSchemaNode extends SchemaNode, CopyableNode, WhenConditionAware {
28 * Returns <code>true</code> if the data represents configuration data,
29 * otherwise returns <code>false</code>.
31 * @return <code>true</code> if the data represents configuration data,
32 * otherwise returns <code>false</code>
34 boolean isConfiguration();