edu.stanford.smi.protegex.owl.model
Interface ProtegeInstance

All Superinterfaces:
Comparable, edu.stanford.smi.protege.model.Frame, edu.stanford.smi.protege.model.Instance
All Known Subinterfaces:
OWLAllDifferent, OWLAllValuesFrom, OWLAnonymousClass, OWLCardinality, OWLCardinalityBase, OWLClass, OWLComplementClass, OWLDataRange, OWLDatatypeProperty, OWLEnumeratedClass, OWLExistentialRestriction, OWLHasValue, OWLIndividual, OWLIntersectionClass, OWLLogicalClass, OWLMaxCardinality, OWLMinCardinality, OWLNamedClass, OWLNAryLogicalClass, OWLObjectProperty, OWLOntology, OWLProperty, OWLQuantifierRestriction, OWLRestriction, OWLSomeValuesFrom, OWLUnionClass, ProtegeCls, ProtegeSlot, RDFIndividual, RDFList, RDFProperty, RDFResource, RDFSClass, RDFSDatatype, RDFSNamedClass, RDFUntypedResource, SWRLAtom, SWRLAtomList, SWRLBuiltin, SWRLBuiltinAtom, SWRLClassAtom, SWRLDataRangeAtom, SWRLDatavaluedPropertyAtom, SWRLDifferentIndividualsAtom, SWRLImp, SWRLIndividual, SWRLIndividualPropertyAtom, SWRLIndividualsAtom, SWRLSameIndividualAtom, SWRLVariable, TestPerson
All Known Implementing Classes:
AbstractOWLAnonymousClass, AbstractOWLCardinalityBase, AbstractOWLLogicalClass, AbstractOWLNAryLogicalClass, AbstractOWLProperty, AbstractOWLQuantifierRestriction, AbstractOWLRestriction, AbstractRDFSClass, AbstractSWRLIndividualsAtom, DefaultOWLAllDifferent, DefaultOWLAllValuesFrom, DefaultOWLCardinality, DefaultOWLComplementClass, DefaultOWLDataRange, DefaultOWLDatatypeProperty, DefaultOWLEnumeratedClass, DefaultOWLHasValue, DefaultOWLIndividual, DefaultOWLIntersectionClass, DefaultOWLMaxCardinality, DefaultOWLMinCardinality, DefaultOWLNamedClass, DefaultOWLObjectProperty, DefaultOWLOntology, DefaultOWLSomeValuesFrom, DefaultOWLUnionClass, DefaultRDFIndividual, DefaultRDFList, DefaultRDFProperty, DefaultRDFSDatatype, DefaultRDFSNamedClass, DefaultRDFUntypedResource, DefaultSWRLAtom, DefaultSWRLAtomList, DefaultSWRLBuiltin, DefaultSWRLBuiltinAtom, DefaultSWRLClassAtom, DefaultSWRLDataRangeAtom, DefaultSWRLDatavaluedPropertyAtom, DefaultSWRLDifferentIndividualsAtom, DefaultSWRLImp, DefaultSWRLIndividualPropertyAtom, DefaultSWRLSameIndividualAtom, DefaultSWRLVariable, DefaultTestPerson

public interface ProtegeInstance
extends edu.stanford.smi.protege.model.Instance

An interface to wrap the Protege Instance and Frame interfaces for OWL. This basically deprecates most methods and points to their replacements in the OWL API.

Author:
Holger Knublauch

