home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / Unit.plist < prev    next >
Encoding:
Text File  |  1996-08-01  |  1.7 KB  |  61 lines

  1. {
  2.     attributes = (
  3.         {
  4.             columnName = DATE_ACQUIRED; 
  5.             externalType = DATE; 
  6.             name = dateAcquired; 
  7.             valueClassName = NSCalendarDate; 
  8.         }, 
  9.         {
  10.             allowsNull = Y; 
  11.             columnName = NOTES; 
  12.             externalType = VARCHAR2; 
  13.             name = notes; 
  14.             valueClassName = NSString; 
  15.             width = 255; 
  16.         }, 
  17.         {
  18.             columnName = PRODUCT_ID; 
  19.             externalType = NUMBER; 
  20.             name = productID; 
  21.             precision = 9; 
  22.             valueClassName = NSNumber; 
  23.             valueType = i; 
  24.         }, 
  25.         {
  26.             allowsNull = Y; 
  27.             columnName = UNIT_ID; 
  28.             externalType = NUMBER; 
  29.             name = unitID; 
  30.             precision = 9; 
  31.             valueClassName = NSNumber; 
  32.             valueType = i; 
  33.         }
  34.     ); 
  35.     attributesUsedForLocking = (unitID, productID, notes, dateAcquired); 
  36.     className = Unit; 
  37.     classProperties = (notes, dateAcquired, product, rentals, unitID); 
  38.     externalName = UNIT; 
  39.     maxNumberOfInstancesToBatchFetch = 5; 
  40.     name = Unit; 
  41.     primaryKeyAttributes = (unitID); 
  42.     relationships = (
  43.         {
  44.             destination = Product; 
  45.             isToMany = N; 
  46.             joinSemantic = EOInnerJoin; 
  47.             joins = ({destinationAttribute = productID; sourceAttribute = productID; }); 
  48.             name = product; 
  49.         }, 
  50.         {
  51.             deleteRule = EODeleteRuleDeny; 
  52.             destination = Rental; 
  53.             isToMany = Y; 
  54.             joinSemantic = EOInnerJoin; 
  55.             joins = ({destinationAttribute = unitID; sourceAttribute = unitID; }); 
  56.             name = rentals; 
  57.             numberOfToManyFaultsToBatchFetch = 20; 
  58.         }
  59.     ); 
  60. }
  61.