wt.iba.value.litevalue
Class AbstractValueViewCollationKeyFactory
java.lang.Object
wt.util.CollationKeyFactory
wt.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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