Method Summary
 void addDirectType(edu.stanford.smi.protege.model.Cls cls)
          Deprecated.  
 void addFrameListener(edu.stanford.smi.protege.event.FrameListener listener)
          Deprecated.  
 void addInstanceListener(edu.stanford.smi.protege.event.InstanceListener listener)
          Deprecated.  
 boolean addOwnFacetValue(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet, Object value)
          Deprecated. no OWL equivalent
 void addOwnSlotValue(edu.stanford.smi.protege.model.Slot slot, Object value)
          Deprecated.  
 boolean areValidOwnSlotValues(edu.stanford.smi.protege.model.Slot slot, Collection values)
          Deprecated. not needed
 edu.stanford.smi.protege.model.Frame copy(edu.stanford.smi.protege.model.KnowledgeBase kb, Map valueMap, boolean isDeep)
          Deprecated. not needed
 edu.stanford.smi.protege.model.Frame deepCopy(edu.stanford.smi.protege.model.KnowledgeBase kb, Map valueMap)
          Deprecated. not needed
 String getBrowserText()
           
 Object getDirectOwnSlotValue(edu.stanford.smi.protege.model.Slot slot)
          Deprecated.  
 List getDirectOwnSlotValues(edu.stanford.smi.protege.model.Slot slot)
          Deprecated.  
 edu.stanford.smi.protege.model.Cls getDirectType()
          Deprecated.  
 Collection getDirectTypes()
          Deprecated.  
 Collection getDocumentation()
          Deprecated.  
 edu.stanford.smi.protege.model.FrameID getFrameID()
          Deprecated. Protege internal
 Icon getIcon()
          Deprecated. use ProtegeUI.getIcon() instead
 String getInvalidOwnSlotValuesText(edu.stanford.smi.protege.model.Slot slot, Collection values)
          Deprecated. not needed
 String getInvalidOwnSlotValueText(edu.stanford.smi.protege.model.Slot slot, Object value)
          Deprecated. not needed
 edu.stanford.smi.protege.model.KnowledgeBase getKnowledgeBase()
          Deprecated.  
 Object getOwnFacetValue(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet)
          Deprecated. no OWL equivalent
 Collection getOwnFacetValues(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet)
          Deprecated. no OWL equivalent
 boolean getOwnSlotAllowsMultipleValues(edu.stanford.smi.protege.model.Slot slot)
          Deprecated. not needed
 Collection getOwnSlotAndSubslotValues(edu.stanford.smi.protege.model.Slot slot)
          Deprecated. not needed
 Collection getOwnSlotDefaultValues(edu.stanford.smi.protege.model.Slot slot)
          Deprecated. not needed
 Collection getOwnSlotFacets(edu.stanford.smi.protege.model.Slot slot)
          Deprecated. not needed
 Collection getOwnSlotFacetValues(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet)
          Deprecated. not needed
 Collection getOwnSlots()
          Deprecated. replaced but includes subproperties!
 Object getOwnSlotValue(edu.stanford.smi.protege.model.Slot slot)
          Deprecated.  
 int getOwnSlotValueCount(edu.stanford.smi.protege.model.Slot slot)
          Deprecated.  
 Collection getOwnSlotValues(edu.stanford.smi.protege.model.Slot slot)
          Deprecated.  
 edu.stanford.smi.protege.model.ValueType getOwnSlotValueType(edu.stanford.smi.protege.model.Slot slot)
          Deprecated. not needed
 edu.stanford.smi.protege.model.Project getProject()
           
 Collection getReachableSimpleInstances()
          Deprecated. not needed
 Collection getReferences()
           
 Collection getReferences(int maxReferences)
           
 boolean hasDirectType(edu.stanford.smi.protege.model.Cls cls)
          Deprecated.  
 boolean hasOwnSlot(edu.stanford.smi.protege.model.Slot slot)
          Deprecated. not needed
 boolean hasType(edu.stanford.smi.protege.model.Cls cls)
          Deprecated. not needed
 boolean isBeingDeleted()
           
 boolean isDeleted()
           
 boolean isEditable()
           
 boolean isIncluded()
           
 boolean isSystem()
           
 boolean isValidOwnSlotValue(edu.stanford.smi.protege.model.Slot slot, Object item)
          Deprecated. not needed
 void markDeleted(boolean deleted)
           
 void markDeleting()
           
 void removeDirectType(edu.stanford.smi.protege.model.Cls cls)
          Deprecated.  
 void removeFrameListener(edu.stanford.smi.protege.event.FrameListener listener)
          Deprecated.  
 void removeInstanceListener(edu.stanford.smi.protege.event.InstanceListener listener)
          Deprecated.  
 void removeOwnSlotValue(edu.stanford.smi.protege.model.Slot slot, Object value)
          Deprecated.  
 void setDirectOwnSlotValue(edu.stanford.smi.protege.model.Slot slot, Object value)
          Deprecated.  
 void setDirectOwnSlotValues(edu.stanford.smi.protege.model.Slot slot, Collection values)
          Deprecated.  
 edu.stanford.smi.protege.model.Instance setDirectType(edu.stanford.smi.protege.model.Cls cls)
          Deprecated.  
 edu.stanford.smi.protege.model.Instance setDirectTypes(Collection types)
          Deprecated.  
 void setDocumentation(Collection documentation)
          Deprecated.  
 void setDocumentation(String documentation)
          Deprecated.  
 void setEditable(boolean b)
           
 void setIncluded(boolean b)
          Deprecated. this will be refactored into multiple imports
 void setOwnFacetValue(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet, Object value)
          Deprecated. no OWL equivalent
 void setOwnFacetValues(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet, Collection values)
          Deprecated. no OWL equivalent
 void setOwnSlotValue(edu.stanford.smi.protege.model.Slot slot, Object value)
          Deprecated.  
 void setOwnSlotValues(edu.stanford.smi.protege.model.Slot slot, Collection values)
          Deprecated.  
 edu.stanford.smi.protege.model.Frame shallowCopy(edu.stanford.smi.protege.model.KnowledgeBase kb, Map valueMap)
          Deprecated. not needed
 
