Class AnyToAnyModelTransformation.RelationsSearchRule

  • All Implemented Interfaces:
    com.nomagic.magicdraw.search.SearchRule
    Enclosing class:
    AnyToAnyModelTransformation

    private class AnyToAnyModelTransformation.RelationsSearchRule
    extends java.lang.Object
    implements com.nomagic.magicdraw.search.SearchRule
    • Field Detail

      • objects

        java.util.Collection<Element> objects
      • update

        private final boolean update
    • Constructor Detail

      • RelationsSearchRule

        public RelationsSearchRule​(Project project,
                                   java.util.Collection<Element> objects,
                                   boolean update)
    • Method Detail

      • isLegal

        public boolean isLegal​(BaseElement e)
        Specified by:
        isLegal in interface com.nomagic.magicdraw.search.SearchRule
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.nomagic.magicdraw.search.SearchRule
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.nomagic.magicdraw.search.SearchRule
        Overrides:
        equals in class java.lang.Object