public static function getNameByConstant($constant)
    {
        switch ($constant) {
            case self::SINGLE:
                return 'single';
            break;

            case self::MULTIPLE:
                return 'multiple';
            break;

            case self::ORDERED:
                return 'ordered';
            break;

            case self::RECORD:
                return 'record';
            break;

            default:
                return false;
            break;
        }
    }