public function toXMLString()
 {
     $str = '';
     if ($this->Owner != null) {
         $str .= '<ebl:Owner>';
         $str .= $this->Owner->toXMLString();
         $str .= '</ebl:Owner>';
     }
     if ($this->HomePhone != null) {
         $str .= '<ebl:HomePhone>' . PPUtils::escapeInvalidXmlCharsRegex($this->HomePhone) . '</ebl:HomePhone>';
     }
     if ($this->MobilePhone != null) {
         $str .= '<ebl:MobilePhone>' . PPUtils::escapeInvalidXmlCharsRegex($this->MobilePhone) . '</ebl:MobilePhone>';
     }
     if ($this->SSN != null) {
         $str .= '<ebl:SSN>' . PPUtils::escapeInvalidXmlCharsRegex($this->SSN) . '</ebl:SSN>';
     }
     return $str;
 }
 public function toXMLString()
 {
     $str = '';
     if ($this->Owner != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<ebl:Owner>';
         $str .= $this->Owner->toXMLString();
         $str .= '</ebl:Owner>';
     }
     if ($this->HomePhone != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:HomePhone>' . $this->HomePhone . '</ebl:HomePhone>';
     }
     if ($this->MobilePhone != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:MobilePhone>' . $this->MobilePhone . '</ebl:MobilePhone>';
     }
     if ($this->SSN != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:SSN>' . $this->SSN . '</ebl:SSN>';
     }
     return $str;
 }