View Javadoc

1   /*
2    * $Id: IOWLProperty.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.Property;
12  
13  /***
14   * Protocol specific to OWL property elements.
15   * @author jlerner
16   * @author tself
17   */
18  public interface IOWLProperty extends IOWLElement
19  {
20     /***
21      * Provides access to the Jena property that represents this property 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 property for this property.
25      */
26     Property getJenaProperty();
27  
28     /***
29      * Indicates whether the OWL property represented by the element is 
30      * anonymous.
31      * @return <code>true</code> if the property is anonymous, 
32      *         <code>false</code> if not.
33      */
34     boolean isAnonymous();
35  }