Methods inherited from interface edu.stanford.smi.protege.model.Instance
moveDirectType
 
Methods inherited from interface edu.stanford.smi.protege.model.Frame
delete, getName, isValid, isVisible, moveDirectOwnSlotValue, setName, setVisible
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addFrameListener

public void addFrameListener(edu.stanford.smi.protege.event.FrameListener listener)
Deprecated.  

Specified by:
addFrameListener in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.addPropertyValueListener(edu.stanford.smi.protegex.owl.model.event.PropertyValueListener)

addInstanceListener

public void addInstanceListener(edu.stanford.smi.protege.event.InstanceListener listener)
Deprecated.  

Specified by:
addInstanceListener in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.addResourceListener(edu.stanford.smi.protegex.owl.model.event.ResourceListener)

addOwnFacetValue

public boolean addOwnFacetValue(edu.stanford.smi.protege.model.Slot slot,
                                edu.stanford.smi.protege.model.Facet facet,
                                Object value)
Deprecated. no OWL equivalent

Specified by:
addOwnFacetValue in interface edu.stanford.smi.protege.model.Frame

addOwnSlotValue

public void addOwnSlotValue(edu.stanford.smi.protege.model.Slot slot,
                            Object value)
Deprecated.  

Specified by:
addOwnSlotValue in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.addPropertyValue(edu.stanford.smi.protegex.owl.model.RDFProperty, java.lang.Object)

areValidOwnSlotValues

public boolean areValidOwnSlotValues(edu.stanford.smi.protege.model.Slot slot,
                                     Collection values)
Deprecated. not needed

Specified by:
areValidOwnSlotValues in interface edu.stanford.smi.protege.model.Frame

deepCopy

public edu.stanford.smi.protege.model.Frame deepCopy(edu.stanford.smi.protege.model.KnowledgeBase kb,
                                                     Map valueMap)
Deprecated. not needed

Specified by:
deepCopy in interface edu.stanford.smi.protege.model.Frame

shallowCopy

public edu.stanford.smi.protege.model.Frame shallowCopy(edu.stanford.smi.protege.model.KnowledgeBase kb,
                                                        Map valueMap)
Deprecated. not needed

Specified by:
shallowCopy in interface edu.stanford.smi.protege.model.Frame

copy

public edu.stanford.smi.protege.model.Frame copy(edu.stanford.smi.protege.model.KnowledgeBase kb,
                                                 Map valueMap,
                                                 boolean isDeep)
Deprecated. not needed

Specified by:
copy in interface edu.stanford.smi.protege.model.Frame

getBrowserText

public String getBrowserText()
Specified by:
getBrowserText in interface edu.stanford.smi.protege.model.Frame

getIcon

public Icon getIcon()
Deprecated. use ProtegeUI.getIcon() instead

