home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / Database / OTC_EOFBetaExamples_V1.0 / EOFramework / EnterpriseObject / Address.h next >
Encoding:
Text File  |  1994-07-31  |  1.1 KB  |  49 lines

  1. /*--------------------------------------------------------------------------
  2.  *
  3.  *     You may freely copy, distribute, and reuse the code in this example.
  4.  *     SHL Systemhouse disclaims any warranty of any kind, expressed or  
  5.  *    implied, as to its fitness for any particular use.
  6.  *
  7.  *    Address
  8.  *
  9.  *    Inherits From:        NSObject
  10.  *
  11.  *    Conforms To:        None
  12.  *
  13.  *    Declared In:        Address.h
  14.  *
  15.  *    Class Description
  16.  *
  17.  *        Address is the class we will use to hold location info.
  18.  *
  19.  *------------------------------------------------------------------------*/
  20. #import <foundation/NSObject.h>
  21.  
  22. @class NSMutableString;
  23.  
  24.  
  25.  
  26.  
  27. @interface Address : NSObject
  28. {
  29.     NSString    *address;
  30.     NSString    *city;
  31.     NSString    *state;
  32.     NSString    *zip;
  33. }
  34.  
  35. /*--------------------------------------------------------------------------
  36.  *    Accessors
  37.  *------------------------------------------------------------------------*/
  38. - (NSString *) address;
  39. - (NSString *) city;
  40. - (NSString *) state;
  41. - (NSString *) zip;
  42.  
  43. - (void) setAddress: (NSString *)anAddress;
  44. - (void) setCity: (NSString *)aCity;
  45. - (void) setState: (NSString *)aState;
  46. - (void) setZip: (NSString *)aZip;
  47.  
  48. @end    
  49.