Class MLBRTaxesLookup

All Implemented Interfaces:
Serializable, ComboBoxModel<Object>, ListModel<Object>, MutableComboBoxModel<Object>

public final class MLBRTaxesLookup extends Lookup implements Serializable
Taxes Lookup
Version:
$Id: MLBRTaxesLookup.java, v1.0 2007/11/14 13:48:41 AM, mgrigioni Exp $
Author:
Mario Grigioni (Kenos, www.kenos.com.br)
See Also:
  • Constructor Details

    • MLBRTaxesLookup

      public MLBRTaxesLookup(Properties ctx, int WindowNo)
      Constructor
      Parameters:
      ctx - context
      WindowNo - window no (to derive AD_Client/Org for new records)
  • Method Details

    • getDisplay

      public String getDisplay(Object value)
      Get Display for Value (not cached)
      Specified by:
      getDisplay in class Lookup
      Parameters:
      value - Location_ID
      Returns:
      String Value
    • get

      public NamePair get(Object value)
      Get Object of Key Value
      Specified by:
      get in class Lookup
      Parameters:
      value - value
      Returns:
      Object or null
    • containsKey

      public boolean containsKey(Object key)
      The Lookup contains the key
      Specified by:
      containsKey in class Lookup
      Parameters:
      key - Location_ID
      Returns:
      true if key known
    • getTax

      public MLBRTax getTax(Object key, String trxName)
      Get Tax
      Parameters:
      key - ID as string or integer
      trxName - transaction
      Returns:
      X_LBR_Tax
    • getTax

      public MLBRTax getTax(int LBR_Tax_ID, String trxName)
      Get Tax
      Parameters:
      LBR_Tax_ID - id
      trxName - transaction
      Returns:
      X_LBR_Tax
    • getColumnName

      public String getColumnName()
      Get underlying fully qualified Table.Column Name. Used for VLookup.actionButton (Zoom)
      Specified by:
      getColumnName in class Lookup
      Returns:
      column name
    • getData

      public ArrayList<Object> getData(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist)
      Return data as sorted Array - not implemented
      Specified by:
      getData in class Lookup
      Parameters:
      mandatory - mandatory
      onlyValidated - only validated
      onlyActive - only active
      temporary - force load for temporary display
      Returns:
      null
    • containsKeyNoDirect

      public boolean containsKeyNoDirect(Object key)
      Description copied from class: Lookup
      The Lookup contains the key (do not check the direct lookup list)
      Specified by:
      containsKeyNoDirect in class Lookup
      Parameters:
      key - key
      Returns:
      true if contains key