new ObjectStrategy() Defines a custom factory strategy to build the objects. Methods toString() Returns the string representation of this instance. Returns: the string representation of this instance.