# Uses of Class
org.apache.cayenne.reflect.PropertyException

Packages that use PropertyException
Package
Description
org.apache.cayenne.reflect
org.apache.cayenne.reflect.generic

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

  Methods in org.apache.cayenne.reflect that throw PropertyException
  Modifier and Type
  Method
  Description
  `void`
  ToManyProperty.`addTarget(Object source, Object target, boolean setReverse)`
  `void`
  BaseToManyProperty.`addTargetDirectly(Object source, Object target)`
  `void`
  ToManyProperty.`addTargetDirectly(Object source, Object target)`
  Adds value to collection, without triggering changing events This method is mostly for internal use
  `protected Accessor`
  PersistentDescriptorFactory.`createAccessor(PersistentDescriptor descriptor, String propertyName, Class<?> propertyType)`
  Creates an accessor for the property.
  `protected abstract ValueHolder`
  BaseToManyProperty.`createCollectionValueHolder(Object object)`
  Creates a Collection for an object.
  `protected ValueHolder`
  BaseToManyProperty.`ensureCollectionValueHolderSet(Object object)`
  Checks that an object's List field described by this property is set, injecting a List if needed.
  `Object`
  ToManyMapProperty.`getMapKey(Object target)`
  Extracts the map key of the target object.
  `Object`
  Accessor.`getValue(Object object)`
  Returns a property value of an object without disturbing the object fault status.
  `Object`
  BeanAccessor.`getValue(Object object)`
  `Object`
  EmbeddedFieldAccessor.`getValue(Object object)`
  `Object`
  FieldAccessor.`getValue(Object object)`
  `Object`
  IdMapKeyAccessor.`getValue(Object object)`
  `Object`
  PropertyAccessor.`getValue(Object object)`
  `void`
  BaseProperty.`injectValueHolder(Object object)`
  Does nothing.
  `void`
  BaseToManyProperty.`injectValueHolder(Object object)`
  Injects a List in the object if it hasn't been done yet.
  `void`
  PropertyDescriptor.`injectValueHolder(Object object)`
  If a property is implemented as a ValueHolder, this operation would create an unfaulted value holder and inject it into the object, if an object doesn't have it set yet.
  `void`
  ClassDescriptor.`injectValueHolders(Object object)`
  Prepares object properties for access.
  `void`
  LazyClassDescriptorDecorator.`injectValueHolders(Object object)`
  `void`
  PersistentDescriptor.`injectValueHolders(Object object)`
  Invokes 'prepareForAccess' of a super descriptor and then invokes 'prepareForAccess' of each declared property.
  `Object`
  BaseProperty.`readProperty(Object object)`
  `Object`
  BaseToManyProperty.`readProperty(Object object)`
  `Object`
  PropertyDescriptor.`readProperty(Object object)`
  Returns a property value, inflating unresolved object if need.
  `Object`
  SimpleAttributeProperty.`readProperty(Object object)`
  `Object`
  BaseProperty.`readPropertyDirectly(Object object)`
  `Object`
  PropertyDescriptor.`readPropertyDirectly(Object object)`
  Returns a property value of an object without disturbing the object fault status.
  `void`
  ToManyProperty.`removeTarget(Object source, Object target, boolean setReverse)`
  `void`
  BaseToManyProperty.`removeTargetDirectly(Object source, Object target)`
  `void`
  ToManyProperty.`removeTargetDirectly(Object source, Object target)`
  Removes value from collection, without triggering changing events This method is mostly for internal use
  `protected void`
  SimpleAttributeProperty.`resolveFault(Object object)`
  `void`
  Accessor.`setValue(Object object, Object newValue)`
  Sets a property value of an object without disturbing the object fault status.
  `void`
  BeanAccessor.`setValue(Object object, Object newValue)`
  `void`
  EmbeddedFieldAccessor.`setValue(Object object, Object newValue)`
  `void`
  FieldAccessor.`setValue(Object object, Object newValue)`
  `void`
  IdMapKeyAccessor.`setValue(Object object, Object newValue)`
  `void`
  PropertyAccessor.`setValue(Object object, Object newValue)`
  `void`
  ClassDescriptor.`shallowMerge(Object from, Object to)`
  Merges object properties from one object to another, avoiding traversal of the ArcProperties.
  `void`
  LazyClassDescriptorDecorator.`shallowMerge(Object from, Object to)`
  `void`
  PersistentDescriptor.`shallowMerge(Object from, Object to)`
  Copies object properties from one object to another.
  `void`
  BaseProperty.`writeProperty(Object object, Object oldValue, Object newValue)`
  `void`
  PropertyDescriptor.`writeProperty(Object object, Object oldValue, Object newValue)`
  Sets a property value, inflating unresolved object if need.
  `void`
  SimpleAttributeProperty.`writeProperty(Object object, Object oldValue, Object newValue)`
  `void`
  BaseProperty.`writePropertyDirectly(Object object, Object oldValue, Object newValue)`
  `void`
  BaseToManyProperty.`writePropertyDirectly(Object object, Object oldValue, Object newValue)`
  Wraps list in a value holder that performs lazy faulting.
  `void`
  PropertyDescriptor.`writePropertyDirectly(Object object, Object oldValue, Object newValue)`
  Sets a property value of an object without disturbing the object fault status.

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

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