Specified by:
getIcon in interface edu.stanford.smi.protege.model.Frame
See Also:
ProtegeUI.getIcon(edu.stanford.smi.protegex.owl.model.RDFResource)

getDocumentation

public Collection getDocumentation()
Deprecated.  

Specified by:
getDocumentation in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.getComments()

getFrameID

public edu.stanford.smi.protege.model.FrameID getFrameID()
Deprecated. Protege internal

Specified by:
getFrameID in interface edu.stanford.smi.protege.model.Frame

getInvalidOwnSlotValuesText

public String getInvalidOwnSlotValuesText(edu.stanford.smi.protege.model.Slot slot,
                                          Collection values)
Deprecated. not needed

Specified by:
getInvalidOwnSlotValuesText in interface edu.stanford.smi.protege.model.Frame

getInvalidOwnSlotValueText

public String getInvalidOwnSlotValueText(edu.stanford.smi.protege.model.Slot slot,
                                         Object value)
Deprecated. not needed

Specified by:
getInvalidOwnSlotValueText in interface edu.stanford.smi.protege.model.Frame

getKnowledgeBase

public edu.stanford.smi.protege.model.KnowledgeBase getKnowledgeBase()
Deprecated.  

Specified by:
getKnowledgeBase in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.getOWLModel()

getOwnFacetValue

public Object getOwnFacetValue(edu.stanford.smi.protege.model.Slot slot,
                               edu.stanford.smi.protege.model.Facet facet)
Deprecated. no OWL equivalent

Specified by:
getOwnFacetValue in interface edu.stanford.smi.protege.model.Frame

getOwnFacetValues

public Collection getOwnFacetValues(edu.stanford.smi.protege.model.Slot slot,
                                    edu.stanford.smi.protege.model.Facet facet)
Deprecated. no OWL equivalent

Specified by:
getOwnFacetValues in interface edu.stanford.smi.protege.model.Frame

getOwnSlotAllowsMultipleValues

public boolean getOwnSlotAllowsMultipleValues(edu.stanford.smi.protege.model.Slot slot)
Deprecated. not needed

Specified by:
getOwnSlotAllowsMultipleValues in interface edu.stanford.smi.protege.model.Frame

getOwnSlotAndSubslotValues

public Collection getOwnSlotAndSubslotValues(edu.stanford.smi.protege.model.Slot slot)
Deprecated. not needed

Specified by:
getOwnSlotAndSubslotValues in interface edu.stanford.smi.protege.model.Frame

getOwnSlotDefaultValues

public Collection getOwnSlotDefaultValues(edu.stanford.smi.protege.model.Slot slot)
Deprecated. not needed

Specified by:
getOwnSlotDefaultValues in interface edu.stanford.smi.protege.model.Frame

getOwnSlotFacets

public Collection getOwnSlotFacets(edu.stanford.smi.protege.model.Slot slot)
Deprecated. not needed

Specified by:
getOwnSlotFacets in interface edu.stanford.smi.protege.model.Frame

getOwnSlotFacetValues

public Collection getOwnSlotFacetValues(edu.stanford.smi.protege.model.Slot slot,
                                        edu.stanford.smi.protege.model.Facet facet)
Deprecated. not needed

Specified by:
getOwnSlotFacetValues in interface edu.stanford.smi.protege.model.Frame

getOwnSlots

public Collection getOwnSlots()
Deprecated. replaced but includes subproperties!

Specified by:
getOwnSlots in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.getPossibleRDFProperties()

getDirectOwnSlotValue

public Object getDirectOwnSlotValue(edu.stanford.smi.protege.model.Slot slot)
Deprecated.  

Specified by:
getDirectOwnSlotValue in interface edu.stanford.smi.protege.model.Frame
See Also:
(false)

getOwnSlotValue

public Object getOwnSlotValue(edu.stanford.smi.protege.model.Slot slot)
Deprecated.  

Specified by:
getOwnSlotValue in interface edu.stanford.smi.protege.model.Frame
See Also:
(true)

getOwnSlotValueCount

public int getOwnSlotValueCount(edu.stanford.smi.protege.model.Slot slot)
Deprecated.  

