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

  1. {
  2.     attributes = (
  3.         {
  4.             columnName = COST_RESTRICTION; 
  5.             externalType = NUMBER; 
  6.             name = costRestriction; 
  7.             precision = 7; 
  8.             scale = 2; 
  9.             serverTimeZone = NSLocalTimeZone; 
  10.             valueClassName = NSDecimalNumber; 
  11.         }, 
  12.         {
  13.             allowsNull = Y; 
  14.             columnName = CUSTOMER_ID; 
  15.             externalType = NUMBER; 
  16.             name = customerID; 
  17.             precision = 9; 
  18.             valueClassName = NSNumber; 
  19.             valueType = i; 
  20.         }, 
  21.         {
  22.             definition = toCustomer.firstName; 
  23.             externalType = VARCHAR2; 
  24.             name = firstName; 
  25.             valueClassName = NSString; 
  26.             width = 20; 
  27.         }, 
  28.         {
  29.             definition = toCustomer.lastName; 
  30.             externalType = VARCHAR2; 
  31.             name = lastName; 
  32.             valueClassName = NSString; 
  33.             width = 30; 
  34.         }, 
  35.         {
  36.             columnName = MEMBER_ID; 
  37.             externalType = NUMBER; 
  38.             name = memberID; 
  39.             precision = 9; 
  40.             valueClassName = NSNumber; 
  41.             valueType = i; 
  42.         }
  43.     ); 
  44.     attributesUsedForLocking = (customerID, memberID, costRestriction, firstName, lastName); 
  45.     className = Guest; 
  46.     classProperties = (costRestriction, rentals, firstName, lastName, customerID, member); 
  47.     externalName = GUEST; 
  48.     name = Guest; 
  49.     parent = Customer; 
  50.     primaryKeyAttributes = (customerID); 
  51.     relationships = (
  52.         {
  53.             destination = Member; 
  54.             isToMany = N; 
  55.             joinSemantic = EOInnerJoin; 
  56.             joins = ({destinationAttribute = customerID; sourceAttribute = memberID; }); 
  57.             name = member; 
  58.         }, 
  59.         {
  60.             deleteRule = EODeleteRuleDeny; 
  61.             destination = Rental; 
  62.             isToMany = Y; 
  63.             joinSemantic = EOInnerJoin; 
  64.             joins = ({destinationAttribute = customerID; sourceAttribute = customerID; }); 
  65.             name = rentals; 
  66.             numberOfToManyFaultsToBatchFetch = 5; 
  67.         }, 
  68.         {
  69.             deleteRule = EODeleteRuleCascade; 
  70.             destination = Customer; 
  71.             isToMany = N; 
  72.             joinSemantic = EOInnerJoin; 
  73.             joins = ({destinationAttribute = customerID; sourceAttribute = customerID; }); 
  74.             name = toCustomer; 
  75.             ownsDestination = Y; 
  76.             propagatesPrimaryKey = Y; 
  77.         }, 
  78.         {definition = rentals.fees; joinSemantic = EOInnerJoin; name = unpaidFees; }
  79.     ); 
  80. }
  81.