Entity: Movie

Model Movies
Class Inheritance EOGenericRecord
External Name MOVIE


Attributes
Properties Database Definition
Name         Value Class Column Ext. Type Value Type
category         String CATEGORY char(20)
dateReleased         NSTimestamp DATE_RELEASED datetime
movieID         Number MOVIE_ID long(9) i
posterName         String POSTER_NAME char(255)
rated         String RATED char(10)
revenue         BigDecimal REVENUE money(10,2) B
studioID         Number STUDIO_ID long i
title         String TITLE char(255)
trailerName         String TRAILER_NAME char(255)


Relationships
Property Join Options
Name   Destination Source Attrs Destination Attrs Definition Req Delete Propagate PK Owns Dest Batch Fault
directors     Talent toDirector.toTalent   Nullify    
plotSummary     PlotSummary movieID movieID   Cascade    
reviews     Review movieID movieID   Cascade    
roles     MovieRole movieID movieID   Cascade     20
studio     Studio studioID studioID   Nullify    
toDirector     Director movieID movieID   Cascade    
voting     Voting movieID movieID   Cascade    


Fetch Specifications
Name Qualifier Bindings Sort Orderings Prefetching Deep Raw
DeepFetchOneMovie (movieID = $myMovie) Number myMovie roles
roles.talent
roles.talent.photo
directors
plotSummary
reviews
studio
voting
   
QualifierVariable ((studio = $studio) or (title caseInsensitiveLike $title) or (studio.name caseInsensitiveLike $studioName) or (revenue > $revenue)) String title,
webobjectsexamples.businesslogic.movies.server.Studio studio,
BigDecimal revenue,
String studioName
   
RawFetchAllMovies
title