Menu

#3 Add "sameResult" flag to temporal rules.

1.4
closed
None
2014-10-13
2014-10-09
No

Add a "sameResult" flag to temporal rules which works like "sameObject" or "sameSubject".

Discussion

  • Lubna Mahmoud Abu Zohair

    I tried to add this following in the code that I add it to my ECLIPSE Environment:
    in checkRealEvents function I add the following :
    if (sameResult)
    {
    if (!evtA.result.equals(evtB.result))
    {
    return false;
    }
    }

    Before that

    1. I add to temporal rule serializable function this variable:
      @Element(name="AobjectBsubject")
      private boolean sameResult;
    2. In Temporal rule I added this :
      this.sameResult= sameResult;

    its just a try, i don't know if I missed something, and I am not sure if it will work !

    What do you think Dr. Andrew ?

     
    • Andrew Marrington

      That sounds like most of what you need to do. The .equals needs to be replaced now that we are using regex. I am working on this change now.

       
  • Andrew Marrington

    • Milestone: 1.3 --> 1.4
     
  • Andrew Marrington

    Code changes to support this feature are checked into SVN.

     
  • Andrew Marrington

    • status: open --> pending
     
  • Andrew Marrington

    Lubna has tested this and it seems to work.

     
  • Andrew Marrington

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB