cytoscape.data.servers
Class BioDataServerRmi
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
cytoscape.data.servers.BioDataServerRmi
- All Implemented Interfaces:
- BioDataServerInterface, Serializable, Remote
public class BioDataServerRmi
- extends UnicastRemoteObject
- implements BioDataServerInterface, Serializable
This is the actual class which implements BioDataServer Methods.
- Author:
- kono
04/19/2006: Old code removed (to resolve naming issue.)
- See Also:
- Serialized Form
Method Summary |
void |
addAnnotation(Annotation newAnnotation)
if the new annotation is to an already annotated species, curator and
type, then simply add (with possible overwriting for identical |
void |
addThesaurus(String species,
Thesaurus thesaurus)
|
void |
clear()
|
String |
describe()
|
String[][] |
getAllAnnotations(AnnotationDescription description,
String entity)
|
String[] |
getAllCommonNames(String species,
String commonName)
|
Annotation |
getAnnotation(AnnotationDescription description)
|
Annotation |
getAnnotation(String species,
String curator,
String type)
|
int |
getAnnotationCount()
|
AnnotationDescription[] |
getAnnotationDescriptions()
|
String |
getCanonicalName(String species,
String commonName)
|
int[] |
getClassifications(AnnotationDescription description,
String entity)
|
int[] |
getClassifications(String species,
String curator,
String type,
String entity)
|
String |
getCommonName(String species,
String canonicalName)
|
static void |
main(String[] args)
|
BioDataServerRmi
public BioDataServerRmi()
throws RemoteException
- Throws:
RemoteException
addAnnotation
public void addAnnotation(Annotation newAnnotation)
- if the new annotation is to an already annotated species, curator and
type, then simply add (with possible overwriting for identical
- Specified by:
addAnnotation
in interface BioDataServerInterface
clear
public void clear()
- Specified by:
clear
in interface BioDataServerInterface
getAnnotationCount
public int getAnnotationCount()
- Specified by:
getAnnotationCount
in interface BioDataServerInterface
getAnnotationDescriptions
public AnnotationDescription[] getAnnotationDescriptions()
- Specified by:
getAnnotationDescriptions
in interface BioDataServerInterface
getAnnotation
public Annotation getAnnotation(String species,
String curator,
String type)
- Specified by:
getAnnotation
in interface BioDataServerInterface
getAnnotation
public Annotation getAnnotation(AnnotationDescription description)
- Specified by:
getAnnotation
in interface BioDataServerInterface
getClassifications
public int[] getClassifications(String species,
String curator,
String type,
String entity)
- Specified by:
getClassifications
in interface BioDataServerInterface
getClassifications
public int[] getClassifications(AnnotationDescription description,
String entity)
- Specified by:
getClassifications
in interface BioDataServerInterface
getAllAnnotations
public String[][] getAllAnnotations(AnnotationDescription description,
String entity)
- Specified by:
getAllAnnotations
in interface BioDataServerInterface
describe
public String describe()
- Specified by:
describe
in interface BioDataServerInterface
addThesaurus
public void addThesaurus(String species,
Thesaurus thesaurus)
- Specified by:
addThesaurus
in interface BioDataServerInterface
getCanonicalName
public String getCanonicalName(String species,
String commonName)
- Specified by:
getCanonicalName
in interface BioDataServerInterface
getAllCommonNames
public String[] getAllCommonNames(String species,
String commonName)
- Specified by:
getAllCommonNames
in interface BioDataServerInterface
getCommonName
public String getCommonName(String species,
String canonicalName)
- Specified by:
getCommonName
in interface BioDataServerInterface
main
public static void main(String[] args)