class Task extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private java.lang.String |
notes |
private double |
timeRequired |
Constructor and Description |
---|
Task() |
Task(java.lang.String newName,
java.lang.String newNotes,
double newTimeRequired) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getNotes() |
double |
getTimeRequired() |
void |
setName(java.lang.String newName) |
void |
setNotes(java.lang.String newNotes) |
void |
setTimeRequired(double newTimeRequired) |
java.lang.String |
toString() |
private java.lang.String name
private java.lang.String notes
private double timeRequired
public Task()
public Task(java.lang.String newName, java.lang.String newNotes, double newTimeRequired)
public java.lang.String getName()
public java.lang.String getNotes()
public double getTimeRequired()
public void setName(java.lang.String newName)
public void setTimeRequired(double newTimeRequired)
public void setNotes(java.lang.String newNotes)
public java.lang.String toString()
toString
in class java.lang.Object