public function getAutoSwitch() { return TPropertyValue::ensureBoolean($this->getViewState('AutoSwitch')); }