org.biomoby.shared
Class MobyNamespace
java.lang.Object
org.biomoby.shared.MobyNamespace
- All Implemented Interfaces:
- Comparable<MobyNamespace>, LSIDAccessible
public class MobyNamespace
- extends Object
- implements Comparable<MobyNamespace>, LSIDAccessible
A container representing a namespace used in the Moby registry.
This container is used mainly to register a new namespace in a
Moby registry.
- Version:
- $Id: MobyNamespace.java,v 1.14 2010/05/13 15:54:16 gordonp Exp $
- Author:
- Martin Senger
MobyNamespace
public MobyNamespace(String name)
- Default constructor. Other characteristics are empty - which is usually
wrong - therefore use 'set' method to fill them.
getRegistry
public Registry getRegistry()
setRegistry
public void setRegistry(Registry reg)
getNamespace
public static MobyNamespace getNamespace(String ns)
getNamespace
public static MobyNamespace getNamespace(String ns,
Registry reg)
getName
public String getName()
getId
public String getId()
setId
public void setId(String value)
getAuthority
public String getAuthority()
setAuthority
public void setAuthority(String value)
getEmailContact
public String getEmailContact()
setEmailContact
public void setEmailContact(String value)
getLSID
public String getLSID()
- Specified by:
getLSID
in interface LSIDAccessible
setLSID
public void setLSID(String value)
getDescription
public String getDescription()
setDescription
public void setDescription(String value)
toString
public String toString()
- Overrides:
toString
in class Object
format
public String format(int indent)
compareTo
public int compareTo(MobyNamespace obj)
- Specified by:
compareTo
in interface Comparable<MobyNamespace>
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
getAuthorityComparator
public static Comparator getAuthorityComparator()
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010