home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VCafe / prosrc.bin / MutableImmediateAccess.java < prev    next >
Encoding:
Java Source  |  1998-03-18  |  1.0 KB  |  23 lines

  1. /*
  2.  * @(#MutableImmediateAccess.java
  3.  *
  4.  * Copyright (c) 1997 Symantec Corporation. All Rights Reserved.
  5.  *
  6.  */
  7.  
  8. package symantec.itools.db.beans.binding.databus;
  9.  
  10. public interface MutableImmediateAccess extends ImmediateAccess
  11. {
  12.     public void setValue(ImmediateAccess newValue);
  13.  
  14.      // This method sets a new value for the immediate data in this object. The argument is an
  15.      //ImmediateAccess object, which provides the required access methods for getting the new value. The
  16.      //implementation must obtain the new value from the argument object before returning, rather than saving
  17.      //a reference to it, because the caller may change its value after the return. In obtaining the new value
  18.      //from the argument, the provider's implementation may need to make a deep (recursive) copy of the
  19.      //new value to get all values changed by the consumer.
  20.  
  21.      //If the implementation supports change notifications, it should notify those listening for changes before
  22.      //returning from setValue.
  23. }