org.apache.cocoon.ojb.samples.bean
Class Employee

java.lang.Object
  extended by org.apache.cocoon.ojb.samples.bean.Employee
All Implemented Interfaces:
Serializable

public class Employee
extends Object
implements Serializable

Employee's Bean

Version:
CVS $Id: Employee.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Antonio Gallardo
See Also:
Serialized Form

Field Summary
protected  int departmentId
           
protected  String name
           
 
Constructor Summary
Employee()
           
 
Method Summary
 int getDepartmentId()
           
 int getId()
           
 String getName()
           
 void setDepartmentId(int newDepartmentId)
           
 void setId(int newId)
           
 void setName(String newName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

departmentId

protected int departmentId

name

protected String name
Constructor Detail

Employee

public Employee()
Method Detail

getId

public int getId()

getDepartmentId

public int getDepartmentId()

getName

public String getName()

setId

public void setId(int newId)

setDepartmentId

public void setDepartmentId(int newDepartmentId)

setName

public void setName(String newName)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.