|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.lib.CollectionEnum
This class implements the java.util.Enumeration and the java.io.Serializable interfaces.
This class is used as the return value type of the implementation of the finder methods
which return a collection.
Indeed, the EJB spec. tells that the type for a collection is the java.util.Enumeration.
In addition the return value type must be legal type for Java RMI (ie. serializable type).
Constructor Summary | |
CollectionEnum()
Create an empty CollectionEnum |
|
CollectionEnum(java.util.Vector v)
Create a CollectionEnum from a vector |
Method Summary | |
void |
addElement(java.lang.Object obj)
Add an element |
boolean |
hasMoreElements()
Implements Enumeration.hasMoreElements() |
java.lang.Object |
nextElement()
Implements Enumeration.nextElement() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CollectionEnum()
public CollectionEnum(java.util.Vector v)
Method Detail |
public void addElement(java.lang.Object obj)
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |