com.mlw.vlh.adapter
Class ConfigurationAdapter

java.lang.Object
  |
  +--com.mlw.vlh.adapter.ConfigurationAdapter
All Implemented Interfaces:
ValueListAdapter

public class ConfigurationAdapter
extends java.lang.Object
implements ValueListAdapter

Author:
Matthew Wilson

Nested Class Summary
 class ConfigurationAdapter.AdapterInfo
           
 
Field Summary
 
Fields inherited from interface com.mlw.vlh.ValueListAdapter
DO_FILTER, DO_NOTHING, DO_PAGE, DO_SORT
 
Constructor Summary
ConfigurationAdapter(java.util.Map adapters)
          Creates a new instance of ConfigurationAdapter
 
Method Summary
 int getAdapterType()
          This method tells the Service what still needs to be done on the Collection before returning the data.
 ValueList getValueList(ValueListInfo info)
          Gets a ValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationAdapter

public ConfigurationAdapter(java.util.Map adapters)
Creates a new instance of ConfigurationAdapter

Method Detail

getAdapterType

public int getAdapterType()
Description copied from interface: ValueListAdapter
This method tells the Service what still needs to be done on the Collection before returning the data.

Specified by:
getAdapterType in interface ValueListAdapter
Returns:
A bitwise or combination of DO_NOTHING, DO_SORT, DO_PAGE and DO_FILTER. For example:
           public int getAdapterType(){
             retuyrnDO_SORT && DO_PAGE;
           }
See Also:
com.mlw.vlh.ValueListAdapter.getAdapterType()

getValueList

public ValueList getValueList(ValueListInfo info)
Description copied from interface: ValueListAdapter
Gets a ValueList

Specified by:
getValueList in interface ValueListAdapter
Parameters:
info - The ValueList information
Returns:
The ValueList
See Also:
com.mlw.vlh.ValueListAdapter.getValueList(ValueListInfo info)


Copyright © 2003 mlavilson. All Rights Reserved.