org.apache.openejb.core.cmp.cmp2
Class CmrSet<Bean extends javax.ejb.EntityBean,Proxy extends javax.ejb.EJBLocalObject>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by org.apache.openejb.core.cmp.cmp2.CmrSet<Bean,Proxy>
All Implemented Interfaces:
Iterable, Collection, Set

public class CmrSet<Bean extends javax.ejb.EntityBean,Proxy extends javax.ejb.EJBLocalObject>
extends AbstractSet


Constructor Summary
CmrSet(javax.ejb.EntityBean source, String sourceProperty, CoreDeploymentInfo relatedInfo, String relatedProperty, Collection<Bean> relatedBeans)
           
 
Method Summary
 boolean add(Object proxy)
           
 boolean addAll(Collection c)
           
 boolean contains(Object o)
           
protected  void entityDeleted()
           
 boolean isEmpty()
           
 Iterator<Proxy> iterator()
           
 boolean remove(Object o)
           
 boolean retainAll(Collection c)
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
clear, containsAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
clear, containsAll, toArray, toArray
 

Constructor Detail

CmrSet

public CmrSet(javax.ejb.EntityBean source,
              String sourceProperty,
              CoreDeploymentInfo relatedInfo,
              String relatedProperty,
              Collection<Bean> relatedBeans)
Method Detail

entityDeleted

protected void entityDeleted()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface Set
Overrides:
isEmpty in class AbstractCollection

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface Set
Specified by:
size in class AbstractCollection

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface Set
Overrides:
contains in class AbstractCollection

addAll

public boolean addAll(Collection c)
Specified by:
addAll in interface Collection
Specified by:
addAll in interface Set
Overrides:
addAll in class AbstractCollection

add

public boolean add(Object proxy)
Specified by:
add in interface Collection
Specified by:
add in interface Set
Overrides:
add in class AbstractCollection

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection
Specified by:
remove in interface Set
Overrides:
remove in class AbstractCollection

retainAll

public boolean retainAll(Collection c)
Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface Set
Overrides:
retainAll in class AbstractCollection

iterator

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


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.