BaseObject get method from class