Protege 3.3.1

edu.stanford.smi.protege.server.metaproject.impl
Class MetaProjectImpl

java.lang.Object
  extended by edu.stanford.smi.protege.server.metaproject.impl.MetaProjectImpl
All Implemented Interfaces:
MetaProject

public class MetaProjectImpl
extends Object
implements MetaProject


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.stanford.smi.protege.server.metaproject.MetaProject
MetaProject.ClsEnum, MetaProject.SlotEnum
 
Constructor Summary
MetaProjectImpl(URI metaprojectURI)
           
 
Method Summary
 MetaProjectInstance createMetaProjectInstance(String name)
           
 UserInstance createUserInstance(String name, String password)
           
 Cls getCls(MetaProject.ClsEnum cls)
           
 KnowledgeBase getKnowledgeBase()
           
 Set<Operation> getOperations()
           
 Policy getPolicy()
           
 MetaProjectInstance getProjectInstance(String name)
           
 Set<MetaProjectInstance> getProjectInstances()
           
 Slot getSlot(MetaProject.SlotEnum slot)
           
 Set<UserInstance> getUserInstances()
           
protected  Set getWrappedInstances(MetaProject.ClsEnum cls)
           
 boolean save(Collection errors)
           
protected  WrappedProtegeInstanceImpl wrapInstance(MetaProject.ClsEnum cls, Instance i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaProjectImpl

public MetaProjectImpl(URI metaprojectURI)
Method Detail

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

Protege 3.3.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.