Skip to content

Instantly share code, notes, and snippets.

@bsbodden
Created August 1, 2011 20:15
Show Gist options
  • Save bsbodden/1118891 to your computer and use it in GitHub Desktop.
Save bsbodden/1118891 to your computer and use it in GitHub Desktop.
Simple Java POJO
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