public void nullifyFields()
{
if (!myLC.isDeleted() && !myOM.getApiAdapter().isDetached(myPC))
{
// Update any relationships for fields of this object that aren't dependent
replaceFields(getNonPrimaryKeyFieldNumbers(), new NullifyRelationFieldManager(this));
flush();
}
}