|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.Ordering
Ordering is a list of Ordering.Entry, which contains the information to sort the result of
a Filter.
| Nested Class Summary | |
class |
Ordering.Entry
Element with the information to sort an specific variable. |
| Constructor Summary | |
Ordering()
Creates a new Ordering object. |
|
| Method Summary | |
int |
add(Ordering.Entry entry)
Appends the specified Ordering.Entry to sort. |
int |
add(String variableId,
boolean ascending)
Appends the specified variable Id to sort and if sorting in ascending order. |
int |
add(VarDefinition variable,
boolean ascending)
Appends the specified VarDefinition to sort and if sorting in ascending order. |
void |
clear()
Removes all of the elements from this list. |
boolean |
contains(Ordering.Entry entry)
Returns true if this list contains the specified Ordering.Entry. |
boolean |
contains(String variableId)
Returns true if this list contains the specified variable Id. |
Ordering |
copy()
Returns a copy of the current instance. |
Ordering.Entry |
getEntry(int index)
Returns the element at the specified position in this list. |
int |
getEntryCount()
Returns the number of elements in this list. |
int |
indexOf(Ordering.Entry entry)
Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element. |
boolean |
isEmpty()
Returns true if this list contains no elements. |
Ordering.Entry |
removeEntry(int index)
Removes the element at the specified position in this list. |
boolean |
removeEntry(Ordering.Entry entry)
Removes the first occurrence in this list of the specified element (optional operation). |
int |
update(String variableId,
boolean ascending)
Updates the ascending order for the specified variable. |
int |
update(VarDefinition variable,
boolean ascending)
Updates the ascending order for the specified variable. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Ordering()
| Method Detail |
public boolean isEmpty()
public Ordering.Entry getEntry(int index)
index - index of element to return.
IndexOutOfBoundsException - if the index is out of range (index
< 0 || index >= size()).public int getEntryCount()
public int add(VarDefinition variable,
boolean ascending)
variable - VarDefinition to be appended to sort.ascending - true if you sort in ascending order.
public int add(String variableId,
boolean ascending)
variableId - variable Id to be appended to sort.ascending - true if you sort in ascending order.
public int add(Ordering.Entry entry)
entry - element to be appended to sort.
public int update(String variableId,
boolean ascending)
variableId - variable Id to update.ascending - true if you sort in ascending order.
public int update(VarDefinition variable,
boolean ascending)
variable - VarDefinition to update.ascending - true if you sort in ascending order.
public void clear()
public boolean contains(String variableId)
variableId - variable Id whose presence in this list is to be tested.
public boolean contains(Ordering.Entry entry)
entry - Ordering.Entry whose presence in this list is to be tested.
public Ordering copy()
public int indexOf(Ordering.Entry entry)
entry - element to search for.
public boolean removeEntry(Ordering.Entry entry)
entry - element to be removed from this list, if present.
public Ordering.Entry removeEntry(int index)
index - the index of the element to removed.
|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||