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

  1. {
  2.     attributes = (
  3.         {
  4.             columnName = MEDIA; 
  5.             externalType = CHAR; 
  6.             name = media; 
  7.             valueClassName = NSString; 
  8.             width = 1; 
  9.         }, 
  10.         {
  11.             columnName = MOVIE_ID; 
  12.             externalType = NUMBER; 
  13.             name = movieID; 
  14.             precision = 9; 
  15.             valueClassName = NSNumber; 
  16.             valueType = i; 
  17.         }, 
  18.         {
  19.             columnName = PRODUCT_ID; 
  20.             externalType = NUMBER; 
  21.             name = productID; 
  22.             precision = 9; 
  23.             valueClassName = NSNumber; 
  24.             valueType = i; 
  25.         }, 
  26.         {
  27.             columnName = RENTAL_TERMS_ID; 
  28.             externalType = NUMBER; 
  29.             name = rentalTermsID; 
  30.             precision = 9; 
  31.             valueClassName = NSNumber; 
  32.             valueType = i; 
  33.         }
  34.     ); 
  35.     attributesUsedForLocking = (productID, rentalTermsID, movieID, media); 
  36.     className = VideoTape; 
  37.     classProperties = (media, rentalTerms, movie, units); 
  38.     externalName = MOVIE_MEDIA; 
  39.     maxNumberOfInstancesToBatchFetch = 20; 
  40.     name = VideoTape; 
  41.     parent = MovieMedia; 
  42.     primaryKeyAttributes = (productID); 
  43.     relationships = (
  44.         {
  45.             destination = Movie; 
  46.             isToMany = N; 
  47.             joinSemantic = EOInnerJoin; 
  48.             joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); 
  49.             name = movie; 
  50.         }, 
  51.         {
  52.             destination = RentalTerms; 
  53.             isToMany = N; 
  54.             joinSemantic = EOInnerJoin; 
  55.             joins = ({destinationAttribute = rentalTermID; sourceAttribute = rentalTermsID; }); 
  56.             name = rentalTerms; 
  57.         }, 
  58.         {
  59.             deleteRule = EODeleteRuleDeny; 
  60.             destination = Unit; 
  61.             isToMany = Y; 
  62.             joinSemantic = EOInnerJoin; 
  63.             joins = ({destinationAttribute = productID; sourceAttribute = productID; }); 
  64.             name = units; 
  65.             numberOfToManyFaultsToBatchFetch = 20; 
  66.         }
  67.     ); 
  68.     restrictingQualifier = "(media = 'T')"; 
  69. }
  70.