public function getComparableAttributes()
    {
        if (is_null($this->comparableAttributes)
            || !$this->upToDate
        ) {
            $this->comparableAttributes = $this->createComparableAttributes();
            $this->upToDate = true;
        }

        return $this->comparableAttributes;
    }