Created
January 15, 2015 06:41
-
-
Save adrianmilne/636f870c9ebd707a45b9 to your computer and use it in GitHub Desktop.
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
package com.cor.domain; | |
/** | |
* Music Artist/Group. | |
* | |
*/ | |
public class Artist { | |
private final String id; | |
private final String name; | |
public Artist(final String id, final String name) { | |
this.id = id; | |
this.name = name; | |
} | |
public String getId() { | |
return id; | |
} | |
public String getName() { | |
return name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment