|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.FilterItemListToSimpleList
public class FilterItemListToSimpleList
This class is used to wrapper a List of FilterItems so that it can be manipulated as a List of TestNodes.
Field Summary |
---|
Fields inherited from class com.sas.dataselectors.filters.AbstractFilterItemSimpleListBase |
---|
_filterItemList, _filterTestNodeList |
Constructor Summary | |
---|---|
FilterItemListToSimpleList(java.util.List listOfFilterItems,
FilterItemListInterface filterItemList,
boolean enforceAsAllSameType,
FilterObjectFactoryInterface filterObjectFactory)
Constructs a new simple list from the given parameters. |
Method Summary | |
---|---|
protected void |
addTestNodeAt(int index,
FilterLogicTestNodeInterface testNode)
Adds the given test node at the specified location in the list. |
boolean |
commitChanges()
Commits any changes in the filter model to the underlying native model. |
FilterLogicListInterface |
getFilterLogicList()
Returns the filter logic list. |
java.lang.Object |
getRootFilterObject()
Returns the native filter object. |
protected java.lang.Object |
getTestNodeAt(int index)
Returns the test node at the specified location in the list. |
protected java.lang.Object |
removeTestNodeAt(int index)
Removes and returns the test node at the specified index in the list. |
protected java.lang.Object |
setTestNodeAt(int index,
FilterLogicTestNodeInterface testNode)
Assigns the given test node at the specified location in the list. |
Methods inherited from class com.sas.dataselectors.filters.AbstractFilterItemSimpleListBase |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, getFilterItemList, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Constructor Detail |
---|
public FilterItemListToSimpleList(java.util.List listOfFilterItems, FilterItemListInterface filterItemList, boolean enforceAsAllSameType, FilterObjectFactoryInterface filterObjectFactory)
listOfFilterItems
- the list of native model filter items to processfilterItemList
- the list of items in the filter modelenforceAsAllSameType
- flag for restricting logical conditionsfilterObjectFactory
- the object factory used during conversions between the
filter model and native modelMethod Detail |
---|
public FilterLogicListInterface getFilterLogicList()
public boolean commitChanges()
commitChanges
in interface SimpleLogicListInterface
commitChanges
in class AbstractFilterItemSimpleListBase
public java.lang.Object getRootFilterObject()
getRootFilterObject
in interface SimpleLogicListInterface
getRootFilterObject
in class AbstractFilterItemSimpleListBase
protected java.lang.Object setTestNodeAt(int index, FilterLogicTestNodeInterface testNode)
setTestNodeAt
in class AbstractFilterItemSimpleListBase
index
- the index in the list to assign the test nodetestNode
- the test node to assign to the list
protected java.lang.Object removeTestNodeAt(int index)
removeTestNodeAt
in class AbstractFilterItemSimpleListBase
index
- the index in the list of the target test node
protected void addTestNodeAt(int index, FilterLogicTestNodeInterface testNode)
addTestNodeAt
in class AbstractFilterItemSimpleListBase
index
- the index in the list to add the test nodetestNode
- the test node to assign to the listprotected java.lang.Object getTestNodeAt(int index)
getTestNodeAt
in class AbstractFilterItemSimpleListBase
index
- the index in the list of the target test node
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |