{ attributes = ( { columnName = "DATE_ACQUIRED"; externalType = timestamp; name = dateAcquired; prototypeName = dateTime; }, { allowsNull = Y; columnName = NOTES; externalType = char; name = notes; prototypeName = varchar100; }, { allowsNull = N; columnName = "UNIT_ID"; externalType = integer; name = unitID; prototypeName = id; }, { columnName = "VIDEO_ID"; externalType = integer; name = videoID; prototypeName = id; } ); attributesUsedForLocking = (unitID, videoID, notes, dateAcquired); className = "org.wocommunity.rentals.model.server.Unit"; classProperties = (notes, dateAcquired, rentals, unitID, video); externalName = unit; internalInfo = { "_clientClassPropertyNames" = (notes, dateAcquired, rentals, video, unitID); "_javaClientClassName" = "org.wocommunity.rentals.model.client.Unit"; "_nameInObjectStore" = UNIT; }; maxNumberOfInstancesToBatchFetch = 5; name = Unit; primaryKeyAttributes = (unitID); relationships = ( { deleteRule = EODeleteRuleDeny; destination = Rental; isToMany = Y; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = unitID; sourceAttribute = unitID; }); name = rentals; numberOfToManyFaultsToBatchFetch = 20; }, { destination = Video; isMandatory = Y; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = videoID; sourceAttribute = videoID; }); name = video; } ); }