BUG-3263: return a Collection for path arguments
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / IterablePathArguments.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3  * This program and the accompanying materials are made available under the
4  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/epl-v10.html
6  */
7 package org.opendaylight.yangtools.yang.data.api;
8
9 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
10
11 /*
12  * This base class provides binary backwards compatibility for Helium, which
13  * used an Iterable instead of collection.
14  *
15  * @deprecated remove this class in Beryllium
16  */
17 @Deprecated
18 abstract class IterablePathArguments {
19     public abstract Iterable<PathArgument> getPathArguments();
20     public abstract Iterable<PathArgument> getReversePathArguments();
21 }