org.pentaho.di.www
Class CarteObjectEntry

java.lang.Object
  extended by org.pentaho.di.www.CarteObjectEntry
All Implemented Interfaces:
Comparable<CarteObjectEntry>, Comparator<CarteObjectEntry>

public class CarteObjectEntry
extends Object
implements Comparator<CarteObjectEntry>, Comparable<CarteObjectEntry>

A carte object entry in the transformation or job maps

Author:
matt

Constructor Summary
CarteObjectEntry(String name, String id)
           
 
Method Summary
 int compare(CarteObjectEntry o1, CarteObjectEntry o2)
           
 int compareTo(CarteObjectEntry o)
           
 boolean equals(Object obj)
           
 String getId()
           
 String getName()
           
 int hashCode()
           
 void setId(String id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarteObjectEntry

public CarteObjectEntry(String name,
                        String id)
Method Detail

equals

public boolean equals(Object obj)
Specified by:
equals in interface Comparator<CarteObjectEntry>
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compare

public int compare(CarteObjectEntry o1,
                   CarteObjectEntry o2)
Specified by:
compare in interface Comparator<CarteObjectEntry>

compareTo

public int compareTo(CarteObjectEntry o)
Specified by:
compareTo in interface Comparable<CarteObjectEntry>

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set