|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.perfectjpattern.example.datamodel.Movie
public class Movie
Movie Data model object
Constructor Summary | |
---|---|
Movie()
|
|
Movie(String aDirector,
String aTitle,
int aYear)
|
Method Summary | |
---|---|
String |
getDirector()
Returns the director |
Long |
getId()
Returns the id |
String |
getTitle()
Returns the title |
int |
getYear()
Returns the year |
void |
setDirector(String anDirector)
Sets the director |
void |
setId(Long anId)
Sets the id |
void |
setTitle(String anTitle)
Sets the title |
void |
setYear(int anYear)
Sets the year |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Movie()
public Movie(String aDirector, String aTitle, int aYear)
Method Detail |
---|
public final Long getId()
public final void setId(Long anId)
anId
- the id to setpublic final String getDirector()
public final void setDirector(String anDirector)
anDirector
- the director to setpublic final String getTitle()
public final void setTitle(String anTitle)
anTitle
- the title to setpublic final int getYear()
public final void setYear(int anYear)
anYear
- the year to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |