public int setCompartment(string sid)
{
int ret = libsbmlPINVOKE.Reaction_setCompartment(swigCPtr, sid);
if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
return ret;
}