strict
is false, create a new Model, associate it with the name, and return it. Otherwise throw a DoesNotExistException. When called with strict=false
, is equivalent to the ancestor openModel(String)
method.
@param name the name of the Model to find and return
@param strict false to create a new one if one doesn't already exist
@exception DoesNotExistException if there's no such named Model
|
|