BUG-1091: sever the NormalizedNode/Node relationship 16/9016/5
authorRobert Varga <rovarga@cisco.com>
Tue, 15 Jul 2014 11:07:55 +0000 (13:07 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 15 Jul 2014 12:19:10 +0000 (14:19 +0200)
commit4bac320afd03b620e5d2304a956112337e95c9bd
tree89a345fefc5adf94a6ee666d286f56db119002e9
parent6ad531a01139b12e009d2f89b139be98e96a7545
BUG-1091: sever the NormalizedNode/Node relationship

This clarifies the API intent.

Node and NormalizedNode both serve as abstract supertypes which are then
specialized. The artificial Node->NormalizedNode relationship creates
the illusion that NormalizedNode is a semantical sibling of SimpleNode
and CompositeNode -- which is simply not true.

Change-Id: I62f56bc70ee570e719fea7660b7ef36ee59072d6
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/NormalizedNode.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlDocumentUtils.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/nodes/AbstractImmutableNormalizedNode.java
yang/yang-data-operations/src/main/java/org/opendaylight/yangtools/yang/data/operations/DataModificationException.java