|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.inria.ns.reflex.processor.asl.AbstractStepAction.ItemsLists
public class AbstractStepAction.ItemsLists
A set of items lists.
Constructor Summary | |
---|---|
AbstractStepAction.ItemsLists()
Create a new empty set of items lists. |
|
AbstractStepAction.ItemsLists(List items,
DataSet dataSet)
Create a new set of items lists. |
Method Summary | |
---|---|
void |
addToAssertionsList(AssertAction assertionItem)
Adds an item to the assertion list. |
void |
addToAttributesList(AttributeAction.Matcher attributeItem)
Adds an item to the attribute list. |
void |
addToContentMaterialList(ItemMatcher materialItem)
Adds an item to the content material list. |
void |
discard()
Indicates that this list must be discarded because an interim step has replaced it. |
void |
dispatchItems(List items,
DataSet dataSet)
Dispatches the assertions items and material items to their respective lists. |
List |
getListOfAssertions()
Return the assertions list. |
List |
getListOfAttributes()
Return the attributes list. |
List |
getListOfChoices()
Return the list of choices. |
List |
getListOfSelections()
Return the list of selections. |
List |
getListOfSequences()
Return the list of sequences. |
boolean |
hasBeenDiscarded()
Indicates whether this list has been discarded by an interim step or not. |
boolean |
hasBeenUsed()
Indicates whether a material of a list matched a candidate or not. |
boolean |
isEmpty()
Return true if all lists are empty, false otherwise. |
void |
unuse()
Indicates that this has not yet been used. |
void |
use()
Indicates that a material of a list matched a candidate. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractStepAction.ItemsLists()
public AbstractStepAction.ItemsLists(List items, DataSet dataSet)
items
- The list of items to dispatch to their respective list.dataSet
- The non-dispatched items will feed the context if a data set is provided.Method Detail |
---|
public boolean isEmpty()
public void use()
public void unuse()
public boolean hasBeenUsed()
public void discard()
public boolean hasBeenDiscarded()
public void dispatchItems(List items, DataSet dataSet)
items
- The list of items to dispatch. Items that are dispatched are
removed from this list.dataSet
- The non-dispatched items will feed the context if a data set is provided.public void addToAssertionsList(AssertAction assertionItem)
assertionItem
- The item to add.public void addToAttributesList(AttributeAction.Matcher attributeItem)
attributeItem
- The item to add.public void addToContentMaterialList(ItemMatcher materialItem)
materialItem
- The item to add.public List getListOfAssertions()
public List getListOfAttributes()
public List getListOfChoices()
public List getListOfSequences()
public List getListOfSelections()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |