public function isClass()
    {
        $returnValue = (bool) false;
        if (count($this->getPropertyValues($this->getProperty(OntologyRdfs::RDFS_SUBCLASSOF))) > 0) {
        	$returnValue = true;
        } else {
	        foreach($this->getTypes() as $type){
	        	if($type->getUri() == OntologyRdfs::RDFS_CLASS){
	        		$returnValue = true;
	        		break;
	        	}
	        }
        }
        return (bool) $returnValue;
    }
public function isClass()
    {
        $returnValue = (bool) false;
        if (count($this->getPropertyValues($this->getProperty(OntologyRdfs::RDFS_SUBCLASSOF))) > 0) {
        	$returnValue = true;
        } else {
	        foreach($this->getTypes() as $type){
	        	if($type->getUri() == OntologyRdfs::RDFS_CLASS){
	        		$returnValue = true;
	        		break;
	        	}
	        }
        }
        return (bool) $returnValue;
    }
public function isClass ( ) { $ returnValue = ( bool ) false ; if ( count ( $ this -> getPropertyValues ( $ this -> getProperty ( OntologyRdfs :: RDFS_SUBCLASSOF ) ) ) > 0 ) { $ returnValue = true ; } else { foreach ( $ this -> getTypes ( ) as $ type ) { if ( $ type -> getUri ( ) == OntologyRdfs :: RDFS_CLASS ) { $ returnValue = true ; break ; } } } return ( bool ) $ returnValue ; }
returns true if the resource is a valid class (using facts or entailment

@access public
@author patrick.plichart@tudor.lu
@return boolean
@see http://www.w3.org/RDF/
returns true if the resource is a valid class ( using facts or entailment