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
public static class WGadgets.ListElement extends NamePair
List Item- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListElement(int key, String name, String namecontent, 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()
String
getM_namecontent()
int
hashCode()
boolean
isYes()
void
setIsYes(boolean value)
void
setM_namecontent(String m_namecontent)
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
-
-
-
-
Method Detail
-
getKey
public int getKey()
-
getM_namecontent
public String getM_namecontent()
-
setM_namecontent
public void setM_namecontent(String m_namecontent)
-
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
-
-