|
CSVObjects Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttest.net.sf.anupam.csv.beans.Employee
public class Employee
Sample bean to represent an employee.
| Mapped Bean Name: "employeeBean" Has CSV Header: "true" |
| Constructor Summary | |
|---|---|
Employee()
Default Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(Employee other)
Compares this employee against another employee for ordering purposes. |
boolean |
equals(Object other)
Compares this employee against another for equality. |
String |
getClientSuppliedID()
Returns value of the clientSuppliedID. |
String |
getClientSuppliedSecondaryID()
Returns value of the clientSuppliedSecondaryID. |
Designation |
getDesignation()
Returns value of the designation. |
String |
getEmployeeID()
Return the employee ID. |
String |
getFirstName()
Returns the first name. |
String |
getLastName()
Returns the last name. |
int |
hashCode()
Returns the hashcode for this employee. |
void |
setClientSuppliedID(String clientSuppliedID)
Sets value of the clientSuppliedID. |
void |
setClientSuppliedSecondaryID(String clientSuppliedSecondaryID)
Sets value of the clientSuppliedSecondaryID. |
void |
setDesignation(Designation designation)
Sets value of the designation. |
void |
setEmployeeID(String employeeID)
Sets the employee ID. |
void |
setFirstName(String firstName)
Set the first name. |
void |
setLastName(String lastName)
Sets the last name. |
String |
toString()
Returns a string representation of this employee for debugging purposes
only. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Employee()
| Method Detail |
|---|
public String getClientSuppliedID()
| CSV Field Position: "8" Reformatter: None |
public void setClientSuppliedID(String clientSuppliedID)
clientSuppliedID - The clientSuppliedID to set.public String getClientSuppliedSecondaryID()
| CSV Field Position: "7" Reformatter: None |
public void setClientSuppliedSecondaryID(String clientSuppliedSecondaryID)
clientSuppliedSecondaryID - The clientSuppliedSecondaryID to set.public void setEmployeeID(String employeeID)
employeeID - The employeeID to set.public String getEmployeeID()
| CSV Field Position: "1" Reformatter: None |
public void setFirstName(String firstName)
firstName - The firstName to set.public String getFirstName()
| CSV Field Position: "2" Reformatter: "firstWord" |
public void setLastName(String lastName)
lastName - The lastName to set.public String getLastName()
| CSV Field Position: "2" Reformatter: "lastWord" |
public int compareTo(Employee other)
compareTo in interface Comparable<Employee>other - the other employee to compare against
0 if the two employee are equal, -1 if this employee ID
is lower, +1 if this employee ID is higherComparable.compareTo(Object)public boolean equals(Object other)
equals in class Objectother - the other employee to compare against
true if equal, false otherwiseObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
debugging purposes
only.
toString in class ObjectObject.toString()public Designation getDesignation()
| CSV Field Position: "3" Reformatter: None |
public void setDesignation(Designation designation)
designation - The designation to set.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||