home *** CD-ROM | disk | FTP | other *** search
- {
- attributes = (
- {
- allowsNull = Y;
- columnName = CUSTOMER_ID;
- externalType = NUMBER;
- name = customerID;
- precision = 9;
- valueClassName = NSNumber;
- valueType = i;
- },
- {
- columnName = FIRST_NAME;
- externalType = VARCHAR2;
- name = firstName;
- valueClassName = NSString;
- width = 20;
- },
- {
- columnName = LAST_NAME;
- externalType = VARCHAR2;
- name = lastName;
- valueClassName = NSString;
- width = 30;
- }
- );
- attributesUsedForLocking = (customerID, firstName, lastName);
- className = Customer;
- classProperties = (firstName, lastName, rentals, customerID);
- externalName = CUSTOMER;
- isAbstractEntity = Y;
- name = Customer;
- primaryKeyAttributes = (customerID);
- relationships = (
- {
- destination = Member;
- isToMany = N;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = customerID; sourceAttribute = customerID; });
- name = member;
- },
- {
- deleteRule = EODeleteRuleDeny;
- destination = Rental;
- isToMany = Y;
- joinSemantic = EOInnerJoin;
- joins = ({destinationAttribute = customerID; sourceAttribute = customerID; });
- name = rentals;
- numberOfToManyFaultsToBatchFetch = 5;
- },
- {definition = rentals.fees; joinSemantic = EOInnerJoin; name = unpaidFees; }
- );
- }
-