You can just call $this->getObject()->ID and / or $this->getObject()->Title which will refer to the object you set above using setObject()