PropertyVisitor (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.reflect, interface: PropertyVisitor

# Interface PropertyVisitor

public interface PropertyVisitor
A visitor for various types of properties in a ClassDescriptor. Helpful in defining operations that should be performed differently on different properties.

Since:
  3.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `visitAttribute(AttributeProperty property)`
  `boolean`
  `visitToMany(ToManyProperty property)`
  `boolean`
  `visitToOne(ToOneProperty property)`

- ## Method Details

  - ### visitAttribute

    boolean visitAttribute(AttributeProperty property)

  - ### visitToOne

    boolean visitToOne(ToOneProperty property)

  - ### visitToMany

    boolean visitToMany(ToManyProperty property)