org.biojavax.bio.seq
public interface RichFeatureRelationshipHolder
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureRelationship(RichFeatureRelationship relationship)
Adds a relationship to this feature holder.
|
Set |
getFeatureRelationshipSet()
Returns the set of relationships held in this feature holder.
|
void |
removeFeatureRelationship(RichFeatureRelationship relationship)
Removes a relationship from this feature holder.
|
void |
setFeatureRelationshipSet(Set relationships)
Clears the relations from this feautre holder and replaces them with a new set.
|
void addFeatureRelationship(RichFeatureRelationship relationship) throws ChangeVetoException
relationship - the relationship to add.ChangeVetoException - if the relationship is unacceptable.void removeFeatureRelationship(RichFeatureRelationship relationship) throws ChangeVetoException
relationship - the relationship to remove.ChangeVetoException - if it cannot be removed.Set getFeatureRelationshipSet()
void setFeatureRelationshipSet(Set relationships) throws ChangeVetoException
relationships - the new set of features this holder should have. The set must
contain only RichFeatureRelationship objects.ChangeVetoException - if the new set could not be installed.