Interface ChildNodeEntry

All Known Implementing Classes:
AbstractChildNodeEntry, MemoryChildNodeEntry

public interface ChildNodeEntry
A ChildNodeEntry instance represents the child node states of a NodeState.

Equality and hash codes

Two child node entries are considered equal if and only if their names and referenced node states match. The 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 Object.hashCode() method should still be implemented according to this equality contract.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.jackrabbit.guava.common.base.Function<ChildNodeEntry,String>
    Mapping from a ChildNodeEntry instance to its name.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    The name of the child node state wrt.
    @NotNull NodeState
    The child node state
  • Field Details

    • GET_NAME

      static final org.apache.jackrabbit.guava.common.base.Function<ChildNodeEntry,String> GET_NAME
      Mapping from a ChildNodeEntry instance to its name.
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      The name of the child node state wrt. to its parent state.
      Returns:
      name of the child node
    • getNodeState

      @NotNull @NotNull NodeState getNodeState()
      The child node state
      Returns:
      child node state