home *** CD-ROM | disk | FTP | other *** search
- {
- attributes = (
- {
- columnName = COST_RESTRICTION;
- externalType = NUMBER;
- name = costRestriction;
- precision = 7;
- scale = 2;
- serverTimeZone = NSLocalTimeZone;
- valueClassName = NSDecimalNumber;
- },
- {
- allowsNull = Y;
- columnName = CUSTOMER_ID;
- externalType = NUMBER;
- name = customerID;
- precision = 9;
- valueClassName = NSNumber;
- valueType = i;
- },
- {
- definition = toCustomer.firstName;
- externalType = VARCHAR2;
- name = firstName;
- valueClassName = NSString;
- width = 20;
- },
- {
- definition = toCustomer.lastName;
- externalType = VARCHAR2;
- name = lastName;
- valueClassName = NSString;
- width = 30;
- },
- {
- columnName = MEMBER_ID;
- externalType = NUMBER;
- name = memberID;
- precision = 9;
- valueClassName = NSNumber;
- valueType = i;
- }
- );
- attributesUsedForLocking = (customerID, memberID, costRestriction, firstName, lastName);
- className = Guest;
- classProperties = (costRestriction, rentals, firstName, lastName, customerID, member);
- externalName = GUEST;
- name = Guest;
- parent = Customer;
- primaryKeyAttributes = (customerID);
- relationships = (
- {
- destination = Member;
- isToMany = N;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = customerID; sourceAttribute = memberID; });
- name = member;
- },
- {
- deleteRule = EODeleteRuleDeny;
- destination = Rental;
- isToMany = Y;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = customerID; sourceAttribute = customerID; });
- name = rentals;
- numberOfToManyFaultsToBatchFetch = 5;
- },
- {
- deleteRule = EODeleteRuleCascade;
- destination = Customer;
- isToMany = N;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = customerID; sourceAttribute = customerID; });
- name = toCustomer;
- ownsDestination = Y;
- propagatesPrimaryKey = Y;
- },
- {definition = rentals.fees; joinSemantic = EOInnerJoin; name = unpaidFees; }
- );
- }
-