org.openejb.entity.cmp
Class RelationshipSet

java.lang.Object
  extended byorg.openejb.entity.cmp.RelationshipSet
All Implemented Interfaces:
Collection, Set

public class RelationshipSet
extends Object
implements Set

Version:
$Revision: 1.2 $ $Date: 2004/03/21 21:26:35 $

Constructor Summary
RelationshipSet(CMPInstanceContext context, int slot, GenericEJBContainer relatedContainer, Collection keys)
           
 
Method Summary
 boolean add(Object o)
           
 boolean addAll(Collection c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection c)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[] a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Constructor Detail

RelationshipSet

public RelationshipSet(CMPInstanceContext context,
                       int slot,
                       GenericEJBContainer relatedContainer,
                       Collection keys)
Method Detail

size

public int size()
Specified by:
size in interface Set

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Set

contains

public boolean contains(Object o)
Specified by:
contains in interface Set

iterator

public Iterator iterator()
Specified by:
iterator in interface Set

toArray

public Object[] toArray()
Specified by:
toArray in interface Set

toArray

public Object[] toArray(Object[] a)
Specified by:
toArray in interface Set

add

public boolean add(Object o)
Specified by:
add in interface Set

remove

public boolean remove(Object o)
Specified by:
remove in interface Set

containsAll

public boolean containsAll(Collection c)
Specified by:
containsAll in interface Set

addAll

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

retainAll

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

removeAll

public boolean removeAll(Collection c)
Specified by:
removeAll in interface Set

clear

public void clear()
Specified by:
clear in interface Set


Copyright © 1999-2005 OpenEJB. All Rights Reserved.