writeAccess() {
    if (this._enabled) {
      if (!this.isAvailable) {
        throw new error.PersistentError('This object ' + this.id + ' is not available.');
      }

      this.setDirty();
    }
  }
/**
   * Signals that the object will be access by a write access
   * Ensures that the object was loaded already and marks the object as dirty
   */
Signals that the object will be access by a write access
Ensures that the object was loaded already and marks the object as dirty
Signals that the object will be access by a write access Ensures that the object was loaded already and marks the object as dirty
writeAccess() {
    if (this._enabled) {
      if (!this.isAvailable) {
        throw new error.PersistentError('This object ' + this.id + ' is not available.');
      }
      this.setDirty();
    }
  }
writeAccess ( ) { if ( this . _enabled ) { if ( ! this . isAvailable ) { throw new error . PersistentError ( 'This object ' + this . id + ' is not available.' ) ; } this . setDirty ( ) ; } }
Signals that the object will be access by a write access
 Ensures that the object was loaded already and marks the object as dirty
Signals that the object will be access by a write access Ensures that the object was loaded already and marks the object as dirty