Class MTaxesLookup

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

public class MTaxesLookup extends Lookup implements Serializable
Product Attribute Lookup Model (not Cached)
Version:
$Id: MPAttributeLookup.java,v 1.2 2006/07/30 00:58:38 jjanke Exp $
Author:
Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
  • BF [ 1885260 ] MPAttributeLookup: throws SQLException sometimes
  • See Also:
    • Constructor Details

      • MTaxesLookup

        public MTaxesLookup(Properties ctx, int WindowNo)
        Constructor
        Parameters:
        ctx - context
        WindowNo - window no
    • 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
      • containsKey

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

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

        public void dispose()
        Dispose
        Overrides:
        dispose in class Lookup
        See Also:
      • 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
      • 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
      • 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