Specified by:
getOwnSlotValueCount in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.getPropertyValueCount(edu.stanford.smi.protegex.owl.model.RDFProperty)

getOwnSlotValues

public Collection getOwnSlotValues(edu.stanford.smi.protege.model.Slot slot)
Deprecated.  

Specified by:
getOwnSlotValues in interface edu.stanford.smi.protege.model.Frame
See Also:
(true)

getDirectOwnSlotValues

public List getDirectOwnSlotValues(edu.stanford.smi.protege.model.Slot slot)
Deprecated.  

Specified by:
getDirectOwnSlotValues in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.getPropertyValues(edu.stanford.smi.protegex.owl.model.RDFProperty)

getOwnSlotValueType

public edu.stanford.smi.protege.model.ValueType getOwnSlotValueType(edu.stanford.smi.protege.model.Slot slot)
Deprecated. not needed

Specified by:
getOwnSlotValueType in interface edu.stanford.smi.protege.model.Frame

getProject

public edu.stanford.smi.protege.model.Project getProject()
Specified by:
getProject in interface edu.stanford.smi.protege.model.Frame

getReferences

public Collection getReferences()
Specified by:
getReferences in interface edu.stanford.smi.protege.model.Frame

getReferences

public Collection getReferences(int maxReferences)
Specified by:
getReferences in interface edu.stanford.smi.protege.model.Frame

hasOwnSlot

public boolean hasOwnSlot(edu.stanford.smi.protege.model.Slot slot)
Deprecated. not needed

Specified by:
hasOwnSlot in interface edu.stanford.smi.protege.model.Frame

isEditable

public boolean isEditable()
Specified by:
isEditable in interface edu.stanford.smi.protege.model.Frame

isIncluded

public boolean isIncluded()
Specified by:
isIncluded in interface edu.stanford.smi.protege.model.Frame

isSystem

public boolean isSystem()
Specified by:
isSystem in interface edu.stanford.smi.protege.model.Frame

markDeleting

public void markDeleting()
Specified by:
markDeleting in interface edu.stanford.smi.protege.model.Frame

markDeleted

public void markDeleted(boolean deleted)
Specified by:
markDeleted in interface edu.stanford.smi.protege.model.Frame

isDeleted

public boolean isDeleted()
Specified by:
isDeleted in interface edu.stanford.smi.protege.model.Frame

isBeingDeleted

public boolean isBeingDeleted()
Specified by:
isBeingDeleted in interface edu.stanford.smi.protege.model.Frame

isValidOwnSlotValue

public boolean isValidOwnSlotValue(edu.stanford.smi.protege.model.Slot slot,
                                   Object item)
Deprecated. not needed

Specified by:
isValidOwnSlotValue in interface edu.stanford.smi.protege.model.Frame

removeFrameListener

public void removeFrameListener(edu.stanford.smi.protege.event.FrameListener listener)
Deprecated.  

Specified by:
removeFrameListener in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.removePropertyValueListener(edu.stanford.smi.protegex.owl.model.event.PropertyValueListener)

removeInstanceListener

public void removeInstanceListener(edu.stanford.smi.protege.event.InstanceListener listener)
Deprecated.  

Specified by:
removeInstanceListener in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.removeResourceListener(edu.stanford.smi.protegex.owl.model.event.ResourceListener)

removeOwnSlotValue

public void removeOwnSlotValue(edu.stanford.smi.protege.model.Slot slot,
                               Object value)
Deprecated.  

Specified by:
removeOwnSlotValue in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.removePropertyValue(edu.stanford.smi.protegex.owl.model.RDFProperty, java.lang.Object)

setDocumentation

public void setDocumentation(String documentation)
Deprecated.  

Specified by:
setDocumentation in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.setComment(java.lang.String)

setDocumentation

public void setDocumentation(Collection documentation)
Deprecated.  

Specified by:
setDocumentation in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.setComments(java.util.Collection)

setEditable

public void setEditable(boolean b)
Specified by:
setEditable in interface edu.stanford.smi.protege.model.Frame

setIncluded

