← Back to team overview

launchpad-dev team mailing list archive

Re: Launchpad's service WADL clarification

 

On Sun, 25 Apr 2010 16:52:06 +0530, Manish Sinha <mail@xxxxxxxxxxxxxxx> wrote:
> > If this is a theoretical question that I think you can assume this.
> > I think the fuller implementation would be that the parameters defined
> > directly and those in the representation types would never overlap, so
> > that
> >
> >    param foo
> >    representation_type A
> >      param bar
> >    representation_type B
> >      param baz
> >    
> 
> This means that we have two overloads for this methods . This corrosponds to
> 
> methodname(foo, bar)
> methodname(foo,baz)

No, it means that the method takes any/all of the union of the
parameters defined directly with param or as part of a
representation. Meaning in this case the method signature would be

  methodname(foo, bar, baz)

Thanks,

James



Follow ups

References