edu.stanford.smi.protege.server.metaproject.impl
Class MetaProjectImpl
java.lang.Object
edu.stanford.smi.protege.server.metaproject.impl.MetaProjectImpl
- All Implemented Interfaces:
- Localizable, MetaProject, Serializable
public class MetaProjectImpl
- extends Object
- implements MetaProject, Localizable, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaProjectImpl
public MetaProjectImpl(URI metaProjectURI)
MetaProjectImpl
public MetaProjectImpl(URI metaprojectURI,
boolean isMultiUserServer)
MetaProjectImpl
public MetaProjectImpl(Project p)
getCls
public Cls getCls(MetaProjectImpl.ClsEnum cls)
throws OntologyException
- Throws:
OntologyException
getSlot
public Slot getSlot(MetaProjectImpl.SlotEnum slot)
throws OntologyException
- Throws:
OntologyException
wrapInstance
protected WrappedProtegeInstanceImpl wrapInstance(MetaProjectImpl.ClsEnum cls,
Instance i)
getWrappedInstances
protected Set getWrappedInstances(MetaProjectImpl.ClsEnum cls)
getProjects
public Set<ProjectInstance> getProjects()
- Specified by:
getProjects
in interface MetaProject
getProject
public ProjectInstance getProject(String name)
- Specified by:
getProject
in interface MetaProject
getUsers
public Set<User> getUsers()
- Specified by:
getUsers
in interface MetaProject
getUser
public User getUser(String name)
- Specified by:
getUser
in interface MetaProject
getOperation
public Operation getOperation(String name)
- Specified by:
getOperation
in interface MetaProject
getOperations
public Set<Operation> getOperations()
- Specified by:
getOperations
in interface MetaProject
getGroup
public Group getGroup(String name)
- Specified by:
getGroup
in interface MetaProject
getGroups
public Set<Group> getGroups()
- Specified by:
getGroups
in interface MetaProject
getGroupOperations
public Set<GroupOperation> getGroupOperations()
- Specified by:
getGroupOperations
in interface MetaProject
getServers
public Set<ServerInstance> getServers()
getPolicy
public Policy getPolicy()
- Specified by:
getPolicy
in interface MetaProject
getKnowledgeBase
public KnowledgeBase getKnowledgeBase()
save
public boolean save(Collection errors)
- Specified by:
save
in interface MetaProject
dispose
public void dispose()
- Specified by:
dispose
in interface MetaProject
createProject
public ProjectInstance createProject(String name)
- Specified by:
createProject
in interface MetaProject
createUser
public User createUser(String name,
String password)
- Specified by:
createUser
in interface MetaProject
createGroup
public Group createGroup(String name)
- Specified by:
createGroup
in interface MetaProject
createOperation
public Operation createOperation(String name)
- Specified by:
createOperation
in interface MetaProject
createGroupOperation
public GroupOperation createGroupOperation()
- Specified by:
createGroupOperation
in interface MetaProject
localize
public void localize(KnowledgeBase kb)
- Specified by:
localize
in interface Localizable
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.