2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.parser.rfc7950.stmt;
10 import com.google.common.base.MoreObjects;
11 import com.google.common.collect.ImmutableSet;
13 import org.opendaylight.yangtools.yang.common.QName;
14 import org.opendaylight.yangtools.yang.model.api.ActionDefinition;
15 import org.opendaylight.yangtools.yang.model.api.NotificationDefinition;
16 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
17 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
19 @Deprecated(forRemoval = true)
20 public abstract class AbstractEffectiveOperationContainerSchemaNode<D extends DeclaredStatement<QName>>
21 extends AbstractEffectiveContainerSchemaNode<D> {
22 protected AbstractEffectiveOperationContainerSchemaNode(final StmtContext<QName, D, ?> ctx) {
27 public final Set<ActionDefinition> getActions() {
28 return ImmutableSet.of();
32 public final Set<NotificationDefinition> getNotifications() {
33 return ImmutableSet.of();
37 public final boolean isPresenceContainer() {
38 // FIXME: this should not really be here
43 public final String toString() {
44 return MoreObjects.toStringHelper(this).add("path", getPath()).toString();