JavaBeans: Difference between revisions

Content deleted Content added
No edit summary
Line 29:
 
public String getName() {
return (this.name);
}
public void setName(String name) {
Line 36:
// Different semantics for a boolean field (is vs. get)
public boolean isDeceased() {
return (this.deceased);
}
public void setDeceased(boolean deceased) {