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:
- java.lang.Iterable, java.util.Collection, java.util.Set
public class CmrSet<Bean extends javax.ejb.EntityBean,Proxy extends javax.ejb.EJBLocalObject>
- extends java.util.AbstractSet
Constructor Summary |
CmrSet(javax.ejb.EntityBean source,
java.lang.String sourceProperty,
CoreDeploymentInfo relatedInfo,
java.lang.String relatedProperty,
java.util.Collection<Bean> relatedBeans)
|
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 |
CmrSet
public CmrSet(javax.ejb.EntityBean source,
java.lang.String sourceProperty,
CoreDeploymentInfo relatedInfo,
java.lang.String relatedProperty,
java.util.Collection<Bean> relatedBeans)
entityDeleted
protected void entityDeleted()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection
- Specified by:
isEmpty
in interface java.util.Set
- Overrides:
isEmpty
in class java.util.AbstractCollection
size
public int size()
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.Set
- Specified by:
size
in class java.util.AbstractCollection
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection
- Specified by:
contains
in interface java.util.Set
- Overrides:
contains
in class java.util.AbstractCollection
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAll
in interface java.util.Collection
- Specified by:
addAll
in interface java.util.Set
- Overrides:
addAll
in class java.util.AbstractCollection
add
public boolean add(java.lang.Object proxy)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- Overrides:
add
in class java.util.AbstractCollection
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
- Overrides:
remove
in class java.util.AbstractCollection
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll
in interface java.util.Collection
- Specified by:
retainAll
in interface java.util.Set
- Overrides:
retainAll
in class java.util.AbstractCollection
iterator
public java.util.Iterator<Proxy> iterator()
- Specified by:
iterator
in interface java.lang.Iterable
- Specified by:
iterator
in interface java.util.Collection
- Specified by:
iterator
in interface java.util.Set
- Specified by:
iterator
in class java.util.AbstractCollection
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.