public function createStrRepresentationOnFlush($flushEntity)
    {
        $entity = $this->getEntityData();
        if (is_array($entity) || $entity instanceof \ArrayAccess) {
            $entityArr = array();
            foreach ($entity as $elem) {
                $entityArr[] = $this->getEntityOnFlush($elem, $flushEntity);
            }
            return implode("\x1E", $entityArr); // ASCII "record separator" character
        } elseif ($entity) {
            return $this->getEntityOnFlush($entity, $flushEntity)->__toString();
        } else {
            return '';
        }
    }