edu.stanford.smi.protege.server.metaproject.impl
Class MetaProjectImpl
java.lang.Object
edu.stanford.smi.protege.server.metaproject.impl.MetaProjectImpl
- All Implemented Interfaces:
- MetaProject
public class MetaProjectImpl
- extends Object
- implements MetaProject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaProjectImpl
public MetaProjectImpl(URI metaprojectURI)
getCls
public Cls getCls(MetaProject.ClsEnum cls)
throws OntologyException
- Specified by:
getCls
in interface MetaProject
- Throws:
OntologyException
getSlot
public Slot getSlot(MetaProject.SlotEnum slot)
throws OntologyException
- Specified by:
getSlot
in interface MetaProject
- Throws:
OntologyException
wrapInstance
protected WrappedProtegeInstanceImpl wrapInstance(MetaProject.ClsEnum cls,
Instance i)
getWrappedInstances
protected Set getWrappedInstances(MetaProject.ClsEnum cls)
getProjectInstances
public Set<MetaProjectInstance> getProjectInstances()
- Specified by:
getProjectInstances
in interface MetaProject
getProjectInstance
public MetaProjectInstance getProjectInstance(String name)
- Specified by:
getProjectInstance
in interface MetaProject
getUserInstances
public Set<UserInstance> getUserInstances()
- Specified by:
getUserInstances
in interface MetaProject
getOperations
public Set<Operation> getOperations()
- Specified by:
getOperations
in interface MetaProject
getPolicy
public Policy getPolicy()
- Specified by:
getPolicy
in interface MetaProject
getKnowledgeBase
public KnowledgeBase getKnowledgeBase()
- Specified by:
getKnowledgeBase
in interface MetaProject
save
public boolean save(Collection errors)
- Specified by:
save
in interface MetaProject
createMetaProjectInstance
public MetaProjectInstance createMetaProjectInstance(String name)
- Specified by:
createMetaProjectInstance
in interface MetaProject
createUserInstance
public UserInstance createUserInstance(String name,
String password)
- Specified by:
createUserInstance
in interface MetaProject
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.