Unfortunately, the answer is: it depends. Typically, the burden is on HER to prove to a court that the order is necessary. Every judge is different, and without knowing the history of rulings of the particular judge in your case, no one can really guess. Some judges will want more proof of events than others - typically the first words out of a GOOD judge's mouth when 6 years of abuse are alleged are "can I see the copies of your police reports" (or SOMETHING to document the allegations - judges just don't believe, and reasonably so, that a person gets abused for 6 years and only NOW has some urge to get a protective order). Other judges hand out restraining orders like they are candy at Halloween. Most are somewhere in between.
As far as the child is concerned, it's typical for the temporary order to include both mother and children. You'll have ample opportunity to address this at the upcoming hearing - remembering that typically unless there is SOME level of documentation or testimony that the CHILD was somehow involved or witness to the events, courts can and often do issue the order between the adults and tell the adults to figure out a way for visitation to continue. Don't give up hope about your child - courts want children to have TWO parents unless they've got some REALLY good reason NOT to.

