public CustomerAccountList intersection(CustomerAccountList another) { return (CustomerAccountList)super.intersection(another); }
public void zMakeDetached(Operation op, Object previousDetachedList) { super.zMakeDetached(op, previousDetachedList); }
public void purgeAll() { super.purgeAll(); }
public PersonList merge(MithraTransactionalList<Person> incoming, TopLevelMergeOptions<Person> mergeOptions) { return (PersonList) super.merge(incoming, mergeOptions); }
public ObjectSequenceList asAdhoc() { return (ObjectSequenceList) super.asAdhoc(); }
public void terminateAll() { super.terminateAll(); } }
public void setOwner(Person owner) { Person _owner = (Person) owner; DatedTransactionalBehavior _behavior = zGetTransactionalBehaviorForWrite(); PetData _data = (PetData) _behavior.getCurrentDataForWrite(this); if (_behavior.isInMemory()) { Object _prev = _data.getOwner(); if (_behavior.isDetached() && _prev != null) { ((DelegatingList)((Person)_prev).getPets()).zMarkMoved( (Pet) this); } _data.setOwner(_owner); _owner.getPets().add((Pet) this); } else if (_behavior.isPersisted()) { if (_owner == null) { this.setPersonId(0); } else { this.setPersonId( _owner.getPersonId()); } } else throw new RuntimeException("not implemented"); }
public TaskList merge(MithraTransactionalList<Task> incoming, TopLevelMergeOptions<Task> mergeOptions) { return (TaskList) super.merge(incoming, mergeOptions); }
public PersonList asAdhoc() { return (PersonList) super.asAdhoc(); }
public void terminateAll() { super.terminateAll(); } }
public void setCustomer(Customer customer) { Customer _customer = (Customer) customer; DatedTransactionalBehavior _behavior = zGetTransactionalBehaviorForWrite(); CustomerAccountData _data = (CustomerAccountData) _behavior.getCurrentDataForWrite(this); if (_behavior.isInMemory()) { Object _prev = _data.getCustomer(); if (_behavior.isDetached() && _prev != null) { ((DelegatingList)((Customer)_prev).getAccounts()).zMarkMoved( (CustomerAccount) this); } _data.setCustomer(_customer); _customer.getAccounts().add((CustomerAccount) this); } else if (_behavior.isPersisted()) { if (_customer == null) { this.setCustomerId(0); } else { this.setCustomerId( _customer.getCustomerId()); } } else throw new RuntimeException("not implemented"); }
public CustomerAccountList intersection(CustomerAccountList another) { return (CustomerAccountList)super.intersection(another); }
public void zMakeDetached(Operation op, Object previousDetachedList) { super.zMakeDetached(op, previousDetachedList); }
public PersonList merge(MithraTransactionalList<Person> incoming, TopLevelMergeOptions<Person> mergeOptions) { return (PersonList) super.merge(incoming, mergeOptions); }
public PersonList asAdhoc() { return (PersonList) super.asAdhoc(); }
public void terminateAll() { super.terminateAll(); } }
public void purgeAll() { super.purgeAll(); }
public void setCustomer(Customer customer) { Customer _customer = (Customer) customer; DatedTransactionalBehavior _behavior = zGetTransactionalBehaviorForWrite(); CustomerAccountData _data = (CustomerAccountData) _behavior.getCurrentDataForWrite(this); if (_behavior.isInMemory()) { Object _prev = _data.getCustomer(); if (_behavior.isDetached() && _prev != null) { ((DelegatingList)((Customer)_prev).getAccounts()).zMarkMoved( (CustomerAccount) this); } _data.setCustomer(_customer); _customer.getAccounts().add((CustomerAccount) this); } else if (_behavior.isPersisted()) { if (_customer == null) { this.setCustomerId(0); } else { this.setCustomerId( _customer.getCustomerId()); } } else throw new RuntimeException("not implemented"); }
public CustomerList intersection(CustomerList another) { return (CustomerList)super.intersection(another); }
public void zMakeDetached(Operation op, Object previousDetachedList) { super.zMakeDetached(op, previousDetachedList); }