edu.stanford.smi.protege.model
Class ModelUtilities
java.lang.Object
|
+--edu.stanford.smi.protege.model.ModelUtilities
- public class ModelUtilities
- extends Object
Description of the class
- Author:
- Ray Fergerson
Method Summary |
static void |
addOwnSlotValue(Frame frame,
String slotName,
Object value)
|
static Map |
createValueMap(KnowledgeBase sourceKB,
KnowledgeBase targetKB)
|
static Object |
getOwnSlotValue(Frame frame,
String name)
|
static Collection |
getOwnSlotValues(Frame frame,
String name)
|
List |
getPath(Cls cls,
List list)
|
static List |
getPathToRoot(Cls cls)
|
static Object |
getTemplateFacetValue(Cls cls,
Slot slot,
String facetName)
|
static Collection |
getTemplateFacetValues(Cls cls,
Slot slot,
String facetName)
|
static void |
removeOwnSlotValue(Frame frame,
String slotName,
Object value)
|
static void |
setOwnSlotValue(Frame frame,
String slotName,
Object value)
|
static void |
setOwnSlotValues(Frame frame,
String slotName,
Collection values)
|
static void |
setTemplateFacetValue(Cls cls,
Slot slot,
String facetName,
Object value)
|
static void |
setTemplateFacetValues(Cls cls,
Slot slot,
String facetName,
Collection values)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelUtilities
public ModelUtilities()
addOwnSlotValue
public static void addOwnSlotValue(Frame frame,
String slotName,
Object value)
createValueMap
public static Map createValueMap(KnowledgeBase sourceKB,
KnowledgeBase targetKB)
getOwnSlotValue
public static Object getOwnSlotValue(Frame frame,
String name)
getOwnSlotValues
public static Collection getOwnSlotValues(Frame frame,
String name)
getPath
public List getPath(Cls cls,
List list)
getPathToRoot
public static List getPathToRoot(Cls cls)
getTemplateFacetValue
public static Object getTemplateFacetValue(Cls cls,
Slot slot,
String facetName)
getTemplateFacetValues
public static Collection getTemplateFacetValues(Cls cls,
Slot slot,
String facetName)
removeOwnSlotValue
public static void removeOwnSlotValue(Frame frame,
String slotName,
Object value)
setOwnSlotValue
public static void setOwnSlotValue(Frame frame,
String slotName,
Object value)
setOwnSlotValues
public static void setOwnSlotValues(Frame frame,
String slotName,
Collection values)
setTemplateFacetValue
public static void setTemplateFacetValue(Cls cls,
Slot slot,
String facetName,
Object value)
setTemplateFacetValues
public static void setTemplateFacetValues(Cls cls,
Slot slot,
String facetName,
Collection values)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.