The ObjectBag Class contains the following methods:
addObject adds an object to the ObjectBag.
getObject requests an object with the specified category and class from the ObjectBag.
hasObject determines whether the specified category and class are supported by the ObjectBag.
objectCategories enumerates the categories in the ObjectBag.
objectClasses enumerates the classes in the ObjectBag that are in the specified category.