X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-data-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fdata%2Fimpl%2Fschema%2Ftree%2FNodeModification.java;h=225a931ec0a5eb65286cfe288936696bb28c27d1;hb=cbb18c74acab8a9b77ddf1dc19d988e3d0fe37fc;hp=8e92ff1f22af9a54444033d8af1a18f4f04cdfe6;hpb=f8de4c0ccb1426b54f038c1986f05838424bf91f;p=yangtools.git diff --git a/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/NodeModification.java b/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/NodeModification.java index 8e92ff1f22..225a931ec0 100644 --- a/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/NodeModification.java +++ b/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/NodeModification.java @@ -7,11 +7,10 @@ */ package org.opendaylight.yangtools.yang.data.impl.schema.tree; - import com.google.common.base.Optional; +import java.util.Collection; import org.opendaylight.yangtools.concepts.Identifiable; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument; -import org.opendaylight.yangtools.yang.data.api.schema.tree.ModificationType; import org.opendaylight.yangtools.yang.data.api.schema.tree.spi.TreeNode; /** @@ -23,9 +22,9 @@ abstract class NodeModification implements Identifiable { /** * Get the type of modification. * - * @return Modification type. + * @return Operation type. */ - abstract ModificationType getType(); + abstract LogicalOperation getOperation(); /** * Get the original tree node to which the modification is to be applied. @@ -38,7 +37,7 @@ abstract class NodeModification implements Identifiable { /** * Get a read-only view of children nodes. * - * @return Iterable of all children nodes. + * @return Collection of all children nodes. */ - abstract Iterable getChildren(); + abstract Collection getChildren(); }