public function getAttributeValues($filterNull = true){
        $returnValue = array();
        foreach($this->attributes as $name => $attribute){
            if(!$filterNull || !$attribute->isNull()){
                $returnValue[$name] = $attribute->getValue();
            }
        }
        return $returnValue;
    }