Added getter setter for query Id in objects