blob: 14e629493a2a4e2dc8ba34973331e5549e1b9a49 [file] [log] [blame]
/*=========================================================================
* Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* one or more patents listed at http://www.pivotal.io/patents.
*=========================================================================
*/
package com.gemstone.gemfire.modules;
import java.util.HashSet;
import java.util.Set;
public class Person {
private Long id;
private int age;
private String firstname;
private String lastname;
private Set<Event> e = new HashSet<Event>();
public Person() {}
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setAge(int age) {
this.age = age;
}
public int getAge() {
return age;
}
public void setFirstname(String firstname) {
this.firstname = firstname;
}
public String getFirstname() {
return firstname;
}
public void setLastname(String lastname) {
this.lastname = lastname;
}
public String getLastname() {
return lastname;
}
public void setE(Set<Event> events) {
this.e = events;
}
public Set<Event> getE() {
return e;
}
}