Package org.adempiere.webui.panel
Class WRC3SortCriteriaPanel.ListElement
- java.lang.Object
-
- org.compiere.util.NamePair
-
- org.adempiere.webui.panel.WRC3SortCriteriaPanel.ListElement
-
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,Comparator<Object>
- Enclosing class:
- WRC3SortCriteriaPanel
public static class WRC3SortCriteriaPanel.ListElement extends NamePair
List Item- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListElement(int key, String name, int sortNo, boolean isYes, int AD_Client_ID, int AD_Org_ID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getAD_Client_ID()
int
getAD_Org_ID()
String
getID()
Returns Key or Value as Stringint
getKey()
int
getSortNo()
int
hashCode()
boolean
isYes()
void
setIsYes(boolean value)
void
setSortNo(int sortNo)
String
toString()
To String - returns name-
Methods inherited from class org.compiere.util.NamePair
compare, compare, compareTo, compareTo, getName, toStringX
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ListElement
public ListElement(int key, String name, int sortNo, boolean isYes, int AD_Client_ID, int AD_Org_ID)
-
-
Method Detail
-
getKey
public int getKey()
-
setSortNo
public void setSortNo(int sortNo)
-
getSortNo
public int getSortNo()
-
setIsYes
public void setIsYes(boolean value)
-
isYes
public boolean isYes()
-
getAD_Client_ID
public int getAD_Client_ID()
-
getAD_Org_ID
public int getAD_Org_ID()
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceComparator<Object>
- Overrides:
equals
in classObject
-
-