wt.iba.value.litevalue
Class AbstractValueViewCollationKeyFactory

java.lang.Object
  extended bywt.util.CollationKeyFactory
      extended bywt.iba.value.litevalue.AbstractValueViewCollationKeyFactory

public final class AbstractValueViewCollationKeyFactory
extends CollationKeyFactory

A collation key factory for AbstractValueView objects. Used as part of a string sort on query results. Only supports sorting on display name of value definition. Supported API: true Extendable: false


Field Summary
 
Fields inherited from class wt.util.CollationKeyFactory
 
Constructor Summary
AbstractValueViewCollationKeyFactory()
          Construct a collation key factory for the current WTContext's locale.
AbstractValueViewCollationKeyFactory(Locale locale)
          Construct a collation key factory for the given locale.
 
Method Summary
 String getCollationString(Object obj)
          Get a collation string for the given object.
 
Methods inherited from class wt.util.CollationKeyFactory
getKey, getLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractValueViewCollationKeyFactory

public AbstractValueViewCollationKeyFactory()
Construct a collation key factory for the current WTContext's locale.


AbstractValueViewCollationKeyFactory

public AbstractValueViewCollationKeyFactory(Locale locale)
Construct a collation key factory for the given locale.

Parameters:
locale - desired locale
Method Detail

getCollationString

public String getCollationString(Object obj)
Get a collation string for the given object. This method returns the name string of the definition associated with the AbstractValueView object.

Overrides:
getCollationString in class CollationKeyFactory
Parameters:
obj - the object
Returns:
string collation key source string