ALBPM Process API (PAPI)

fuego.papi
Class Ordering.Entry

java.lang.Object
  extended byfuego.papi.Ordering.Entry
All Implemented Interfaces:
Serializable
Enclosing class:
Ordering

public class Ordering.Entry
extends Object
implements Serializable

Element with the information to sort an specific variable.

This class contains the variable to sort and if the sorting is ascending.

See Also:
Serialized Form

Constructor Summary
Ordering.Entry(String variableId, boolean ascending)
          Creates a new Ordering.Entry object.
Ordering.Entry(VarDefinition variable, boolean ascending)
          Creates a new Ordering.Entry object.
 
Method Summary
 boolean equals(Object object)
          Indicates whether some other object is "equal to" this one.
 VarDefinition getVariable()
          Gets the VarDefinition to sort.
 String getVariableId()
          Gets the variable Id to sort.
 int hashCode()
          Returns a hash code value for the object.
 boolean isAscending()
          Returns if the sorting is ascending.
 void setVariable(VarDefinition variable)
          Sets a new VarDefinition to sort.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ordering.Entry

public Ordering.Entry(VarDefinition variable,
                      boolean ascending)
Creates a new Ordering.Entry object.

Parameters:
variable - VarDefinition which represent the variable to sort.
ascending - true if the sorting is ascending.

Ordering.Entry

public Ordering.Entry(String variableId,
                      boolean ascending)
Creates a new Ordering.Entry object.

Parameters:
variableId - variable Id which represent the variable to sort.
ascending - true if the sorting is ascending.
Method Detail

isAscending

public boolean isAscending()
Returns if the sorting is ascending.

Returns:
true if the sorting is ascending.

setVariable

public void setVariable(VarDefinition variable)
Sets a new VarDefinition to sort.

Parameters:
variable - VarDefinition to soft.

getVariable

public VarDefinition getVariable()
Gets the VarDefinition to sort.

Returns:
the VarDefinition to sort.

getVariableId

public String getVariableId()
Gets the variable Id to sort.

Returns:
the variable Id to sort.

equals

public boolean equals(Object object)
Indicates whether some other object is "equal to" this one.

Parameters:
object - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object.

Returns:
a hash code value for this object.

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved