daoexamples.movie
Class MovieImpl
java.lang.Object
daoexamples.movie.MovieImpl
- All Implemented Interfaces:
- Movie
- class MovieImpl
- extends java.lang.Object
- implements Movie
- Author:
- Sean C. Sullivan
- See Also:
MovieDAO
Field Summary |
private java.lang.String |
m_id
|
private java.lang.String |
m_rating
|
private java.lang.String |
m_title
|
private java.lang.String |
m_year
|
Constructor Summary |
MovieImpl(java.lang.String id,
java.lang.String rating,
java.lang.String year,
java.lang.String title)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_id
private final java.lang.String m_id
m_rating
private final java.lang.String m_rating
m_year
private final java.lang.String m_year
m_title
private final java.lang.String m_title
MovieImpl
public MovieImpl(java.lang.String id,
java.lang.String rating,
java.lang.String year,
java.lang.String title)
getId
public java.lang.String getId()
- Specified by:
getId
in interface Movie
getRating
public java.lang.String getRating()
- Specified by:
getRating
in interface Movie
getReleaseYear
public java.lang.String getReleaseYear()
- Specified by:
getReleaseYear
in interface Movie
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface Movie
toString
public java.lang.String toString()
Copyright © 2003-2004 daoexamples.sourceforge.net. All Rights Reserved.