home *** CD-ROM | disk | FTP | other *** search
- {
- attributes = (
- {
- columnName = MEDIA;
- externalType = CHAR;
- name = media;
- valueClassName = NSString;
- width = 1;
- },
- {
- columnName = MOVIE_ID;
- externalType = NUMBER;
- name = movieID;
- precision = 9;
- valueClassName = NSNumber;
- valueType = i;
- },
- {
- columnName = PRODUCT_ID;
- externalType = NUMBER;
- name = productID;
- precision = 9;
- valueClassName = NSNumber;
- valueType = i;
- },
- {
- columnName = RENTAL_TERMS_ID;
- externalType = NUMBER;
- name = rentalTermsID;
- precision = 9;
- valueClassName = NSNumber;
- valueType = i;
- }
- );
- attributesUsedForLocking = (productID, rentalTermsID, movieID, media);
- className = VideoTape;
- classProperties = (media, rentalTerms, movie, units);
- externalName = MOVIE_MEDIA;
- maxNumberOfInstancesToBatchFetch = 20;
- name = VideoTape;
- parent = MovieMedia;
- primaryKeyAttributes = (productID);
- relationships = (
- {
- destination = Movie;
- isToMany = N;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = movieID; sourceAttribute = movieID; });
- name = movie;
- },
- {
- destination = RentalTerms;
- isToMany = N;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = rentalTermID; sourceAttribute = rentalTermsID; });
- name = rentalTerms;
- },
- {
- deleteRule = EODeleteRuleDeny;
- destination = Unit;
- isToMany = Y;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = productID; sourceAttribute = productID; });
- name = units;
- numberOfToManyFaultsToBatchFetch = 20;
- }
- );
- restrictingQualifier = "(media = 'T')";
- }
-