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 Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Collection<Element> objects  
      private boolean update  
    • Constructor Summary

      Constructors 
      Constructor Description
      RelationsSearchRule​(java.util.Collection<Element> objects, boolean update)  
    • Field Detail

      • objects

        java.util.Collection<Element> objects
      • update

        private final boolean update
    • Constructor Detail

      • RelationsSearchRule

        public RelationsSearchRule​(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