org.apache.geronimo.gbean
Class SingleElementCollection

java.lang.Object
  extended by org.apache.geronimo.gbean.SingleElementCollection

public class SingleElementCollection
extends Object

A wrapper around a reference collection to simulate a 0..1 reference


Constructor Summary
SingleElementCollection(Collection collection)
           
SingleElementCollection(Object element)
           
 
Method Summary
 Object getElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleElementCollection

public SingleElementCollection(Object element)

SingleElementCollection

public SingleElementCollection(Collection collection)
Method Detail

getElement

public Object getElement()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.