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

  1. {
  2.     attributes = (
  3.         {
  4.             allowsNull = Y; 
  5.             columnName = CUSTOMER_ID; 
  6.             externalType = NUMBER; 
  7.             name = customerID; 
  8.             precision = 9; 
  9.             valueClassName = NSNumber; 
  10.             valueType = i; 
  11.         }, 
  12.         {
  13.             columnName = FIRST_NAME; 
  14.             externalType = VARCHAR2; 
  15.             name = firstName; 
  16.             valueClassName = NSString; 
  17.             width = 20; 
  18.         }, 
  19.         {
  20.             columnName = LAST_NAME; 
  21.             externalType = VARCHAR2; 
  22.             name = lastName; 
  23.             valueClassName = NSString; 
  24.             width = 30; 
  25.         }
  26.     ); 
  27.     attributesUsedForLocking = (customerID, firstName, lastName); 
  28.     className = Customer; 
  29.     classProperties = (firstName, lastName, rentals, customerID); 
  30.     externalName = CUSTOMER; 
  31.     isAbstractEntity = Y; 
  32.     name = Customer; 
  33.     primaryKeyAttributes = (customerID); 
  34.     relationships = (
  35.         {
  36.             destination = Member; 
  37.             isToMany = N; 
  38.             joinSemantic = EOInnerJoin; 
  39.             joins = ({destinationAttribute = customerID; sourceAttribute = customerID; }); 
  40.             name = member; 
  41.         }, 
  42.         {
  43.             deleteRule = EODeleteRuleDeny; 
  44.             destination = Rental; 
  45.             isToMany = Y; 
  46.             joinSemantic = EOInnerJoin; 
  47.             joins = ({destinationAttribute = customerID; sourceAttribute = customerID; }); 
  48.             name = rentals; 
  49.             numberOfToManyFaultsToBatchFetch = 5; 
  50.         }, 
  51.         {definition = rentals.fees; joinSemantic = EOInnerJoin; name = unpaidFees; }
  52.     ); 
  53. }
  54.