public interface BioEntry extends RichAnnotatable, RankedCrossRefable, Comparable, Changeable
BioEntryRelationship
Annotatable.AnnotationForwarder
Modifier and Type | Field and Description |
---|---|
static ChangeType |
COMMENT |
static ChangeType |
DESCRIPTION |
static ChangeType |
DIVISION |
static ChangeType |
IDENTIFIER |
static ChangeType |
RANKEDCROSSREF |
static ChangeType |
RANKEDDOCREF |
static ChangeType |
RELATIONS |
static ChangeType |
SEQVERSION |
static ChangeType |
TAXON |
ANNOTATION
Modifier and Type | Method and Description |
---|---|
void |
addComment(Comment comment)
Adds a comment instance to this bioentry.
|
void |
addRankedDocRef(RankedDocRef docref)
Adds a ranked docref instance to this bioentry.
|
void |
addRelationship(BioEntryRelationship relation)
Adds a relation instance to this bioentry.
|
String |
getAccession()
Returns the accession of this bioentry.
|
Set<Comment> |
getComments()
Returns a set of all comments associated with this bioentry.
|
String |
getDescription()
Returns a description of this sequence.
|
String |
getDivision()
Returns the division of this bioentry.
|
String |
getIdentifier()
Returns the identifier of this bioentry.
|
String |
getName()
Returns the name of this bioentry.
|
Namespace |
getNamespace()
Returns the namespace of this bioentry.
|
Set<RankedDocRef> |
getRankedDocRefs()
Returns a set of all bioentrydocrefs associated with this bioentry.
|
Set<BioEntryRelationship> |
getRelationships()
Returns a set of all relationships associated with this bioentry.
|
NCBITaxon |
getTaxon()
Gets the taxon associated with this bioentry.
|
int |
getVersion()
Gets the version of this bioentry.
|
void |
removeComment(Comment comment)
Removes a comment instance from this bioentry.
|
void |
removeRankedDocRef(RankedDocRef docref)
Removes a ranked docref instance from this bioentry.
|
void |
removeRelationship(BioEntryRelationship relation)
Removes a relation instance from this bioentry.
|
void |
setDescription(String description)
Sets the description for this bioentry.
|
void |
setDivision(String division)
Sets the division of this bioentry.
|
void |
setIdentifier(String identifier)
Sets the identifier of this bioentry.
|
void |
setTaxon(NCBITaxon taxon)
Sets the taxon for this bioentry.
|
getNoteSet, getRichAnnotation, setNoteSet
getAnnotation
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
addRankedCrossRef, getRankedCrossRefs, removeRankedCrossRef, setRankedCrossRefs
compareTo
static final ChangeType IDENTIFIER
static final ChangeType DESCRIPTION
static final ChangeType DIVISION
static final ChangeType TAXON
static final ChangeType SEQVERSION
static final ChangeType RANKEDCROSSREF
static final ChangeType RANKEDDOCREF
static final ChangeType COMMENT
static final ChangeType RELATIONS
Namespace getNamespace()
String getName()
String getAccession()
String getIdentifier()
void setIdentifier(String identifier) throws ChangeVetoException
identifier
- New value of property identifier.ChangeVetoException
- in case of objections.String getDivision()
void setDivision(String division) throws ChangeVetoException
division
- New value of property division.ChangeVetoException
- in case of objections.String getDescription()
void setDescription(String description) throws ChangeVetoException
description
- New value of property description.ChangeVetoException
- in case of objections.int getVersion()
NCBITaxon getTaxon()
void setTaxon(NCBITaxon taxon) throws ChangeVetoException
taxon
- New value of property taxon.ChangeVetoException
- in case of objections.Set<RankedDocRef> getRankedDocRefs()
RankedDocRef
Set<Comment> getComments()
Comment
Set<BioEntryRelationship> getRelationships()
BioEntryRelationship
void addRankedDocRef(RankedDocRef docref) throws ChangeVetoException
docref
- the item to add.ChangeVetoException
- if it doesn't want to add it.void removeRankedDocRef(RankedDocRef docref) throws ChangeVetoException
docref
- the item to remove.ChangeVetoException
- if it doesn't want to remove it.void addComment(Comment comment) throws ChangeVetoException
comment
- the item to add.ChangeVetoException
- if it doesn't want to add it.void removeComment(Comment comment) throws ChangeVetoException
comment
- the item to remove.ChangeVetoException
- if it doesn't want to remove it.void addRelationship(BioEntryRelationship relation) throws ChangeVetoException
relation
- the item to add.ChangeVetoException
- if it doesn't want to add it.void removeRelationship(BioEntryRelationship relation) throws ChangeVetoException
relation
- the item to remove.ChangeVetoException
- if it doesn't want to remove it.Copyright © 2014 BioJava. All rights reserved.