[jboss-cvs] jboss-seam/examples/contactlist/src/org/jboss/seam/example/crud ...
Gavin King
gavin.king at jboss.com
Wed Sep 27 20:18:33 EDT 2006
User: gavin
Date: 06/09/27 20:18:33
Added: examples/contactlist/src/org/jboss/seam/example/crud
Contact.java
Log:
contact list example
Revision Changes Path
1.1 date: 2006/09/28 00:18:33; author: gavin; state: Exp;jboss-seam/examples/contactlist/src/org/jboss/seam/example/crud/Contact.java
Index: Contact.java
===================================================================
package org.jboss.seam.example.crud;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Contact
{
@Id @GeneratedValue
private Long id;
private String firstName;
private String lastName;
private String address;
private String city;
private String state;
private String zip;
private String country;
private String homePhone;
private String businessPhone;
private String cellPhone;
public String getAddress()
{
return address;
}
public void setAddress(String address)
{
this.address = address;
}
public String getBusinessPhone()
{
return businessPhone;
}
public void setBusinessPhone(String businessPhone)
{
this.businessPhone = businessPhone;
}
public String getCellPhone()
{
return cellPhone;
}
public void setCellPhone(String cellPhone)
{
this.cellPhone = cellPhone;
}
public String getCity()
{
return city;
}
public void setCity(String city)
{
this.city = city;
}
public String getCountry()
{
return country;
}
public void setCountry(String country)
{
this.country = country;
}
public String getFirstName()
{
return firstName;
}
public void setFirstName(String firstName)
{
this.firstName = firstName;
}
public String getHomePhone()
{
return homePhone;
}
public void setHomePhone(String homePhone)
{
this.homePhone = homePhone;
}
public String getLastName()
{
return lastName;
}
public void setLastName(String lastName)
{
this.lastName = lastName;
}
public String getState()
{
return state;
}
public void setState(String state)
{
this.state = state;
}
public String getZip()
{
return zip;
}
public void setZip(String zip)
{
this.zip = zip;
}
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
}
More information about the jboss-cvs-commits
mailing list