PerAttributeChildProcessor (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access.sqlbuilder.sqltree, class: PerAttributeChildProcessor

# 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 ChildProcessor

  `EMPTY`
  Modifier and Type
  Field
  Description
  `static final ChildProcessor<?>`
  `EMPTY`

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<Node>`
  `process(Node parent, T child, int index)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### PerAttributeChildProcessor

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

- ## Method Details

  - ### process

    public Optional<Node> process(Node parent, T child, int index)
    Specified by:
      `process` in interface `ChildProcessor<T extends Node>`