org.ow2.easybeans.examples.maven.jpa2.entity
Class Address
java.lang.Object
org.ow2.easybeans.examples.maven.jpa2.entity.Address
- All Implemented Interfaces:
- Serializable
@Entity
public class Address
- extends Object
- implements Serializable
Address of an employee.
- Author:
- Florent Benoit
- See Also:
- Serialized Form
Address
public Address()
getTitle
public String getTitle()
- Returns:
- the title of the address.
setTitle
public void setTitle(String title)
- Defines the title of this address.
- Parameters:
title
- the given title
getCity
public String getCity()
- Returns:
- the city of this address.
setCity
public void setCity(String city)
- Defines the city of this address.
- Parameters:
city
- the given city
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- string corresponding to this entity
Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.