Fix StringStringCodec length check
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / ContainerSchemaNode.java
index 3f0f330413c07badf31b9e50d85d779ad3121e5c..b32c7528581899d664f63e5d67e9266527fe4cc7 100644 (file)
@@ -7,20 +7,19 @@
  */
 package org.opendaylight.yangtools.yang.model.api;
 
+import org.opendaylight.yangtools.yang.model.api.stmt.ContainerEffectiveStatement;
 
 /**
- * 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
+ * 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 {
-
+public interface ContainerSchemaNode extends ContainerLike, EffectiveStatementEquivalent<ContainerEffectiveStatement> {
     /**
+     * Returns true if this container is marked as presence.
+     *
      * @return true, if presence of this container has an explicit meaning,
      *         false otherwise
      */
     boolean isPresenceContainer();
-
 }