|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Namespace
The namespace of an entry in a database schema. Relates directly to the BioDatabase table in BioSQL. All BioEntry objects belong to namespaces.
BioEntry| Field Summary | |
|---|---|
static ChangeType |
ACRONYM
|
static ChangeType |
AUTHORITY
|
static ChangeType |
DESCRIPTION
|
static ChangeType |
NAME
|
static ChangeType |
URI
|
| Method Summary | |
|---|---|
java.lang.String |
getAcronym()
If the namespace has an acronym, this will return it. |
java.lang.String |
getAuthority()
This method will return the authority that governs the namespace. |
java.lang.String |
getDescription()
Returns a description of this namespace. |
java.lang.String |
getName()
The name of the namespace is immutable and must be set by the constructor of the instantiating class. |
java.net.URI |
getURI()
If the namespace has a URI, this will return it. |
void |
setAcronym(java.lang.String acronym)
Sets an optional acronym for the namespace. |
void |
setAuthority(java.lang.String authority)
This method sets the authority that governs the namespace. |
void |
setDescription(java.lang.String description)
This method sets a description for the namespace. |
void |
setURI(java.net.URI URI)
Sets an optional URI for the namespace. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.biojava.utils.Changeable |
|---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
| Field Detail |
|---|
static final ChangeType NAME
static final ChangeType AUTHORITY
static final ChangeType DESCRIPTION
static final ChangeType ACRONYM
static final ChangeType URI
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getAuthority()
void setAuthority(java.lang.String authority)
throws ChangeVetoException
authority - the name of the namespace authority.
ChangeVetoException - in case of objections.java.lang.String getDescription()
void setDescription(java.lang.String description)
throws ChangeVetoException
description - the description of the namespace.
ChangeVetoException - in case of objections.java.lang.String getAcronym()
void setAcronym(java.lang.String acronym)
throws ChangeVetoException
acronym - the acronym for the namespace.
ChangeVetoException - in case of objections.java.net.URI getURI()
void setURI(java.net.URI URI)
throws ChangeVetoException
URI - the URI of the authority.
ChangeVetoException - in case of objections.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||