public static Attribute[] getPrimaryKeyAttributes() { return new Attribute[] { accountId() } ; }
public static Operation all() { return new All(accountId()); }
public void setAccountIdUntil(int newValue, Timestamp exclusiveUntil) { zSetInteger(AccountBalanceFinder.accountId(), newValue, true , exclusiveUntil,false); }
public void setAccountId(int newValue) { zSetInteger(AccountBalanceFinder.accountId(), newValue, true ,false); }
public void setAccountId(int newValue) { zSetInteger(AccountBalanceFinder.accountId(), newValue); }
public IntegerAttribute<ParentOwnerType> accountId() { IntegerAttribute<ParentOwnerType> result = this.accountId; if (result == null) { result = mapper == null ? SingleColumnIntegerAttribute.generate("ACCOUNT_I","","accountId",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,true,this,null,true,false,false,-1,-1,-1,false, false) : new MappedIntegerAttribute(AccountBalanceFinder.accountId(), this.mapper, this.zGetValueSelector()); this.accountId = 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; }
public Object readResolve() throws ObjectStreamException { if (this.persistenceState == DatedPersistenceState.PERSISTED) { AccountBalanceData data = (AccountBalanceData) this.currentData; Operation op = AccountBalanceFinder.businessDate().eq(this.businessDate); op = op.and(AccountBalanceFinder.processingDate().eq(this.processingDate)); op = op.and(AccountBalanceFinder.accountId().eq(data.getAccountId())); return AccountBalanceFinder.findOne(op); } return this; }
public AccountBalance zFindOriginal() { AccountBalanceData data = (AccountBalanceData) this.currentData; Operation op; op = AccountBalanceFinder.accountId().eq(data.getAccountId()); op = op.and(AccountBalanceFinder.businessDate().eq(this.getBusinessDate())); op = op.and(AccountBalanceFinder.processingDate().eq(this.getProcessingDate())); return AccountBalanceFinder.findOne(op); }