This method of the MetaObject Interface determines whether the specified Category and Class are supported by the MetaObject. Either one (but not both) of the parameters can be null.
public boolean hasObject(Category category, Class cls);
Returns true if an object that matches the specified Category and Class is available; otherwise, returns false.
category | The Category that is requested. If a null Category object is specified, the category is derived from the name of the specified class. |
cls | The Class that is requested. If a null Class is specified, the request is for any class in the specified category. |