Rich Newman

Movie Class – Java

package moviefindertest.springxml;

public class Movie {    

      public Movie() {}

      public Movie(String title, String director) {
            this.title = title;
            this.director = director;

      private String title;

      public String getTitle() {
            return title;

      public void setTitle(String title) {
            this.title = title;
      private String director;

      public String getDirector() {
            return director;

      public void setDirector(String director) {
            this.director = director;

      public String toString() {
            return "Movie [title=" + title + ", director=" + director + "]";


Leave a Comment »

No comments yet.

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: