home *** CD-ROM | disk | FTP | other *** search
- {
- attributes = (
- {
- 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);
- className = Product;
- classProperties = (units, rentalTerms);
- externalName = PRODUCT;
- isAbstractEntity = Y;
- isReadOnly = Y;
- maxNumberOfInstancesToBatchFetch = 20;
- name = Product;
- primaryKeyAttributes = (productID);
- relationships = (
- {
- 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;
- }
- );
- }
-