org.apache.openejb.core.cmp.cmp2
Class CmrSet<Bean extends javax.ejb.EntityBean,Proxy extends javax.ejb.EJBLocalObject>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
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
CmrSet
public CmrSet(javax.ejb.EntityBean source,
String sourceProperty,
BeanContext relatedInfo,
String relatedProperty,
Collection<Bean> relatedBeans)
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–2015 The Apache Software Foundation. All rights reserved.