Created
August 1, 2011 20:15
-
-
Save bsbodden/1118891 to your computer and use it in GitHub Desktop.
Simple Java POJO
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
public class Simple { | |
private String foo; | |
private String bar; | |
private String baz; | |
public String getBar() { | |
return bar; | |
} | |
public String getFoo() { | |
return foo; | |
} | |
public String getBaz() { | |
return baz; | |
} | |
public void setBar(String bar) { | |
this.bar = bar; | |
} | |
public void setFoo(String foo) { | |
this.foo = foo; | |
} | |
public void setBaz(String baz) { | |
this.baz = baz; | |
} | |
public String toString() { | |
return foo + " " + bar + " " + baz; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment