|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.examples.maven.jpa2.entity.Employee
@Entity public class Employee
A JPA 2.0 Entity.
Constructor Summary | |
---|---|
Employee()
Default constructor. |
Method Summary | |
---|---|
void |
addNickName(String nickName)
Adds the given nickname. |
List<Address> |
getAddresses()
|
Map<Date,String> |
getHistoryEvents()
|
int |
getId()
|
Set<EmployeeLevelType> |
getLevelRights()
|
String |
getName()
|
List<String> |
getNickNames()
|
void |
setName(String name)
Defines name of the employee. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Employee()
Method Detail |
---|
public void setName(String name)
name
- the given namepublic String getName()
public int getId()
public List<String> getNickNames()
public void addNickName(String nickName)
nickName
- the given nicknamepublic Set<EmployeeLevelType> getLevelRights()
public List<Address> getAddresses()
public Map<Date,String> getHistoryEvents()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |