*/
package org.opendaylight.yangtools.yang.model.api;
-import com.google.common.collect.ImmutableList;
import java.util.Collection;
import java.util.List;
import javax.annotation.Nonnull;
/**
* Interface describing YANG 'list' statement.
+ *
* <p>
- * The 'list' statement is used to define an interior data node in the schema
- * tree. A list entry is uniquely identified by the values of the list's keys,
- * if defined.
- * </p>
+ * The 'list' statement is used to define an interior data node in the schema tree. A list entry is uniquely identified
+ * by the values of the list's keys, if defined.
*/
public interface ListSchemaNode extends DataNodeContainer, AugmentationTarget, DataSchemaNode,
NotificationNodeContainer, ActionNodeContainer {
* @return Collection of unique constraints of this list schema node
*/
@Nonnull
- default Collection<UniqueConstraint> getUniqueConstraints() {
- return ImmutableList.of();
- }
+ Collection<UniqueConstraint> getUniqueConstraints();
}