|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.examples.dvdrental.DVD
This is value object class that represents one real world object namely a Digital Versatile Disc.
| Constructor Summary | |
DVD()
Default constructor |
|
DVD(java.lang.String title,
java.lang.String director,
java.lang.String vendor,
int year,
int length,
int chapters)
Constructor |
|
| Method Summary | |
int |
getChapters()
Gets the chapters |
java.lang.String |
getDirector()
Gets the director |
int |
getLength()
Gets the length |
java.lang.String |
getTitle()
Gets the title |
java.lang.String |
getVendor()
Gets the vendor |
int |
getYear()
Gets the year |
void |
setChapters(int chapters)
Sets the chapters |
void |
setDirector(java.lang.String director)
Sets the director |
void |
setLength(int length)
Sets the length |
void |
setTitle(java.lang.String title)
Sets the title |
void |
setVendor(java.lang.String vendor)
Sets the vendor |
void |
setYear(int year)
Sets the year |
java.lang.String |
toString()
Gets debuggable string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DVD()
public DVD(java.lang.String title,
java.lang.String director,
java.lang.String vendor,
int year,
int length,
int chapters)
| Method Detail |
public int getChapters()
public void setChapters(int chapters)
chapters - The chapters to set.public java.lang.String getDirector()
public void setDirector(java.lang.String director)
director - The director to set.public int getLength()
public void setLength(int length)
length - The length to set.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - The title to set.public java.lang.String getVendor()
public void setVendor(java.lang.String vendor)
vendor - The vendor to set.public int getYear()
public void setYear(int year)
year - The year to set.public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||