forked from wakaleo/movie-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
106 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 0 additions & 82 deletions
82
src/main/java/com/wakaleo/myflix/movies/MovieController.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,45 @@ | ||
package com.wakaleo.myflix.movies.model; | ||
|
||
/** | ||
* Created by john on 11/06/2015. | ||
*/ | ||
import com.google.common.collect.ImmutableList; | ||
|
||
import java.util.List; | ||
|
||
public class Artist { | ||
|
||
private String name; | ||
private List<Movie> filmsActedIn; | ||
private List<Movie> filmsDirected; | ||
|
||
public Artist() { | ||
} | ||
|
||
public Artist(String name, List<Movie> filmsActedIn, List<Movie> filmsDirected) { | ||
this.name = name; | ||
this.filmsActedIn = filmsActedIn; | ||
this.filmsDirected = filmsDirected; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public List<Movie> getFilmsActedIn() { | ||
return filmsActedIn; | ||
} | ||
|
||
public List<Movie> getFilmsDirected() { | ||
return filmsDirected; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public void setActedIn(List<Movie> actedIn) { | ||
this.filmsActedIn = actedIn; | ||
} | ||
|
||
public void setDirected(List<Movie> directed) { | ||
this.filmsDirected = directed; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
src/test/groovy/com/wakaleo/myflix/movies/MovieControllerSpecs.groovy
This file was deleted.
Oops, something went wrong.
82 changes: 0 additions & 82 deletions
82
src/test/groovy/com/wakaleo/myflix/movies/integration/WhenFindingMoviesViaTheRestAPI.groovy
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.