org.apache.cayenne.access.sqlbuilder.sqltree

## Class PerAttributeChildProcessor<T extends Node>

- java.lang.Object
- - org.apache.cayenne.access.sqlbuilder.sqltree.PerAttributeChildProcessor<T>

- Type Parameters:
    `T` - type of the node to process
  All Implemented Interfaces:
    ChildProcessor<T>

      public class PerAttributeChildProcessor<T extends Node>
      extends Object
      implements ChildProcessor<T>

  Since:
    4.2

- - ### Field Summary

    - ### Fields inherited from interface org.apache.cayenne.access.sqlbuilder.sqltree.ChildProcessor

      `EMPTY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PerAttributeChildProcessor(Function<T,DbAttribute> attributeMapper, Function<DbAttribute,ChildProcessor<T>> processorFactory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Node>` | `process(Node parent, T child, int index)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PerAttributeChildProcessor

          public PerAttributeChildProcessor(Function<T,DbAttribute> attributeMapper,
                                            Function<DbAttribute,ChildProcessor<T>> processorFactory)

  - ### Method Detail

    - #### process

          public Optional<Node> process(Node parent,
                                        T child,
                                        int index)

      Specified by:
        `process` in interface `ChildProcessor<T extends Node>`

Copyright © 2001–2021 Apache Cayenne. All rights reserved.