Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <dataset>
- <Person id="1" dateOfBirth="2000-07-25T10:55:58" age="10.5" sex="MALE"/>
- </dataset>
- public class Person {
- private Long id;
- private LocalDateTime dateOfBirth;
- private BigDecimal age;
- private Sex sex;
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public LocalDateTime getDateOfBirth() {
- return dateOfBirth;
- }
- public void setDateOfBirth(LocalDateTime dateOfBirth) {
- this.dateOfBirth = dateOfBirth;
- }
- public BigDecimal getAge() {
- return age;
- }
- public void setAge(BigDecimal age) {
- this.age = age;
- }
- public Sex getSex() {
- return sex;
- }
- public void setSex(Sex sex) {
- this.sex = sex;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement