Skip to content

Instantly share code, notes, and snippets.

@marcric
Last active December 18, 2015 05:49
Show Gist options
  • Save marcric/5735530 to your computer and use it in GitHub Desktop.
Save marcric/5735530 to your computer and use it in GitHub Desktop.
Exemplo de Java Bean
package iniciantes;
import java.io.Serializable;
public class Cliente implements Serializable{
private static final long serialVersionUID = 2L;
private String name;
private String address;
private Long mobile;
private String emailid;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public Long getMobile() {
return mobile;
}
public void setMobile(Long mobile) {
this.mobile = mobile;
}
public String getEmailid() {
return emailid;
}
public void setEmailid(String emailid) {
this.emailid = emailid;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment