wt.query.qml
Class DisplayNameInfo

java.lang.Object
  extended bywt.query.qml.DisplayNameInfo
Direct Known Subclasses:
AttributeTypeDisplayInfo, ClassDisplayInfo, PropertyDisplayInfo, PropertyNameDisplayInfo, TypeDisplayInfo

public class DisplayNameInfo
extends Object


Field Summary
private static Locale currentLocale
           
private  Hashtable duplicateTable
           
private  Hashtable itemToNameMap
           
private  Hashtable nameToItemMap
           
 
Constructor Summary
DisplayNameInfo()
           
 
Method Summary
 void addItem(DisplayItem a_item)
           
 Object getDisplayItem(String a_displayName)
           
 String getDisplayName(Object a_item)
           
 Enumeration getDisplayNames()
           
private  String getUniqueName(DisplayItem a_item)
           
private  void put(DisplayItem a_item, String a_name)
           
 int size()
           
 String toString()
           
protected static boolean verifyCurrentLocale(Locale a_locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

currentLocale

private static Locale currentLocale

nameToItemMap

private Hashtable nameToItemMap

itemToNameMap

private Hashtable itemToNameMap

duplicateTable

private Hashtable duplicateTable
Constructor Detail

DisplayNameInfo

public DisplayNameInfo()
Method Detail

getDisplayName

public String getDisplayName(Object a_item)

getDisplayItem

public Object getDisplayItem(String a_displayName)

getDisplayNames

public Enumeration getDisplayNames()

size

public int size()

addItem

public void addItem(DisplayItem a_item)

toString

public String toString()

verifyCurrentLocale

protected static boolean verifyCurrentLocale(Locale a_locale)

put

private void put(DisplayItem a_item,
                 String a_name)

getUniqueName

private String getUniqueName(DisplayItem a_item)