public void setIncluded(boolean b)
Deprecated. this will be refactored into multiple imports

Specified by:
setIncluded in interface edu.stanford.smi.protege.model.Frame

setOwnFacetValue

public void setOwnFacetValue(edu.stanford.smi.protege.model.Slot slot,
                             edu.stanford.smi.protege.model.Facet facet,
                             Object value)
Deprecated. no OWL equivalent

Specified by:
setOwnFacetValue in interface edu.stanford.smi.protege.model.Frame

setOwnFacetValues

public void setOwnFacetValues(edu.stanford.smi.protege.model.Slot slot,
                              edu.stanford.smi.protege.model.Facet facet,
                              Collection values)
Deprecated. no OWL equivalent

Specified by:
setOwnFacetValues in interface edu.stanford.smi.protege.model.Frame

setOwnSlotValue

public void setOwnSlotValue(edu.stanford.smi.protege.model.Slot slot,
                            Object value)
Deprecated.  

Specified by:
setOwnSlotValue in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.setPropertyValue(edu.stanford.smi.protegex.owl.model.RDFProperty, java.lang.Object)

setDirectOwnSlotValue

public void setDirectOwnSlotValue(edu.stanford.smi.protege.model.Slot slot,
                                  Object value)
Deprecated.  

Specified by:
setDirectOwnSlotValue in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.setPropertyValue(edu.stanford.smi.protegex.owl.model.RDFProperty, java.lang.Object)

setOwnSlotValues

public void setOwnSlotValues(edu.stanford.smi.protege.model.Slot slot,
                             Collection values)
Deprecated.  

Specified by:
setOwnSlotValues in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.setPropertyValues(edu.stanford.smi.protegex.owl.model.RDFProperty, java.util.Collection)

setDirectOwnSlotValues

public void setDirectOwnSlotValues(edu.stanford.smi.protege.model.Slot slot,
                                   Collection values)
Deprecated.  

Specified by:
setDirectOwnSlotValues in interface edu.stanford.smi.protege.model.Frame
See Also:
RDFResource.setPropertyValues(edu.stanford.smi.protegex.owl.model.RDFProperty, java.util.Collection)

getDirectType

public edu.stanford.smi.protege.model.Cls getDirectType()
Deprecated.  

Specified by:
getDirectType in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.getProtegeType()

getDirectTypes

public Collection getDirectTypes()
Deprecated.  

Specified by:
getDirectTypes in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.getProtegeTypes()

getReachableSimpleInstances

public Collection getReachableSimpleInstances()
Deprecated. not needed

Specified by:
getReachableSimpleInstances in interface edu.stanford.smi.protege.model.Instance

hasDirectType

public boolean hasDirectType(edu.stanford.smi.protege.model.Cls cls)
Deprecated.  

Specified by:
hasDirectType in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.hasProtegeType(edu.stanford.smi.protegex.owl.model.RDFSClass)

hasType

public boolean hasType(edu.stanford.smi.protege.model.Cls cls)
Deprecated. not needed

Specified by:
hasType in interface edu.stanford.smi.protege.model.Instance

setDirectType

public edu.stanford.smi.protege.model.Instance setDirectType(edu.stanford.smi.protege.model.Cls cls)
Deprecated.  

Specified by:
setDirectType in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.setProtegeType(edu.stanford.smi.protegex.owl.model.RDFSClass)

setDirectTypes

public edu.stanford.smi.protege.model.Instance setDirectTypes(Collection types)
Deprecated.  

Specified by:
setDirectTypes in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.setProtegeTypes(java.util.Collection)

addDirectType

public void addDirectType(edu.stanford.smi.protege.model.Cls cls)
Deprecated.  

Specified by:
addDirectType in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.addProtegeType(edu.stanford.smi.protegex.owl.model.RDFSClass)

removeDirectType

public void removeDirectType(edu.stanford.smi.protege.model.Cls cls)
Deprecated.  

Specified by:
removeDirectType in interface edu.stanford.smi.protege.model.Instance
See Also:
RDFResource.removeProtegeType(edu.stanford.smi.protegex.owl.model.RDFSClass)