public function getDefaultValue() { if ($this->defaultValue !== null) { return $this->defaultValue; } else { return 0; } }