public function getState()
    {
        if (isset($this->states['state'])) {
            return $this->states['state'];
        } elseif (isset($this->complement['state'])) {
            return $this->complement['state'];
        }

        $type = self::getType();

        return self::$defaultStates[$type];
    }