public function loadProperty($prop)
    {
        //Save primary key
        if($prop->isPrimaryKey())
        {
            $this->setPrimaryKey($prop);
        }

        //Save property
        else if($prop->isProperty())
        {
            $this->properties[] = $prop;

            //Check for indexed properties
            if ($prop->isIndexed())
            {
                $this->indexedProperties[] = $prop;
            }
        }
    }