public function remove()
    {
        $returnValue = (bool) false;

        
        $db = core_kernel_classes_DbWrapper::singleton();
        if (false === $db->exec("DELETE FROM statements WHERE modelid = ?", array($this->getModelId()))){
        	$returnValue = false;
        }
        else{
        	if (false === $db->exec("DELETE FROM models WHERE modelid = ?", array($this->getModelId()))){
        		$returnValue = false;
        	}
        	else{
        		$returnValue = true;
        	}
        }
        
        

        return (bool) $returnValue;
    }
public function remove()
    {
        $returnValue = (bool) false;

        
        $db = core_kernel_classes_DbWrapper::singleton();
        if (false === $db->exec("DELETE FROM statements WHERE modelid = ?", array($this->getModelId()))){
        	$returnValue = false;
        }
        else{
        	if (false === $db->exec("DELETE FROM models WHERE modelid = ?", array($this->getModelId()))){
        		$returnValue = false;
        	}
        	else{
        		$returnValue = true;
        	}
        }
        
        

        return (bool) $returnValue;
    }
public function remove ( ) { $ returnValue = ( bool ) false ; $ db = core_kernel_classes_DbWrapper :: singleton ( ) ; if ( false === $ db -> exec ( "DELETE FROM statements WHERE modelid = ?" , array ( $ this -> getModelId ( ) ) ) ) { $ returnValue = false ; } else { if ( false === $ db -> exec ( "DELETE FROM models WHERE modelid = ?" , array ( $ this -> getModelId ( ) ) ) ) { $ returnValue = false ; } else { $ returnValue = true ; } } return ( bool ) $ returnValue ; }
Remove a namespace from the ontology. All triples bound to the model will
be removed.

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@return boolean
Remove a namespace from the ontology . All triples bound to the model will be removed .