View Javadoc

1   /*
2    * $Id: IOWLClass.java,v 1.8 2005/02/28 22:38:53 jlerner Exp $
3    *
4    * Copyright (c) 1999-2004, BBN Technologies, LLC.
5    * All rights reserved.
6    * http://www.daml.org/legal/opensource/bbn_license.html
7    */
8   
9   package com.bbn.swede.core;
10  
11  import com.hp.hpl.jena.rdf.model.Resource;
12  
13  /***
14   * Protocol specific to OWL class elements.
15   * @author jlerner
16   * @author tself
17   */
18  public interface IOWLClass extends IOWLElement
19  {
20     /***
21      * Provides access to the Jena resource that represents this class in the
22      * Jena model.  This method will cause the model to be built if it does not
23      * already exist.
24      * @return The Jena resource for this class
25      */
26     Resource getJenaResource();
27     
28     /***
29      * Indicates whether the OWL class represented by the element is anonymous.
30      * @return <code>true</code> if the class is anonymous, <code>false</code>
31      *         if not.
32      */
33     boolean isAnonymous();
34  }