public function setEffectiveDate($effectiveDate) { if (!empty($effectiveDate)) { $this->effectiveDate = $effectiveDate; } return $this; }