|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.semanticweb.owl.impl.model.OWLObjectImpl
|
+--org.semanticweb.owl.impl.model.OWLFrameImpl
A frame packages up a top-level description of a class, and
consists of a number of superclasses and a number of
restrictions. Although OWLFrame doesn't have a direct
counterpart in OWL (or in DAML+OIL), the notion of a frame was a
particularly useful one in the OilEd implementation as it
provides a user-friendly view on ontology descriptions. The
semantics of a frame is simply the conjunction of the superclass
descriptions and restrictions.
| Constructor Summary | |
OWLFrameImpl(OWLDataFactoryImpl factory,
Set superClasses,
Set restrictions)
|
|
| Method Summary | |
void |
accept(OWLDescriptionVisitor visitor)
Accept a visit from a visitor |
void |
accept(OWLObjectVisitor visitor)
Accept a visit from a visitor |
Set |
getRestrictions()
Returns a collection of OWLRestrictions. |
Set |
getSuperclasses()
Returns a collection of OWLDescriptions. |
| Methods inherited from class org.semanticweb.owl.impl.model.OWLObjectImpl |
clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.semanticweb.owl.model.OWLObject |
clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory |
| Constructor Detail |
public OWLFrameImpl(OWLDataFactoryImpl factory,
Set superClasses,
Set restrictions)
| Method Detail |
public Set getSuperclasses()
OWLDescriptions.
getSuperclasses in interface OWLFramepublic Set getRestrictions()
OWLRestrictions.
getRestrictions in interface OWLFrame
public void accept(OWLObjectVisitor visitor)
throws OWLException
OWLObject
accept in interface OWLObjectaccept in class OWLObjectImplOWLException
public void accept(OWLDescriptionVisitor visitor)
throws OWLException
OWLDescription
accept in interface OWLDescriptionOWLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||