com.fg.ftreenodes
Interface Params

All Known Implementing Classes:
ListParams, MapParams

public interface Params

Params interface declares methods for accessing a List and a Map of parameters.

Version:
1.0
Author:
Felix Golubov
See Also:
ICellControl

Field Summary
static Params empty
          An empty implementation of the Params interface.
 
Method Summary
 java.util.List getList()
          Method returns a java.util.List of unnamed parameters or null if there are no unnamed parameters.
 java.util.Map getMap()
          Method returns a java.util.Map of named parameters or null if there are no named parameters.
 

Field Detail

empty

public static final Params empty
An empty implementation of the Params interface. Both getList() and getMap() methods return null.

Method Detail

getList

public java.util.List getList()
Method returns a java.util.List of unnamed parameters or null if there are no unnamed parameters.

Returns:
a java.util.List of parameters or null if there are no such parameters.

getMap

public java.util.Map getMap()
Method returns a java.util.Map of named parameters or null if there are no named parameters.

Returns:
a java.util.Map of named parameters or null if there are no named parameters.