[jboss-jira] [JBoss JIRA] Resolved: (BPEL-205) employ inheritance instead of enumeration to distinguish sublanguage uses

Alejandro Guizar (JIRA) jira-events at jboss.com
Thu Aug 17 18:29:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/BPEL-205?page=all ]

Alejandro Guizar resolved BPEL-205.
-----------------------------------

    Resolution: Done

ScriptDefinition became Snippet. Introduced a hierarchy of snippets: Expression, Query and JoinCondition. These classes replace the old ScriptDefinition.Use values EXPRESSION, QUERY and JOIN_CONDITION respectively. Following the resolution of wsbpel-305, PROPERTY_ALIAS is equivalent to QUERY. Both are represented by the new Query class.

As a side change, ToQuery became ToExpression.

> employ inheritance instead of enumeration to distinguish sublanguage uses
> -------------------------------------------------------------------------
>
>                 Key: BPEL-205
>                 URL: http://jira.jboss.com/jira/browse/BPEL-205
>             Project: JBoss jBPM BPEL
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Engine
>    Affects Versions: jBPM BPEL 1.1 beta 1
>            Reporter: Alejandro Guizar
>         Assigned To: Alejandro Guizar
>             Fix For: jBPM BPEL 1.1 beta 2
>
>
> ScriptDefinition has a property of enum type Use to distinguish the intent of the sublanguage snippet in the context where it appears. Collecting this information is important because each use has different semantics.
> Inheritance models the relationship between the diverse uses better from an object-oriented perspective. Therefore, the Use enumeration has to be dropped in favor of a Snippet hierarchy.

-- 
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