Interface RichFeatureRelationshipHolder

  • All Known Subinterfaces:
    RichFeature
    All Known Implementing Classes:
    SimpleRichFeature

    public interface RichFeatureRelationshipHolder
    Holds feature relationships.
    Since:
    1.5
    Author:
    Richard Holland
    • Method Detail

      • getFeatureRelationshipSet

        java.util.Set getFeatureRelationshipSet()
        Returns the set of relationships held in this feature holder.
        Returns:
        a set of RichFeatureRelationship objects.
      • setFeatureRelationshipSet

        void setFeatureRelationshipSet​(java.util.Set relationships)
                                throws ChangeVetoException
        Clears the relations from this feautre holder and replaces them with a new set.
        Parameters:
        relationships - the new set of features this holder should have. The set must contain only RichFeatureRelationship objects.
        Throws:
        ChangeVetoException - if the new set could not be installed.