added some java doc
broke out a small piece of idobjectfactory wrapper into separate helper