home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / EONull.h < prev    next >
Encoding:
Text File  |  1996-09-11  |  684 b   |  23 lines

  1. // EONull.h
  2. // Copyright (c) 1994, NeXT Software, Inc.  All rights reserved.
  3. //
  4. // The EONull object is used to represent nil in collection classes (in particular,
  5. // NSDictionaries).  Enterprise Objects should never contain EONull (NULL values
  6. // fetched from the database are automatically converted to nil when passed to
  7. // your Enterprise Objects).
  8. //
  9. // You can check whether any value is null by comparing with the EONull instance.
  10. //
  11. //     if (myValue == [EONull null]) ...
  12. //
  13. #import <Foundation/Foundation.h>
  14.  
  15.  
  16. @interface EONull:NSObject <NSCopying, NSCoding>
  17.  
  18. + (EONull *)null;
  19.     // Returns a unique instance representing null values in the database
  20.     // server.
  21.  
  22. @end
  23.