Class Match


  • public class Match
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected EolMap<?,​?> info
      Additional info that the user can attach in the do part of the match rule
      protected java.lang.Object left
      The left object of the match
      protected boolean matching
      The result of the ECL match rule
      protected java.lang.Object right
      The right object of the match
      protected MatchRule rule
      The ECL match rule that created the match
      protected boolean userSpecified
      If the match is user-specified or has been calculated by ECL
    • Constructor Summary

      Constructors 
      Constructor Description
      Match()  
      Match​(java.lang.Object left, java.lang.Object right, boolean matching, MatchRule rule)  
    • Field Detail

      • left

        protected java.lang.Object left
        The left object of the match
      • right

        protected java.lang.Object right
        The right object of the match
      • matching

        protected boolean matching
        The result of the ECL match rule
      • rule

        protected MatchRule rule
        The ECL match rule that created the match
      • userSpecified

        protected boolean userSpecified
        If the match is user-specified or has been calculated by ECL
      • info

        protected EolMap<?,​?> info
        Additional info that the user can attach in the do part of the match rule
    • Constructor Detail

      • Match

        public Match()
      • Match

        public Match​(java.lang.Object left,
                     java.lang.Object right,
                     boolean matching,
                     MatchRule rule)
    • Method Detail

      • setRule

        public void setRule​(MatchRule rule)
      • isMatching

        public boolean isMatching()
      • setMatching

        public void setMatching​(boolean matching)
      • getLeft

        public java.lang.Object getLeft()
      • setLeft

        public void setLeft​(java.lang.Object left)
      • getRight

        public java.lang.Object getRight()
      • setRight

        public void setRight​(java.lang.Object right)
      • contains

        public boolean contains​(java.lang.Object left,
                                java.lang.Object right)
      • contains

        public boolean contains​(java.lang.Object object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isUserSpecified

        public boolean isUserSpecified()
      • setUserSpecified

        public void setUserSpecified​(boolean userSpecified)
      • getInfo

        public EolMap<?,​?> getInfo()
      • setInfo

        public void setInfo​(EolMap<?,​?> info)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        Since:
        1.6
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        Since:
        1.6