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:
  • Constructor Details

    • ListElement

      public ListElement(int key, String name, String namecontent, boolean isYes, int AD_Client_ID, int AD_Org_ID)
      Parameters:
      key -
      name -
      namecontent -
      isYes -
      AD_Client_ID -
      AD_Org_ID -
  • Method Details

    • getKey

      public int getKey()
      Returns:
      key
    • getM_namecontent

      public String getM_namecontent()
      Returns:
      name
    • setM_namecontent

      public void setM_namecontent(String m_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

      public String getID()
      Description copied from class: NamePair
      Returns Key or Value as String
      Specified by:
      getID in class NamePair
      Returns:
      String or null
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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

      public String toString()
      Description copied from class: NamePair
      To String - returns name
      Overrides:
      toString in class NamePair
      Returns:
      Name