# Uses of Interface
org.apache.cayenne.reflect.Accessor

Packages that use Accessor
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.reflect
org.apache.cayenne.reflect.generic
org.apache.cayenne.util
General utility classes.

- ## Uses of Accessor in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as Accessor
  Modifier and Type
  Field
  Description
  `protected Accessor`
  ToManyMapFault.`mapKeyAccessor`
  Constructors in org.apache.cayenne.access with parameters of type Accessor
  Modifier
  Constructor
  Description
  ``
  `ToManyMapFault(Accessor mapKeyAccessor)`

- ## Uses of Accessor in org.apache.cayenne.reflect

  Classes in org.apache.cayenne.reflect that implement Accessor
  Modifier and Type
  Class
  Description
  `class`
  `BeanAccessor`
  A property accessor that uses set/get methods following JavaBean naming conventions.
  `class`
  `EmbeddedFieldAccessor`
  An accessor for fields storing embedded objects.
  `class`
  `FieldAccessor`
  A PropertyAccessor that performs direct Field access.
  `class`
  `IdMapKeyAccessor`
  A stateless read-only accessor of the map key value that is based on the Persistent object id.
  `class`
  `MapAccessor`
  `class`
  `PropertyAccessor`
  A utility accessor class that wraps a simple property.
  Fields in org.apache.cayenne.reflect declared as Accessor
  Modifier and Type
  Field
  Description
  `protected Accessor`
  BaseProperty.`accessor`
  `protected Accessor`
  PropertyException.`accessor`
  `protected Accessor`
  EmbeddedFieldAccessor.`embeddableAccessor`
  `protected Accessor`
  EmbeddedFieldAccessor.`embeddedAccessor`
  `protected Accessor`
  FieldEmbeddableDescriptor.`embeddedPropertyAccessor`
  `protected Accessor`
  FieldEmbeddableDescriptor.`ownerAccessor`
  `protected Accessor`
  PersistentDescriptor.`persistenceStateAccessor`
  `static final Accessor`
  IdMapKeyAccessor.`SHARED_ACCESSOR`
  Fields in org.apache.cayenne.reflect with type parameters of type Accessor
  Modifier and Type
  Field
  Description
  `protected Map<Accessor,Fault>`
  SingletonFaultFactory.`mapFaults`
  Methods in org.apache.cayenne.reflect that return Accessor
  Modifier and Type
  Method
  Description
  `static Accessor`
  PropertyUtils.`accessor(String nestedPropertyName)`
  Compiles an accessor that can be used for fast access for the nested property of the objects of a given class.
  `Accessor`
  AccessorFactory.`createAccessor(Class<?> objectClass, String propertyName, Class<?> propertyType)`
  `protected Accessor`
  PersistentDescriptorFactory.`createAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType)`
  Creates an accessor for the property.
  `protected Accessor`
  PersistentDescriptorFactory.`createEmbeddableAccessor(EmbeddableDescriptor descriptor, String propertyName, Class<?> propertyType)`
  Creates an accessor for the property of the embeddable class.
  `protected Accessor`
  PersistentDescriptorFactory.`createMapKeyAccessor(ObjRelationship relationship, ClassDescriptor targetDescriptor)`
  Creates an accessor to read a map key for a given relationship.
  `Accessor`
  PropertyException.`getAccessor()`
  Returns property descriptor that was used to access the property.
  Methods in org.apache.cayenne.reflect with parameters of type Accessor
  Modifier and Type
  Method
  Description
  `Fault`
  FaultFactory.`getMapFault(Accessor mapKeyAccessor)`
  `Fault`
  SingletonFaultFactory.`getMapFault(Accessor mapKeyAccessor)`
  `void`
  PersistentDescriptor.`setPersistenceStateAccessor(Accessor persistenceStateAccessor)`
  Constructors in org.apache.cayenne.reflect with parameters of type Accessor
  Modifier
  Constructor
  Description
  ``
  `BaseArcProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, Accessor accessor, String reverseName)`
  ``
  `BaseProperty(ClassDescriptor owner, Accessor accessor)`
  ``
  `BaseToManyProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, Accessor accessor, String reverseName)`
  ``
  `BaseToOneProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, Accessor accessor, String reverseName)`
  ``
  `EmbeddedFieldAccessor(EmbeddableDescriptor embeddableDescriptor, Accessor embeddedAccessor, Accessor embeddableAccessor)`
  ``
  `PropertyException(String messageFormat, Accessor accessor, Object source, Object... messageArgs)`
  ``
  `PropertyException(String messageFormat, Accessor accessor, Object source, Throwable cause, Object... messageArgs)`
  ``
  `SimpleAttributeProperty(ClassDescriptor owner, Accessor accessor, ObjAttribute attribute)`

- ## Uses of Accessor in org.apache.cayenne.reflect.generic

  Methods in org.apache.cayenne.reflect.generic that return Accessor
  Modifier and Type
  Method
  Description
  `protected Accessor`
  DataObjectDescriptorFactory.`createAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType)`

- ## Uses of Accessor in org.apache.cayenne.util

  Fields in org.apache.cayenne.util declared as Accessor
  Modifier and Type
  Field
  Description
  `protected Accessor`
  PersistentObjectMap.`mapKeyAccessor`
  Constructors in org.apache.cayenne.util with parameters of type Accessor
  Modifier
  Constructor
  Description
  ``
  `PersistentObjectMap(Persistent relationshipOwner, String relationshipName, Accessor mapKeyAccessor)`
  Creates PersistentObjectList initializing it with list owner persistent object and relationship name that this list maps to.