even I wonder what exactly r you trying to do.
Your object t is not a string object and thus you
cannot do Integer.parseInt(String t). What I would
like to ask is why do you want int value for the
object as a whole. You have an int property, put a
getter to get that or if you need an id for the object
as a whole get the object ID.