Menu

Delete relation in Child class

2023-01-26
2023-02-10
  • Maxim Korshunov

    Maxim Korshunov - 2023-01-26

    Hello,
    I need to delete a relation between FunctionalCI and ApplicationSolution in my custom class, which is descendant from FunctionalCI.
    I'm trying to use:

    <relation id="impacts">
    <neighbours>
    <neighbour id="applicationsolution" _delta="delete">
    <attribute>applicationsolution_list</attribute>
    </neighbour>
    </neighbours>
    </relation>

    It works on FunctionalCI class itself (which I don't need), but fails when I use it on a child class.
    Is it supposed to work at all? Is there a way to delete a relation defined in parent's class for a child's class?
    Thank you.

     
  • Pierre Goiffon

    Pierre Goiffon - 2023-02-10

    Hello,

    There are just of very few properties that can be overrided in children classes. Here as the applicationsolution relation is defined on FunctionalCI, you can only remove it from this class.

    Can you describe your needs ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.