Last active
December 18, 2015 05:49
-
-
Save marcric/5735530 to your computer and use it in GitHub Desktop.
Exemplo de Java Bean
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 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