X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Fapi%2FContainerSchemaNode.java;h=f60fc160d8bea95ba16a61873a53379939a200f7;hp=62df36e28d63f123fda47a7ab541328d6d227cd9;hb=e72ae0ab1513e382e141f70dc544efdd782e439d;hpb=fc7a2ae9b5c6b82d463fe612509a157e3f261653 diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/ContainerSchemaNode.java b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/ContainerSchemaNode.java index 62df36e28d..f60fc160d8 100644 --- a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/ContainerSchemaNode.java +++ b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/ContainerSchemaNode.java @@ -7,9 +7,19 @@ */ package org.opendaylight.controller.yang.model.api; +/** + * The ContainerSchemaNode is used to define an interior data node in the schema + * tree. There are two styles of containers, those that exist only for + * organizing the hierarchy of data nodes, and those whose presence in the + * configuration has an explicit meaning. + */ public interface ContainerSchemaNode extends DataNodeContainer, AugmentationTarget, DataSchemaNode { + /** + * @return true, if presence of this container has an explicit meaning, + * false otherwise + */ boolean isPresenceContainer(); }