This method of the ObjectBag Class adds an object to the ObjectBag.
public void addObject(Category category, Class cls, Object object);
category | The Category of the object being added. |
cls | The Class of the object being added. If cls is null, the class is inferred from the specified Object. |
object | The object to add to the object bag. |