return propertyAutoCompleteFacet != null;
}
@Override
public ObjectAdapter[] getAutoComplete(ObjectAdapter ownerAdapter, String searchArg) {
final PropertyAutoCompleteFacet propertyAutoCompleteFacet = getFacet(PropertyAutoCompleteFacet.class);
final Object[] pojoOptions = propertyAutoCompleteFacet.autoComplete(ownerAdapter, searchArg);
if (pojoOptions != null) {
final ObjectAdapter[] options = new ObjectAdapter[pojoOptions.length];
for (int i = 0; i < options.length; i++) {
options[i] = getAdapterManager().adapterFor(pojoOptions[i]);
}