public interface RichFeatureRelationshipHolder
Modifier and Type | Method and Description |
---|---|
void |
addFeatureRelationship(RichFeatureRelationship relationship)
Adds a relationship to this feature holder.
|
java.util.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(java.util.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.java.util.Set getFeatureRelationshipSet()
void setFeatureRelationshipSet(java.util.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.