org.dllearner.core.owl
Class ContextDescription

java.lang.Object
  extended by org.dllearner.core.owl.ContextDescription

public class ContextDescription
extends Object

A class description in its context, i.e. including a parent link (if any). For instance, there is only one description owl:Thing, but it can occur nested within different descriptions like "createdBy SOME owl:Thing". Depending on what you want to do, you either need a Description or a ContextDescription.

Author:
Jens Lehmann

Constructor Summary
ContextDescription(Description description, Description parent)
           
 
Method Summary
 Description getDescription()
           
 Description getParent()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextDescription

public ContextDescription(Description description,
                          Description parent)
Method Detail

getDescription

public Description getDescription()
Returns:
the description

getParent

public Description getParent()
Returns:
the parent


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann