public static DoubleAttribute[] zGetDoubleAttributes() { DoubleAttribute[] result = new DoubleAttribute[1]; result[0] = balance(); return result; }
public void incrementBalanceUntil(double increment, Timestamp exclusiveUntil) { zIncrementUntil(increment, exclusiveUntil, AccountBalanceFinder.balance(), false); }
public void incrementBalance(double increment) { zIncrement(increment, AccountBalanceFinder.balance(), false); }
protected void issuePrimitiveNullSetters(DatedTransactionalBehavior behavior, MithraDataObject data, boolean mustCheckCurrent) { zNullify(behavior, data, AccountBalanceFinder.balance(), false, mustCheckCurrent); }
public void setBalance(double newValue) { zSetDouble(AccountBalanceFinder.balance(), newValue); }
public void setBalanceNull() { zNullify(AccountBalanceFinder.balance(), false); }
public void setBalance(double newValue) { zSetDouble(AccountBalanceFinder.balance(), newValue, false ,true); }
public void setBalanceNullUntil(Timestamp exclusiveUntil) { zNullifyUntil(AccountBalanceFinder.balance(), false, exclusiveUntil); }
public void setBalanceNull() { zSetAttributeNull(AccountBalanceFinder.balance()); }
public void setBalanceUntil(double newValue, Timestamp exclusiveUntil) { zSetDouble(AccountBalanceFinder.balance(), newValue, false , exclusiveUntil,true); }
public DoubleAttribute<ParentOwnerType> balance() { DoubleAttribute<ParentOwnerType> result = this.balance; if (result == null) { result = mapper == null ? SingleColumnDoubleAttribute.generate("BALANCE_F","","balance",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,true,true,this,null,true,false,-1,-1,-1, false) : new MappedDoubleAttribute(AccountBalanceFinder.balance(), this.mapper, this.zGetValueSelector()); this.balance = result; } return result; }
protected boolean issueUpdates(DatedTransactionalBehavior behavior, MithraDataObject data, MithraDataObject newData) { boolean changed = false; changed |= zUpdateInteger(behavior, data, newData, AccountBalanceFinder.accountId(), false); changed |= zUpdateDouble(behavior, data, newData, AccountBalanceFinder.balance(), false); return changed; }
protected boolean issueUpdatesUntil(DatedTransactionalBehavior behavior, MithraDataObject data, MithraDataObject newData, Timestamp until) { boolean changed = false; changed |= zUpdateInteger(behavior, data, newData, AccountBalanceFinder.accountId(), false, until); changed |= zUpdateDouble(behavior, data, newData, AccountBalanceFinder.balance(), false, until); return changed; }