コード例 #1
0
 /**
  * Sets the audit volume model
  *
  * @param volume the audit volume
  */
 public void setAuditVolumeModel(double aVolume) {
   if (auditVolumeModel != null) {
     auditVolumeModel.setAuditVolume(aVolume);
   } else {
     auditVolumeModel = new AuditModel(aVolume);
   }
 }
コード例 #2
0
 /**
  * Sets the audit price model
  *
  * @param price the audit price
  */
 public void setAuditPriceModel(BigDecimal aPrice) {
   if (auditPriceModel != null) {
     auditPriceModel.setAuditPrice(aPrice);
   } else {
     auditPriceModel = new AuditModel(aPrice);
   }
 }