|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.ui.jena.OntPolicyManager
A Singleton that manages the current ont-policy model and file. Applications should always use this object to access the system's ont-policy file, and then perhaps use the OntPolicy class for detailed access.
Field Summary | |
private static com.hp.hpl.jena.rdf.model.Model |
model
Deprecated. |
private static edu.stanford.smi.protege.model.Project |
recentProject
Deprecated. |
Constructor Summary | |
OntPolicyManager()
Deprecated. |
Method Summary | |
static String |
getAltURL(edu.stanford.smi.protege.model.Project project,
String uri)
Deprecated. |
static com.hp.hpl.jena.rdf.model.Model |
getCurrentModel(edu.stanford.smi.protege.model.Project project)
Deprecated. |
private static com.hp.hpl.jena.rdf.model.Resource |
getOrCreateOntologySpec(edu.stanford.smi.protege.model.Project project,
String uri)
Deprecated. |
static String |
getPrefix(edu.stanford.smi.protege.model.Project project,
String namespace)
Deprecated. |
static String |
getRelativePhysicalFileName(edu.stanford.smi.protege.model.Project project,
String uri)
Deprecated. |
static String |
getUniquePrefix(edu.stanford.smi.protege.model.Project project)
Deprecated. |
static Map |
getUsedAltURIs(OWLModel owlModel)
Deprecated. Gets a Map from imports (String) to alt entries (String) for those found in a given OWLModel. |
static void |
invalidate()
Deprecated. |
static boolean |
isEditable(edu.stanford.smi.protege.model.Project project,
String uri)
Deprecated. |
private static void |
loadModelOnDemand(edu.stanford.smi.protege.model.Project project)
Deprecated. |
static void |
saveCurrentModel(edu.stanford.smi.protege.model.Project project)
Deprecated. |
static boolean |
setAltURI(edu.stanford.smi.protege.model.Project project,
String uri,
String altURL)
Deprecated. |
static void |
setEditableImport(edu.stanford.smi.protege.model.Project project,
String uri,
boolean value)
Deprecated. |
static void |
setPrefix(edu.stanford.smi.protege.model.Project project,
String uri,
String prefix)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static com.hp.hpl.jena.rdf.model.Model model
private static edu.stanford.smi.protege.model.Project recentProject
Constructor Detail |
public OntPolicyManager()
Method Detail |
public static com.hp.hpl.jena.rdf.model.Model getCurrentModel(edu.stanford.smi.protege.model.Project project)
public static String getAltURL(edu.stanford.smi.protege.model.Project project, String uri)
private static com.hp.hpl.jena.rdf.model.Resource getOrCreateOntologySpec(edu.stanford.smi.protege.model.Project project, String uri)
public static String getPrefix(edu.stanford.smi.protege.model.Project project, String namespace)
public static String getUniquePrefix(edu.stanford.smi.protege.model.Project project)
public static Map getUsedAltURIs(OWLModel owlModel)
owlModel
- the OWLKnowlwegdeBase to get the alt entries
public static void invalidate()
public static boolean isEditable(edu.stanford.smi.protege.model.Project project, String uri)
private static void loadModelOnDemand(edu.stanford.smi.protege.model.Project project)
public static void saveCurrentModel(edu.stanford.smi.protege.model.Project project) throws Exception
Exception
public static boolean setAltURI(edu.stanford.smi.protege.model.Project project, String uri, String altURL)
public static void setPrefix(edu.stanford.smi.protege.model.Project project, String uri, String prefix)
public static void setEditableImport(edu.stanford.smi.protege.model.Project project, String uri, boolean value)
public static String getRelativePhysicalFileName(edu.stanford.smi.protege.model.Project project, String uri)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |