org.apache.jackrabbit.ocm.manager.collectionconverter.impl
Class ManageableCollectionImpl

java.lang.Object
  extended by org.apache.jackrabbit.ocm.manager.collectionconverter.impl.ManageableCollectionImpl
All Implemented Interfaces:
ManageableCollection, ManageableObjects

public class ManageableCollectionImpl
extends Object
implements ManageableCollection

ManageableCollection ArrayList implementation

Author:
Christophe Lombart

Constructor Summary
ManageableCollectionImpl(Collection collection)
           
 
Method Summary
 void addObject(Object object)
          Add an object into this ManageableCollection
 Iterator getIterator()
           
 Collection getObjects()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManageableCollectionImpl

public ManageableCollectionImpl(Collection collection)
Method Detail

addObject

public void addObject(Object object)
Description copied from interface: ManageableCollection
Add an object into this ManageableCollection

Specified by:
addObject in interface ManageableCollection
Parameters:
object - the object to add
See Also:
ManageableCollection.addObject(java.lang.Object)

getIterator

public Iterator getIterator()
Specified by:
getIterator in interface ManageableObjects
Returns:
The ManageableCollection iterator
See Also:
ManageableObjects.getIterator()

getSize

public int getSize()
Specified by:
getSize in interface ManageableObjects
Returns:
The ManageableCollection size
See Also:
ManageableObjects.getSize()

getObjects

public Collection getObjects()
Specified by:
getObjects in interface ManageableObjects
Returns:
The objects managed by the underlying Collection or Map


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.