## 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 and Description
    --- | ---
    `protected Accessor` | ToManyMapFault.`mapKeyAccessor`

    Constructors in org.apache.cayenne.access with parameters of type Accessor
    Constructor and 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 and 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` | `PropertyAccessor` A utility accessor class that wraps a simple property.

    Fields in org.apache.cayenne.reflect declared as Accessor
    Modifier and Type | Field and 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 Accessor` | IdMapKeyAccessor.`SHARED_ACCESSOR`

    Fields in org.apache.cayenne.reflect with type parameters of type Accessor
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<Accessor,Fault>` | SingletonFaultFactory.`mapFaults`

    Methods in org.apache.cayenne.reflect that return Accessor
    Modifier and Type | Method and Description
    --- | ---
    `static Accessor` | PropertyUtils.`createAccessor(Class<?> objectClass, String nestedPropertyName)` Compiles an accessor that can be used for fast access for the nested property of the objects of a given class.
    `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 and 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
    Constructor and 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 and 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 and Description
    --- | ---
    `protected Accessor` | PersistentObjectMap.`mapKeyAccessor`

    Constructors in org.apache.cayenne.util with parameters of type Accessor
    Constructor and 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.

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