protected void cascadeDeleteImpl() throws MithraBusinessException { this.delete(); }
public boolean isModifiedSinceDetachmentByDependentRelationships() { if(this.isModifiedSinceDetachment()) return true; return false; }
public ObjectSequence copyDetachedValuesToOriginalOrInsertIfNew() { return (ObjectSequence) this.zCopyDetachedValuesToOriginalOrInsertIfNew(); }
public void zSetNonTxDetachedDeleted() { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); ObjectSequenceData _newData = (ObjectSequenceData) _behavior.getCurrentDataForRead(this); this.zSetNonTxPersistenceState(PersistenceState.DETACHED_DELETED); }
public void zSetTxDetachedDeleted() { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); if (_behavior.isDetached() && _behavior.isDeleted()) return; ObjectSequenceData _newData = (ObjectSequenceData) _behavior.getCurrentDataForRead(this); this.zSetTxPersistenceState(PersistenceState.DETACHED_DELETED); }
@Override public ObjectSequence zCascadeCopyThenInsert() throws MithraBusinessException { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); ObjectSequence original = (ObjectSequence) _behavior.copyThenInsert(this); return original; }
public void setNextValueNull() { zNullify(ObjectSequenceFinder.nextValue(), false); }
public void setSimulatedSequenceName(String newValue) { if (newValue != null) newValue = newValue.trim(); if (newValue != null && newValue.length() > 64) throw new MithraBusinessException("Attribute 'simulatedSequenceName' cannot exceed maximum length of 64: " + newValue); zSetString(ObjectSequenceFinder.simulatedSequenceName(), newValue, true, false ); }
public ObjectSequence getOriginalPersistentObject() { return this.zFindOriginal(); }
public void setNextValue(long newValue) { zSetLong(ObjectSequenceFinder.nextValue(), newValue, false, false ,true); }
public void zSetTxDetachedDeleted() { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); if (_behavior.isDetached() && _behavior.isDeleted()) return; ObjectSequenceData _newData = (ObjectSequenceData) _behavior.getCurrentDataForRead(this); this.zSetTxPersistenceState(PersistenceState.DETACHED_DELETED); }
public void zSetNonTxDetachedDeleted() { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); ObjectSequenceData _newData = (ObjectSequenceData) _behavior.getCurrentDataForRead(this); this.zSetNonTxPersistenceState(PersistenceState.DETACHED_DELETED); }
@Override public Map< RelatedFinder, StatisticCounter > zAddNavigatedRelationshipsStats(RelatedFinder finder, Map< RelatedFinder, StatisticCounter > navigationStats) { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); _behavior.addNavigatedRelationshipsStats(this, finder, navigationStats); return navigationStats; }
protected void issuePrimitiveNullSetters(TransactionalBehavior behavior, MithraDataObject data) { zNullify(behavior, data, ObjectSequenceFinder.nextValue(), false); }
public void setSimulatedSequenceName(String newValue) { if (newValue != null) newValue = newValue.trim(); if (newValue != null && newValue.length() > 64) throw new MithraBusinessException("Attribute 'simulatedSequenceName' cannot exceed maximum length of 64: " + newValue); zSetString(ObjectSequenceFinder.simulatedSequenceName(), newValue, true, false ); }
public ObjectSequence getOriginalPersistentObject() { return this.zFindOriginal(); }
public void setNextValue(long newValue) { zSetLong(ObjectSequenceFinder.nextValue(), newValue, false, false ,true); }
protected void cascadeInsertImpl() throws MithraBusinessException { TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); _behavior.insert(this); }
public void setNextValueNull() { zNullify(ObjectSequenceFinder.nextValue(), false); }
public boolean isModifiedSinceDetachmentByDependentRelationships() { if(this.isModifiedSinceDetachment()) return true; return false; }