de.fau.cs.www8.jadeowlcodec.tboxnormalisation
Class InverseRole

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.tool.CanonicalizedImmutable
      extended by de.fau.cs.www8.jadeowlcodec.tboxnormalisation.AbsDescription
          extended by de.fau.cs.www8.jadeowlcodec.tboxnormalisation.AbsRoleDescription
              extended by de.fau.cs.www8.jadeowlcodec.tboxnormalisation.InverseRole
All Implemented Interfaces:
java.lang.Comparable<CanonicalizedImmutable>

public final class InverseRole
extends AbsRoleDescription


Nested Class Summary
 
Nested classes/interfaces inherited from class de.fau.cs.www8.jadeowlcodec.tool.CanonicalizedImmutable
CanonicalizedImmutable.Identity
 
Field Summary
 AbsRoleDescription inversee
           
 
Constructor Summary
protected InverseRole(CanonicalizedImmutable.Identity id, AbsRoleDescription inversee)
           
 
Method Summary
<T extends AbsDescription>
java.util.Set<T>
getAllDeeperDescriptionsRecursive(java.util.Set<T> in, java.lang.Class<T> onlyOfClass)
          adds all deeper descriptions to this the in set
static AbsRoleDescription instance(AbsRoleDescription toInverse)
           
 
Methods inherited from class de.fau.cs.www8.jadeowlcodec.tool.CanonicalizedImmutable
compareTo, equals, getCanonicalizedInstance, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inversee

public final AbsRoleDescription inversee
Constructor Detail

InverseRole

protected InverseRole(CanonicalizedImmutable.Identity id,
                      AbsRoleDescription inversee)
Method Detail

instance

public static AbsRoleDescription instance(AbsRoleDescription toInverse)

getAllDeeperDescriptionsRecursive

public <T extends AbsDescription> java.util.Set<T> getAllDeeperDescriptionsRecursive(java.util.Set<T> in,
                                                                                     java.lang.Class<T> onlyOfClass)
Description copied from class: AbsDescription
adds all deeper descriptions to this the in set

Overrides:
getAllDeeperDescriptionsRecursive in class AbsDescription
Parameters:
in - the set to add to, will be created if it is null
onlyOfClass - an optional filter, if this is not null then only descriptions that are instance of this class are added to the in collection
Returns:
a set of AbsDescription


Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg