org.chromattic.core.mapper.onetomany.reference
Class ReferentCollection

java.lang.Object
  extended by java.util.AbstractCollection<Object>
      extended by org.chromattic.core.mapper.onetomany.reference.ReferentCollection
All Implemented Interfaces:
Iterable<Object>, Collection<Object>

public class ReferentCollection
extends AbstractCollection<Object>

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
ReferentCollection(EntityContext context, JCRReferentCollectionPropertyMapper mapper)
           
 
Method Summary
 boolean add(Object o)
           
 Iterator<Object> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

ReferentCollection

public ReferentCollection(EntityContext context,
                          JCRReferentCollectionPropertyMapper mapper)
Method Detail

add

public boolean add(Object o)
Specified by:
add in interface Collection<Object>
Overrides:
add in class AbstractCollection<Object>

iterator

public Iterator<Object> iterator()
Specified by:
iterator in interface Iterable<Object>
Specified by:
iterator in interface Collection<Object>
Specified by:
iterator in class AbstractCollection<Object>

size

public int size()
Specified by:
size in interface Collection<Object>
Specified by:
size in class AbstractCollection<Object>


Copyright © 2009 eXo Platform SAS. All Rights Reserved.