public interface RichFeatureRelationshipHolder
Modifier and Type | Method and Description |
---|---|
void |
addFeatureRelationship(RichFeatureRelationship relationship)
Adds a relationship to this feature holder.
|
Set<RichFeatureRelationship> |
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<RichFeatureRelationship> relationships)
Clears the relations from this feature 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<RichFeatureRelationship> getFeatureRelationshipSet()
void setFeatureRelationshipSet(Set<RichFeatureRelationship> 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.Copyright © 2014 BioJava. All rights reserved.