|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.micro.examples.helpline.InformationEntry
public class InformationEntry
Simple struct storing information about a person.
| Field Summary | |
|---|---|
protected long |
date
The date of the information. |
protected String |
information
The information. |
protected String |
name
The person's name. |
| Constructor Summary | |
|---|---|
InformationEntry()
|
|
InformationEntry(String name,
String information,
long date)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compare this entry to another one. |
boolean |
equals(Object obj)
Test if equal to another object. |
long |
getDate()
Get the date. |
String |
getInformation()
Get the information. |
String |
getName()
Get the name. |
int |
hashCode()
Get the hashcode. |
void |
setDate(long date)
Set the date. |
void |
setInformation(String information)
Set the information. |
void |
setName(String name)
Set the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String information
protected long date
| Constructor Detail |
|---|
public InformationEntry()
public InformationEntry(String name,
String information,
long date)
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name to set.public String getInformation()
public void setInformation(String information)
information - The information to set.public long getDate()
public void setDate(long date)
date - The date to set.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(Object o)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||