Kie Workbench - Common - UI 6.2.0.Final

org.kie.workbench.common.widgets.client.datamodel
Class FilteredEnumLists

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String[]>
          extended by org.kie.workbench.common.widgets.client.datamodel.FilteredEnumLists
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String[]>

public class FilteredEnumLists
extends HashMap<String,String[]>

Filtered (current package and imports) map of { TypeName.field : String[] } - where a list is valid values to display in a drop down for a given Type.field combination.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
FilteredEnumLists()
           
 
Method Summary
 String[] getEnumValues(String factType, String field)
          For simple cases - where a list of values are known based on a field.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

FilteredEnumLists

public FilteredEnumLists()
Method Detail

getEnumValues

public String[] getEnumValues(String factType,
                              String field)
For simple cases - where a list of values are known based on a field.


Kie Workbench - Common - UI 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.