{ attributes = ( { allowsNull = Y; columnName = CATEGORY; name = category; prototypeName = varchar50; }, { allowsNull = Y; columnName = "DATE_RELEASED"; name = dateReleased; prototypeName = dateTime; }, {allowsNull = N; columnName = "MOVIE_ID"; name = movieID; prototypeName = id; }, { allowsNull = Y; columnName = "POSTER_NAME"; name = posterName; prototypeName = varchar255; }, {allowsNull = Y; columnName = RATED; name = rated; prototypeName = varchar10; }, { allowsNull = Y; columnName = REVENUE; name = revenue; prototypeName = currencyAmount; }, { allowsNull = N; columnName = "STUDIO_ID"; name = studioID; prototypeName = id; }, {columnName = TITLE; name = title; prototypeName = varchar255; }, { allowsNull = Y; columnName = "TRAILER_NAME"; name = trailerName; prototypeName = varchar255; } ); attributesUsedForLocking = ( title, movieID, dateReleased, category, revenue, studioID, posterName, trailerName, rated ); className = "org.wocommunity.movies.model.server.Movie"; classProperties = ( category, dateReleased, title, directors, revenue, roles, plotSummary, studio, posterName, trailerName, reviews, voting, rated ); externalName = movie; internalInfo = { "_clientClassPropertyNames" = ( category, dateReleased, title, directors, revenue, roles, plotSummary, studio, posterName, trailerName, reviews, voting, rated ); "_javaClientClassName" = "org.wocommunity.movies.model.client.Movie"; "_nameInObjectStore" = MOVIE; }; maxNumberOfInstancesToBatchFetch = 10; name = Movie; primaryKeyAttributes = (movieID); relationships = ( { definition = "toDirector.toTalent"; joinSemantic = EOInnerJoin; name = directors; }, { deleteRule = EODeleteRuleCascade; destination = PlotSummary; isMandatory = Y; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); name = plotSummary; ownsDestination = Y; propagatesPrimaryKey = Y; }, { deleteRule = EODeleteRuleCascade; destination = Review; isToMany = Y; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); name = reviews; ownsDestination = Y; }, { deleteRule = EODeleteRuleCascade; destination = MovieRole; isToMany = Y; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); name = roles; numberOfToManyFaultsToBatchFetch = 20; ownsDestination = Y; propagatesPrimaryKey = Y; }, { destination = Studio; isMandatory = Y; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = studioID; sourceAttribute = studioID; }); name = studio; numberOfToManyFaultsToBatchFetch = 0; }, { deleteRule = EODeleteRuleCascade; destination = Director; isToMany = Y; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); name = toDirector; ownsDestination = Y; propagatesPrimaryKey = Y; }, { deleteRule = EODeleteRuleCascade; destination = Voting; isMandatory = Y; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = movieID; sourceAttribute = movieID; }); name = voting; ownsDestination = Y; propagatesPrimaryKey = Y; } ); storedProcedureNames = {}; }