|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.util.NamePair
org.compiere.util.KeyNamePair
public final class KeyNamePair
(Numeric) Key Name Pair
| Constructor Summary | |
|---|---|
KeyNamePair(int key,
String name)
Constructor KeyValue Pair - |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Equals |
String |
getID()
Get ID (key as String) |
int |
getKey()
Get Key |
int |
hashCode()
Return Hashcode of key |
| Methods inherited from class org.compiere.util.NamePair |
|---|
compare, compare, compareTo, compareTo, getName, toString, toStringX |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyNamePair(int key,
String name)
key - Key (-1 is considered as null)name - string representation| Method Detail |
|---|
public int getKey()
public String getID()
getID in class NamePairpublic boolean equals(Object obj)
equals in interface Comparator<Object>equals in class Objectobj - object
public int hashCode()
hashCode in class Object
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||