// -------------------------------------------------------------------------
// ADVERTISEMENTS
// -------------------------------------------------------------------------
public Integer getChargeGranularity() {
final Advertised adv = this.manager.getAdvertised();
if (adv == null) {
return BAD_CHARGE_GRANULARITY;
}
final int gran = adv.getChargeGranularity();
if (gran < 1) {
return BAD_CHARGE_GRANULARITY;
}
return new Integer(gran);
}