# Uses of Interface
org.apache.cayenne.ValueHolder

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

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

  Classes in org.apache.cayenne.access that implement ValueHolder
  Modifier and Type
  Class
  Description
  `class`
  `ToManyList<E>`
  A list that holds objects for to-many relationships.
  `class`
  `ToManySet<E>`

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

  Methods in org.apache.cayenne.reflect that return ValueHolder
  Modifier and Type
  Method
  Description
  `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.

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

  Classes in org.apache.cayenne.util that implement ValueHolder
  Modifier and Type
  Class
  Description
  `class`
  `IndexPropertyList`
  A List implementation that would maintain its internal ordering based on some object numeric "index" property.
  `class`
  `PersistentObjectHolder<E>`
  A ValueHolder implementation that holds a single Persistent object related to an object used to initialize PersistentObjectHolder.
  `class`
  `PersistentObjectList<E>`
  A list of persistent objects lazily resolved on the first access.
  `class`
  `PersistentObjectMap`
  `class`
  `PersistentObjectSet<E>`