0 Replies Latest reply on Jul 24, 2009 9:26 AM by gdfgd eqwe

    Drolls '->' operator

    gdfgd eqwe Novice
      Hy!

      What does '->' opeator mean?


      `rule InsertMemberBlog
        no-loop
        activation-group "permissions"
      when
        principal: Principal()
        memberBlog: MemberBlog(member : member -> (member.getUsername().equals(principal.getName())))
        check: PermissionCheck(target == memberBlog, action == "insert", granted == false)
      then
        check.grant();
      end;
      `