BindObjectEqual (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.template.directive, class: BindObjectEqual

# Class BindObjectEqual

java.lang.Object
org.apache.cayenne.template.directive.BindObjectEqual

All Implemented Interfaces:
  `Directive`

Direct Known Subclasses:
  `BindObjectNotEqual`

public class BindObjectEqual extends Object implements Directive

Since:
  4.1

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final BindObjectEqual`
  `INSTANCE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BindObjectEqual()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `apply(Context context, ASTExpression... expressions)`
  `protected void`
  `render(Context context, ParameterBinding binding)`
  `protected void`
  `renderColumn(Context context, String columnName, int columnIndex)`
  `protected String[]`
  `toArray(Object columns)`
  `protected Map<String,Object>`
  `toIdMap(Object object)`

  ### Methods inherited from class Object

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

- ## Field Details

  - ### INSTANCE

    public static final BindObjectEqual INSTANCE

- ## Constructor Details

  - ### BindObjectEqual

    public BindObjectEqual()

- ## Method Details

  - ### apply

    public void apply(Context context, ASTExpression... expressions)
    Specified by:
      `apply` in interface `Directive`

  - ### renderColumn

    protected void renderColumn(Context context, String columnName, int columnIndex)

  - ### render

    protected void render(Context context, ParameterBinding binding)

  - ### toArray

    protected String[] toArray(Object columns)

  - ### toIdMap

    protected Map<String,Object> toIdMap(Object object)