public boolean isFunction() {
return new DbParameterAccessors(accessors).containsReturnValue();
}
public int getNumberOfInputParameters() {
List<String> accessorNames = new DbParameterAccessors(getAccessors()).getSortedAccessorNames();
int numberOfAccessors = accessorNames.size();
return isFunction() ? numberOfAccessors - 1 : numberOfAccessors;
}