|
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.Designation
public class Designation
Sample bean to represent an employee designation.
Mapped Bean Name: "designationBean" Has CSV Header: "true" |
Constructor Summary | |
---|---|
Designation()
Constructor for Designation. |
Method Summary | |
---|---|
int |
compareTo(Designation other)
Compares this designation to another designation. |
boolean |
equals(Object other)
Compares this designation with another for equality. |
String |
getDesignation()
Returns value of the designation. |
int |
hashCode()
Returns the hash code for this designation. |
void |
setDesignation(String designation)
Sets value of the designation. |
String |
toString()
Returns the string representation of this designation for debugging purposes only. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Designation()
Method Detail |
---|
public int compareTo(Designation other)
compareTo
in interface Comparable<Designation>
other
- the other designation to compare against
0
if the two designations are equal, -1
if this
designation ranks lower, +1
if this designation ranks higherComparable.compareTo(Object)
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object other)
equals
in class Object
other
- the other designation to compare against
true
if the designations are equal, false
otherwiseObject.equals(Object)
public String getDesignation()
CSV Field Position: "4" Reformatter: None |
public void setDesignation(String designation)
designation
- The designation to set.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |