Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.property
Class IndexedListProperty

    java.lang.Object
      org.apache.cayenne.property.SimpleProperty
          org.apache.cayenne.property.AbstractSingleObjectArcProperty
              org.apache.cayenne.property.AbstractCollectionProperty
                  org.apache.cayenne.property.ListProperty
                      org.apache.cayenne.property.IndexedListProperty

All Implemented Interfaces:
  java.io.Serializable, ArcProperty, CollectionProperty, Property, PropertyAccessor, SingleObjectArcProperty

    public class IndexedListProperty

extends ListProperty

A CollectionProperty that uses IndexPropertyList.

Since:
  1.2
Author:
  Andrus Adamchik
See Also:
  Serialized Form

Field Summary
`protected java.lang.String` | `indexPropertyName`

Fields inherited from class org.apache.cayenne.property.AbstractSingleObjectArcProperty
`complimentaryReverseArcName, targetDescriptor`

Fields inherited from class org.apache.cayenne.property.SimpleProperty
`accessor, owner`

Constructor Summary
`IndexedListProperty(ClassDescriptor owner, ClassDescriptor targetDescriptor, PropertyAccessor accessor, java.lang.String reverseName, java.lang.String indexPropertyName)`

Method Summary
`protected ValueHolder` | `createCollectionValueHolder(java.lang.Object object)` Creates a List indexed on a specified property.

Methods inherited from class org.apache.cayenne.property.ListProperty
`isFault`

Methods inherited from class org.apache.cayenne.property.AbstractCollectionProperty
`addTarget, ensureCollectionValueHolderSet, injectValueHolder, readProperty, removeTarget, shallowMerge, visit, writePropertyDirectly`

Methods inherited from class org.apache.cayenne.property.AbstractSingleObjectArcProperty
`getComplimentaryReverseArc, getTargetDescriptor, setReverse, setTarget`

Methods inherited from class org.apache.cayenne.property.SimpleProperty
`getName, readPropertyDirectly, writeProperty`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.apache.cayenne.property.ArcProperty
`getComplimentaryReverseArc, getTargetDescriptor`

Methods inherited from interface org.apache.cayenne.property.Property
`writeProperty`

Methods inherited from interface org.apache.cayenne.property.PropertyAccessor
`getName, readPropertyDirectly`

Field Detail

### indexPropertyName

    protected java.lang.String indexPropertyName

Constructor Detail

### IndexedListProperty

    public IndexedListProperty(ClassDescriptor owner,
                               ClassDescriptor targetDescriptor,
                               PropertyAccessor accessor,
                               java.lang.String reverseName,
                               java.lang.String indexPropertyName)

Method Detail

### createCollectionValueHolder

    protected ValueHolder createCollectionValueHolder(java.lang.Object object)
                                               throws PropertyAccessException

  Creates a List indexed on a specified property.

  Overrides:
    `createCollectionValueHolder` in class `ListProperty`
  Throws:
    `PropertyAccessException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.