Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.model.factory
Class SWRLJavaFactory

java.lang.Object
  extended by edu.stanford.smi.protege.model.framestore.DefaultFrameFactory
      extended by edu.stanford.smi.protegex.owl.model.factory.OWLJavaFactory
          extended by edu.stanford.smi.protegex.owl.swrl.model.factory.SWRLJavaFactory
All Implemented Interfaces:
edu.stanford.smi.protege.model.FrameFactory

public class SWRLJavaFactory
extends OWLJavaFactory


Field Summary
 
Fields inherited from class edu.stanford.smi.protege.model.framestore.DefaultFrameFactory
DEFAULT_CLS_JAVA_CLASS_ID, DEFAULT_FACET_JAVA_CLASS_ID, DEFAULT_SIMPLE_INSTANCE_JAVA_CLASS_ID, DEFAULT_SLOT_JAVA_CLASS_ID
 
Constructor Summary
SWRLJavaFactory(OWLModel owlModel)
           
 
Method Summary
 edu.stanford.smi.protege.model.Cls createCls(edu.stanford.smi.protege.model.FrameID id, Collection directTypes)
          Creates instances of the corresponding subclass of DefaultCls if one of the metaclasses of the directTypes list is an SWRL metaclass.
 edu.stanford.smi.protege.model.SimpleInstance createSimpleInstance(edu.stanford.smi.protege.model.FrameID id, Collection directTypes)
           
 boolean isCorrectJavaImplementationClass(edu.stanford.smi.protege.model.FrameID id, Collection types, Class clas)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.model.factory.OWLJavaFactory
as, canAs, createFrameFromClassId, createSlot, getImplementationClass, getImplementationClassName, getImplementationConstructor, getJavaClassId, getJavaInterfaceName
 
Methods inherited from class edu.stanford.smi.protege.model.framestore.DefaultFrameFactory
addJavaPackage, configureCls, configureFacet, configureSimpleInstance, configureSlot, createCls, createFacet, createFacet, createSimpleInstance, createSlot, getClsJavaClassIds, getFacetJavaClassIds, getImplementationClass, getJavaClassName, getKnowledgeBase, getSimpleInstanceJavaClassIds, getSlotJavaClassIds, isValidCharacter, removeJavaPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWRLJavaFactory

public SWRLJavaFactory(OWLModel owlModel)
Method Detail

createSimpleInstance

public edu.stanford.smi.protege.model.SimpleInstance createSimpleInstance(edu.stanford.smi.protege.model.FrameID id,
                                                                          Collection directTypes)
Specified by:
createSimpleInstance in interface edu.stanford.smi.protege.model.FrameFactory
Overrides:
createSimpleInstance in class OWLJavaFactory

createCls

public edu.stanford.smi.protege.model.Cls createCls(edu.stanford.smi.protege.model.FrameID id,
                                                    Collection directTypes)
Creates instances of the corresponding subclass of DefaultCls if one of the metaclasses of the directTypes list is an SWRL metaclass.

Specified by:
createCls in interface edu.stanford.smi.protege.model.FrameFactory
Overrides:
createCls in class OWLJavaFactory
Returns:
the new Cls object

isCorrectJavaImplementationClass

public boolean isCorrectJavaImplementationClass(edu.stanford.smi.protege.model.FrameID id,
                                                Collection types,
                                                Class clas)
Specified by:
isCorrectJavaImplementationClass in interface edu.stanford.smi.protege.model.FrameFactory
Overrides:
isCorrectJavaImplementationClass in class OWLJavaFactory

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.