/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.jackrabbit.oak.spi.state;


import javax.annotation.Nonnull;

/**
 * TODO: document OR replace by mk.model ChildNodeEntry interface
 *
 * <h2>Equality and hash codes</h2>
 * <p>
 * Two child node entries are considered equal if and only if their names
 * and referenced node states match. The {@link Object#equals(Object)}
 * method needs to be implemented so that it complies with this definition.
 * And while child node entries are not meant for use as hash keys, the
 * {@link Object#hashCode()} method should still be implemented according
 * to this equality contract.
 */
public interface ChildNodeEntry {

    /**
     * TODO: document
     */
    @Nonnull
    String getName();

    /**
     * TODO: document
     */
    @Nonnull
    NodeState getNodeState();

}

@@ -887,45 +887,16 @@
 %0A * 
-TODO: document OR replace by mk.m
+A %7B@c
 ode
-l
  Chi
@@ -910,21 +910,78 @@
 ntry
+%7D
  in
-terface%0A *
+stance represents the child node states of a%0A * %7B@link NodeState%7D.
 %0A * 
@@ -1468,37 +1468,120 @@
 /**%0A     * T
-ODO: document
+he name of the child node state wrt. to its parent state.%0A     * @return  name of the child node
 %0A     */%0A   
@@ -1633,21 +1633,59 @@
  * T
-ODO: document
+he child node state%0A     * @return child node state
 %0A   

Define Oak API javadoc