org.biomoby.client.taverna.plugin
Class BiomobyScavengerWorker
java.lang.Object
org.biomoby.client.taverna.plugin.BiomobyScavengerWorker
public class BiomobyScavengerWorker
- extends java.lang.Object
- Author:
- Edward Kawas
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BiomobyScavengerWorker
public BiomobyScavengerWorker()
throws org.biomoby.shared.MobyException
- Parameterized constructor. Aligns itself to the main biomoby registry.
- Throws:
org.biomoby.shared.MobyException
BiomobyScavengerWorker
public BiomobyScavengerWorker(java.lang.String url,
java.lang.String uri)
throws org.biomoby.shared.MobyException
- Parameterized constructor. Used for creating a scavenger for a custom
Biomoby registry.
- Parameters:
url - -
the url of the registryuri - -
the namespace for the registry
- Throws:
org.biomoby.shared.MobyException
main
public static void main(java.lang.String[] args)
throws org.biomoby.shared.MobyException
- Throws:
org.biomoby.shared.MobyException
getDataTypes
public javax.swing.tree.DefaultMutableTreeNode getDataTypes()
throws org.biomoby.shared.MobyException
- Returns:
- a DefaultMutableTreeNode that represents the BioMOBY root
datatype 'Object' with all of its children
- Throws:
org.biomoby.shared.MobyException
getServices
public java.util.ArrayList<javax.swing.tree.DefaultMutableTreeNode> getServices()
throws org.biomoby.shared.MobyException
- Returns:
- a Map whose keys are service provider authorities mapped to an
arraylist of treenodes
- Throws:
org.biomoby.shared.MobyException - if something goes wrong
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getCacheLocation
public java.lang.String getCacheLocation()
- Returns:
- the CacheImpl object for this scavenger
getRegistryUrl
public java.lang.String getRegistryUrl()
getRegistryUri
public java.lang.String getRegistryUri()
getDatatypesRdfUrl
public java.lang.String getDatatypesRdfUrl()
setDatatypesRdfUrl
public void setDatatypesRdfUrl(java.lang.String datatypesRdfUrl)
getNamespacesRdfUrl
public java.lang.String getNamespacesRdfUrl()
setNamespacesRdfUrl
public void setNamespacesRdfUrl(java.lang.String namespacesRdfUrl)