home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / MovieMedia.plist < prev    next >
Encoding:
Text File  |  1996-08-01  |  2.0 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 = MovieMedia; 
  37.     classProperties = (media, rentalTerms, units, movie); 
  38.     isAbstractEntity = Y; 
  39.     isReadOnly = Y; 
  40.     maxNumberOfInstancesToBatchFetch = 20; 
  41.     name = MovieMedia; 
  42.     parent = Product; 
  43.     primaryKeyAttributes = (productID); 
  44.     relationships = (
  45.         {
  46.             destination = Movie; 
  47.             isToMany = N; 
  48.             joinSemantic = EOInnerJoin; 
  49.             joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); 
  50.             name = movie; 
  51.         }, 
  52.         {
  53.             destination = RentalTerms; 
  54.             isToMany = N; 
  55.             joinSemantic = EOInnerJoin; 
  56.             joins = ({destinationAttribute = rentalTermID; sourceAttribute = rentalTermsID; }); 
  57.             name = rentalTerms; 
  58.         }, 
  59.         {
  60.             deleteRule = EODeleteRuleDeny; 
  61.             destination = Unit; 
  62.             isToMany = Y; 
  63.             joinSemantic = EOInnerJoin; 
  64.             joins = ({destinationAttribute = productID; sourceAttribute = productID; }); 
  65.             name = units; 
  66.             numberOfToManyFaultsToBatchFetch = 20; 
  67.         }
  68.     ); 
  69. }
  70.