I want to know too.

I added a constraints:

context Part::findByNameAndDesc (name: String;desc: String):
Collection(Part)
pre: name.size>0
body:  findByNameAndDesc: allInstances()->select(  p | StringUtils.isLike(
p.name, name)  and StringUtils.isLike(p.desc, desc) )

But ArgoUML told me :exceptiong EOF in string 'context...

Please help. Thanks.


On 8/1/06, Sam Solon <[EMAIL PROTECTED]> wrote:

Is there any way to enter an OCL body expression for a query method in
0.22?

--
Sam Solon <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to