final protected function checkRequiredFields()
    {
        foreach ($this->getRequiredFields() as $requiredField) {
            $value = $this->getAttribute($requiredField);
            if (empty($value)) {
                throw new RequiredFieldException($requiredField);
            }
        }
    }