home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / MovieRole.plist < prev    next >
Encoding:
Text File  |  1996-07-11  |  1.5 KB  |  52 lines

  1. {
  2.     attributes = (
  3.         {
  4.             columnName = MOVIE_ID; 
  5.             externalType = NUMBER; 
  6.             name = movieID; 
  7.             precision = 9; 
  8.             valueClassName = NSNumber; 
  9.             valueType = i; 
  10.         }, 
  11.         {
  12.             allowsNull = Y; 
  13.             columnName = ROLE_NAME; 
  14.             externalType = VARCHAR2; 
  15.             name = roleName; 
  16.             valueClassName = NSString; 
  17.             width = 30; 
  18.         }, 
  19.         {
  20.             columnName = TALENT_ID; 
  21.             externalType = NUMBER; 
  22.             name = talentID; 
  23.             precision = 9; 
  24.             valueClassName = NSNumber; 
  25.             valueType = i; 
  26.         }
  27.     ); 
  28.     attributesUsedForLocking = (talentID, movieID, roleName); 
  29.     className = EOGenericRecord; 
  30.     classProperties = (roleName, movie, talent); 
  31.     externalName = MOVIE_ROLE; 
  32.     maxNumberOfInstancesToBatchFetch = 10; 
  33.     name = MovieRole; 
  34.     primaryKeyAttributes = (talentID, movieID); 
  35.     relationships = (
  36.         {
  37.             destination = Movie; 
  38.             isToMany = N; 
  39.             joinSemantic = EOInnerJoin; 
  40.             joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); 
  41.             name = movie; 
  42.         }, 
  43.         {
  44.             destination = Talent; 
  45.             isToMany = N; 
  46.             joinSemantic = EOInnerJoin; 
  47.             joins = ({destinationAttribute = talentID; sourceAttribute = talentID; }); 
  48.             name = talent; 
  49.         }
  50.     ); 
  51. }
  52.