Product Model

Justin Harris jharris at redhat.com
Thu Jul 22 17:40:41 UTC 2010


----- "Bryan Kearney" <bkearney at redhat.com> wrote:

> On 07/22/2010 12:54 PM, Justin Harris wrote:
> >
> > ----- "Bryan Kearney"<bkearney at redhat.com>  wrote:
> >
> >> On 07/22/2010 11:59 AM, Devan Goodwin wrote:
> >>> On Thu, Jul 22, 2010 at 10:46 AM, Bryan
> Kearney<bkearney at redhat.com>
> >>   wrote:
> >>>> I am scanning the product model (attached).
> >>>>
> >>>> Couple of Questions:
> >>>>
> >>>> - what is multiplier on the product?
> >
> > This is how many entitlements are added to the entitlement pool per
> single subscription.  It allows for e.g. "Dev Tools 25 pack" - which
> would have a multiplier of 25.
> >
> 
> Remind me, this is not an attribute why?

It boils down to a design decision - the rule of thumb we have been going with is this: attributes are used only by the
javascript rules, and anything needed by the java engine lies directly on the model.  In this case, the engine actually
applies the multiplier, so we put it on the model.

> 
> -- bk



More information about the candlepin mailing list