com.togethersoft.openapi.rwi.extension
Class RwiPropertyEnumerationAdapter


public class RwiPropertyEnumerationAdapter
implements RwiPropertyEnumeration

Presents default implementation of RwiPropertyEnumeration. This enumeration containes a number of String values for one property name.

Author:
TogetherSoft

Constructor Summary
RwiPropertyEnumerationAdapter(String propertyName, Enumeration adaptee)
           Builds new enumeration from existing.

Method Summary
 booleanhasMoreElements()
           Checks are there more RwiElements in enumeration.
 ObjectnextElement()
           Return next RwiProperty as an Object.
 RwiPropertynextRwiProperty()
           Return next RwiProperty as an RwiProperty.

Constructor Detail

RwiPropertyEnumerationAdapter

public RwiPropertyEnumerationAdapter(String propertyName, Enumeration adaptee)
Builds new enumeration from existing.
Parameters:
adaptee - Enumeration to be adapted.
propertyName - One for all values.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Checks are there more RwiElements in enumeration.

nextElement

public Object nextElement()
Return next RwiProperty as an Object.

nextRwiProperty

public RwiProperty nextRwiProperty()
Return next RwiProperty as an RwiProperty.

Association Links

to Class java.lang.String