This method of the ObjectBag Class requests an object with the specified category and class from the ObjectBag.
public Object getObject(Category category, Class cls);
Returns an object with the specified category and class.
category | The Category object that represents the category that is requested. |
cls | The Class object that represents the class that is requested. |