public EntityChoiceSource (String className) {
_className = className;
Context context = UIMeta.getInstance().newContext();
context.set(ObjectMeta.KeyClass, className);
_supportsTextSearch = context.booleanPropertyForKey(PersistenceMeta.PropTextSearchSupported, false);
}
public List match(String pattern, int max)
{
// todo: create predicate!