case 2257 - Added getType method to TingObject class.