public Object set(int index, Object element, boolean allowDependentField)
{
// Reject inappropriate elements
if (element == null && !allowNulls)
{
throw new NullsNotAllowedException(ownerSM, fieldName);
}
Object obj = delegate.set(index, element);
makeDirty();
return obj;