|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.registry.meta.Registry
public class Registry
A container for meta data about a BioMoby registry.
It includes properties allowing to access a BioMoby registry - these properties must be always present: synonym, endpoint (URL) and namespce (URI), and some additional properties (not always present).
A usual way how to obtain these containers is through
implementation of the Registries
interface. Therefore, if you wish to provide a richer container (with
more properties) you should have your own implementation of that
interface.
Constructor Summary | |
---|---|
Registry(String synonym,
String endpoint,
String namespace)
A minimal constructor |
|
Registry(String synonym,
String endpoint,
String namespace,
String longName,
String contact,
boolean isPublic,
String description)
A full constructor |
Method Summary | |
---|---|
static URL |
findResourceURL(Registry reg,
String resourceName)
Learn the RDF location for resources of the registry. |
String |
getContact()
Get a contact person who is in charge of this BioMoby registry. |
String |
getDescription()
Get a human-readable description of this BioMoby registry. |
String |
getEndpoint()
Get an endpoint (a stringified URL) of this BioMoby registry. |
String |
getLongName()
Get a full name of this BioMoby registry. |
String |
getNamespace()
Get a namespace (a URI) of this BioMoby registry. |
String |
getSynonym()
Get a synonym (an abbreviation) of this BioMoby registry. |
boolean |
isPublic()
Return true if this BioMoby registry is open without any access restrictions. |
void |
setContact(String value)
|
void |
setDescription(String value)
|
void |
setEndpoint(String value)
|
void |
setLongName(String value)
|
void |
setNamespace(String value)
|
void |
setPublic(boolean value)
|
void |
setSynonym(String value)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Registry(String synonym, String endpoint, String namespace)
public Registry(String synonym, String endpoint, String namespace, String longName, String contact, boolean isPublic, String description)
Method Detail |
---|
public String toString()
toString
in class Object
public String getSynonym()
public void setSynonym(String value)
public String getEndpoint()
public void setEndpoint(String value)
public String getNamespace()
public void setNamespace(String value)
public String getLongName()
public void setLongName(String value)
public String getContact()
public void setContact(String value)
public String getDescription()
public void setDescription(String value)
public boolean isPublic()
public void setPublic(boolean value)
public static URL findResourceURL(Registry reg, String resourceName) throws MobyException
resourceName
- one of the org.biomoby.shared.Central RESOURCE constants
MobyException
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |