Package org.adempiere.webui.window
Class WGadgets.ListElement
java.lang.Object
org.compiere.util.NamePair
org.adempiere.webui.window.WGadgets.ListElement
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,Comparator<Object>
- Enclosing class:
- WGadgets
List Item
- See Also:
-
Constructor Summary
ConstructorDescriptionListElement
(int key, String name, String namecontent, boolean isYes, int AD_Client_ID, int AD_Org_ID) -
Method Summary
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 Details
-
Method Details
-
getKey
public int getKey()- Returns:
- key
-
getM_namecontent
- Returns:
- name
-
setM_namecontent
- Parameters:
m_namecontent
-
-
setIsYes
public void setIsYes(boolean value) - Parameters:
value
-
-
isYes
public boolean isYes()- Returns:
- true if it is in yes list, false otherwise
-
getAD_Client_ID
public int getAD_Client_ID()- Returns:
- AD_Client_ID
-
getAD_Org_ID
public int getAD_Org_ID()- Returns:
- AD_Org_ID
-
getID
Description copied from class:NamePair
Returns Key or Value as String -
hashCode
public int hashCode() -
equals
- Specified by:
equals
in interfaceComparator<Object>
- Overrides:
equals
in classObject
-
toString
Description copied from class:NamePair
To String - returns name
-