You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Gerald Preissler (JIRA)" <ji...@apache.org> on 2006/10/27 13:46:56 UTC

[jira] Commented: (WSCOMMONS-20) Proposal to rename composite assertions

    [ http://issues.apache.org/jira/browse/WSCOMMONS-20?page=comments#action_12445154 ] 
            
Gerald Preissler commented on WSCOMMONS-20:
-------------------------------------------

I've attached a *.tgz with some diffs to reflect the changed names in private method names and comments. Details:

- org.apache.ws.policy.Assertion: update comment for getType() to reflect change to All, Exactlyone

- org.apache.ws.policy.PrimitiveAssertion: update comment at line 202 to read
  		 * should be wrapped in an org.apache.ws.policy.All object
  		 
- org.apache.ws.policy.util.DOMPolicyReader, org.apache.ws.policy.util.OMPolicyReader: rename methods readAndComposite, readXorComposite

- org.apache.ws.policy.util.StAXPolicyWriter: rename methods writeAndCompositeAssertion, writeXorCompositeAssertion


> Proposal to rename composite assertions
> ---------------------------------------
>
>                 Key: WSCOMMONS-20
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-20
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: Policy
>            Reporter: Paul Nolan
>         Attachments: changes.tgz
>
>
> ws-policy defines two elements called All and ExactlyOne. These have been modelled in Neethi with two objects called AndCompositeAssertion and XorCompositeAssertion. These object names would perhaps be more accurate if they were named in alignment with the specification. The XorCompositeAssertion also gives the misleading impression that it behaves like an exclusive OR which is only true when it has two child elements.In the case with more than two child elements ExactlyOne behaves quite differently from exclusive OR.
> I would like to propose we change these object names. They can either be "All" and "ExactlyOne" or "AllOperator" and "ExactlyOneOperator" or "AllCompositeAssertion" and "ExactlyOneCompositeAssertion". How should we proceed?

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org