/** * <p> * Answer true if this individual is a member of the class denoted by the * given URI.</p> * * @param uri Denotes the URI of a class to which this value may belong * @return True if this individual has the given class as one of its <code>rdf:type</code>'s. */ @Override public boolean hasOntClass( String uri ) { return hasRDFType( uri ); }
/** * <p> * Answer true if this individual is a member of the class denoted by the * given URI.</p> * * @param uri Denotes the URI of a class to which this value may belong * @return True if this individual has the given class as one of its <code>rdf:type</code>'s. */ @Override public boolean hasOntClass( String uri ) { return hasRDFType( uri ); }
/** * <p> * Answer true if this individual is a member of the class denoted by the * given class resource. * </p> * * @param ontClass Denotes an ontology class to which this individual may belong * @param direct If true, only consider the direct types of this individual, ignoring * the super-classes of the stated types. * @return True if this individual is a member of the given class, possibly taking the * directness constraint into account. */ @Override public boolean hasOntClass( Resource ontClass, boolean direct ) { return hasRDFType( ontClass, direct ); }
/** * <p> * Answer true if this individual is a member of the class denoted by the * given class resource. * </p> * * @param ontClass Denotes an ontology class to which this individual may belong * @param direct If true, only consider the direct types of this individual, ignoring * the super-classes of the stated types. * @return True if this individual is a member of the given class, possibly taking the * directness constraint into account. */ @Override public boolean hasOntClass( Resource ontClass, boolean direct ) { return hasRDFType( ontClass, direct ); }