import com.google.common.annotations.Beta;
import com.google.common.base.MoreObjects.ToStringHelper;
import java.util.Collection;
-import java.util.Optional;
import org.eclipse.jdt.annotation.NonNull;
-import org.opendaylight.yangtools.concepts.AbstractSimpleIdentifiable;
+import org.opendaylight.yangtools.concepts.AbstractIdentifiable;
import org.opendaylight.yangtools.concepts.Immutable;
import org.opendaylight.yangtools.rfc8528.data.api.MountPointContext;
import org.opendaylight.yangtools.rfc8528.data.api.MountPointIdentifier;
import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
@Beta
-public final class ImmutableMountPointNode extends AbstractSimpleIdentifiable<MountPointIdentifier>
+public final class ImmutableMountPointNode extends AbstractIdentifiable<PathArgument, MountPointIdentifier>
implements MountPointNode, Immutable {
-
private final @NonNull MountPointContext mountCtx;
private final @NonNull ContainerNode delegate;
}
@Override
- public Collection<DataContainerChild<? extends PathArgument, ?>> getValue() {
- return delegate.getValue();
+ public Collection<DataContainerChild> body() {
+ return delegate.body();
}
@Override
- public Optional<DataContainerChild<? extends PathArgument, ?>> getChild(final PathArgument child) {
- return delegate.getChild(child);
+ public DataContainerChild childByArg(final PathArgument child) {
+ return delegate.childByArg(child);
}
@Override