[jboss-jira] [JBoss JIRA] Created: (JBRULES-653) Allow "this" to be used as a Field Constraint

Edson Tirelli (JIRA) jira-events at jboss.com
Tue Feb 6 20:02:35 EST 2007


Allow "this" to be used as a Field Constraint
---------------------------------------------

                 Key: JBRULES-653
                 URL: http://jira.jboss.com/jira/browse/JBRULES-653
             Project: JBoss Rules
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Drl Parser/Builder, Reteoo
    Affects Versions: 3.0.5
            Reporter: Edson Tirelli
         Assigned To: Edson Tirelli


Allows a special field "this" to be used. The idea is support cases like:

rule "keeps consistency"
when
    $r : Relationship( $s: source, $t: target )
    not( Source( this == $s ) or Target( this == $t ) )
then
    retract( $r );
end


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list