Class MPAttributeLookup

    • Constructor Detail

      • MPAttributeLookup

        public MPAttributeLookup​(Properties ctx,
                                 int WindowNo)
        Constructor
        Parameters:
        ctx - context
        WindowNo - window no
    • Method Detail

      • 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
      • containsKeyNoDirect

        public boolean containsKeyNoDirect​(Object key)
        Description copied from class: Lookup
        The Lookup contains the key, do not push direct
        Specified by:
        containsKeyNoDirect in class Lookup
        Parameters:
        key - key
        Returns:
        true if contains key
      • get

        public NamePair get​(Object value)
        Get Object of Key Value
        Specified by:
        get in class Lookup
        Parameters:
        value - value
        Returns:
        Object or null
      • 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