- Add TypeObject for derived types only
- Add base BindingObject for all binding types
JIRA: MDSAL-406
Change-Id: I93ac1bea70f61a9ed05dc35951f024f08dcf6b83
Signed-off-by: Jie Han <han.jie@zte.com.cn>
--- /dev/null
+/*
+ * Copyright (c) 2019 ZTE Corp. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.yang.binding;
+
+/**
+ * BindingObject is a base interface for all bindings.
+ *
+ * @author Jie Han
+ */
+public interface BindingObject {
+}
*
* @author Tony Tkacik
*/
-public interface DataObject extends DataContainer {
+public interface DataObject extends DataContainer, BindingObject {
}
--- /dev/null
+/*
+ * Copyright (c) 2019 ZTE Corp. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.yang.binding;
+
+/**
+ * TypeObject is a mark interface for all derived types.
+ *
+ * @author Jie Han
+ */
+public interface TypeObject extends BindingObject {
+}