ALBPM Process API

fuego.papi
Class Ordering

java.lang.Object
  extended by fuego.papi.Ordering
All Implemented Interfaces:
Serializable

public class Ordering
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
 class Ordering.Entry
           
 
Constructor Summary
Ordering()
           
 
Method Summary
 int add(Ordering.Entry entry)
           
 int add(String variableId, boolean ascending)
           
 int add(VarDefinition variable, boolean ascending)
           
 void clear()
           
 boolean contains(Ordering.Entry entry)
           
 boolean contains(String variableId)
           
 Ordering copy()
           
 boolean equals(Object that)
           
 Ordering.Entry getEntry(int index)
           
 Ordering.Entry getEntry(String variableId)
           
 int getEntryCount()
           
 int indexOf(Ordering.Entry entry)
           
 boolean isEmpty()
           
 Ordering.Entry removeEntry(int index)
           
 boolean removeEntry(Ordering.Entry entry)
           
 boolean removeEntry(String variableId)
           
 Ordering.Entry[] toArray()
           
 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
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ordering

public Ordering()
Method Detail

isEmpty

public boolean isEmpty()

getEntry

public Ordering.Entry getEntry(int index)

getEntry

public Ordering.Entry getEntry(String variableId)

removeEntry

public boolean removeEntry(String variableId)

getEntryCount

public int getEntryCount()

add

public int add(VarDefinition variable,
               boolean ascending)

add

public int add(String variableId,
               boolean ascending)

add

public int add(Ordering.Entry entry)

update

public int update(String variableId,
                  boolean ascending)
Updates the ascending order for the specified variable.

Parameters:
variableId - variable Id to update.
ascending - true if you sort in ascending order.
Returns:
the position of the element in the list or -1 if not exist.

update

public int update(VarDefinition variable,
                  boolean ascending)
Updates the ascending order for the specified variable.

Parameters:
variable - VarDefinition to update.
ascending - true if you sort in ascending order.
Returns:
the position of the element in the list or -1 if not exist.

clear

public void clear()

contains

public boolean contains(String variableId)

contains

public boolean contains(Ordering.Entry entry)

copy

public Ordering copy()

toArray

public Ordering.Entry[] toArray()

indexOf

public int indexOf(Ordering.Entry entry)

removeEntry

public boolean removeEntry(Ordering.Entry entry)

removeEntry

public Ordering.Entry removeEntry(int index)

equals

public boolean equals(Object that)
Overrides:
equals in class Object

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved