com.bbn.swede.core.resources
Class OWLProperty

java.lang.Object
  extended bycom.bbn.swede.core.resources.OWLElement
      extended bycom.bbn.swede.core.resources.OWLProperty
All Implemented Interfaces:
IOWLElement, IOWLProperty

public class OWLProperty
extends OWLElement
implements IOWLProperty

Implementation for OWL property elements.

Author:
jlerner

Field Summary
protected  Property _jenaProperty
          The Jena property resource represented by this element.
 
Fields inherited from class com.bbn.swede.core.resources.OWLElement
_elemParent, _info, _resource, _sElementName
 
Constructor Summary
(package private) OWLProperty(Property prop)
          Creates an OWL property element to represent a Jena property.
 
Method Summary
 Property getJenaProperty()
          Retrieves the Jena property represented by this OWL property element.
 String getURI()
          Returns the URI of the OWL element, or null if it has no URI.
 boolean isAnonymous()
          Indicates whether the OWL property represented by the element is anonymous.
 
Methods inherited from class com.bbn.swede.core.resources.OWLElement
accept, contains, getAdapter, getCorrespondingElement, getCorrespondingResource, getElementInfo, getElementName, getLocalURI, getParent, getPath, getResource, isReadOnly, setElementName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bbn.swede.core.IOWLElement
accept, contains, getCorrespondingElement, getCorrespondingResource, getElementInfo, getElementName, getLocalURI, getParent, getPath, getResource, isReadOnly, setParent
 

Field Detail

_jenaProperty

protected Property _jenaProperty
The Jena property resource represented by this element.

Constructor Detail

OWLProperty

OWLProperty(Property prop)
Creates an OWL property element to represent a Jena property.

Parameters:
prop - The Jena property
Method Detail

isAnonymous

public boolean isAnonymous()
Description copied from interface: IOWLProperty
Indicates whether the OWL property represented by the element is anonymous.

Specified by:
isAnonymous in interface IOWLProperty
Returns:
true if the property is anonymous, false if not.

getURI

public String getURI()
Description copied from interface: IOWLElement
Returns the URI of the OWL element, or null if it has no URI.

Specified by:
getURI in interface IOWLElement
Overrides:
getURI in class OWLElement

getJenaProperty

public Property getJenaProperty()
Retrieves the Jena property represented by this OWL property element.

Specified by:
getJenaProperty in interface IOWLProperty
Returns:
The Jena property


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.