* @param value the value
*/
public void setValue(int index, Object value)
{
if (state == State.Invalid)
throw new ObjectNotValidException(this);
if (index < 0 || index >= fields.length)
throw new InvalidArgumentException("index", index);
// Strings special
if ((value instanceof String) && ((String)value).length()==0)
value = null;