[rules-users] semantically equivalent DROOLS L-value expressions?

Cotton.Ben ben.d.cotton.iii at gmail.com
Tue Oct 23 00:31:30 EDT 2012


Thanks.

I'm sure that it is my lack of DROOLs maturity that leaves  me kind of 
bewildered at the need to re-factor R2 as  R2a and R2b.  Frankly, I'm even 
a little confused  as to why R1 is not syntactically correct (it would be my
"newbie-preferred" way of expressing my understanding of what I want the
rule to "say").

Will play with and exercise your R2 re-factor recommendation, I'm willing to
put in the DROOLs work until I "get it".

Thanks again.
Ben

public  class Message  {
    private String       businessDayConvention;
    private String        _itemNumber;              
    private String        _clearingHouse;           
    private String        _productType;
    private String        _currency;
    private String        _upfrontFeeCurrency;                  
    private BigInteger    _upfrontFeePaymentDate;               
    private String        _upfrontFeeSettlementConvention;      
    private String        _settlementConvention;                
    private BigInteger    _maturity;
    private BigDecimal    _notional;
    private String        _paymentFrequency;
    private BigInteger    _rollDate;
    private String        _calendar;
    private BigInteger   _minimumEffectiveDate2Backload;
    private String        _stubMinimumPeriod;
    private BigInteger    _fixingRateDate;
    private String        _initialStubRate;

// rest is Eclipse generated gettr/settr methods

}
    




--
View this message in context: http://drools.46999.n3.nabble.com/semantically-equivalent-DROOLS-L-value-expressions-tp4020423p4020429.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list