home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / dbkit / properties.h < prev    next >
Text File  |  1992-03-27  |  506b  |  30 lines

  1. /*
  2. **      properties.h
  3. **      Database Kit, Release 3.0
  4. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import <dbkit/types.h>
  8. #import <dbkit/entities.h>
  9. #import <objc/objc.h>
  10.  
  11. @class List;
  12.  
  13. @protocol DBProperties
  14.  
  15. - (const char*)name;
  16. - $    gL)setName:(const char*)aName;
  17.  
  18. - (id<DBEntities>)entity;
  19. - (id<DBTypes>)propertyType;
  20. - (BOOL)matchesProperty:(id<DBProperties>)aProperty;
  21.  
  22. /*
  23. ** useful meta-information
  24. */
  25. - (BOOL)isSingular;
  26. - (BOOL)isReadOnly;
  27. - (BOOL)isKey;
  28.  
  29. @end
  30.