|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.pdx.cs399J.AbstractPhoneCall
public abstract class AbstractPhoneCall
This abstract class represents a phone call between a caller (the phone number of the person who originates the call) and callee (the phone number of the person whose receives the phone call). Phone calls begin and end at given times.
| Constructor Summary | |
|---|---|
AbstractPhoneCall()
|
|
| Method Summary | |
|---|---|
abstract String |
getCallee()
Returns the phone number of the person who received this phone call. |
abstract String |
getCaller()
Returns the phone number of the person who originated this phone call. |
Date |
getEndTime()
Returns the time that this phone call was completed as a Date. |
abstract String |
getEndTimeString()
Returns a textual representation of the time that this phone call was completed. |
Date |
getStartTime()
Returns the time that this phone call was originated as a Date. |
abstract String |
getStartTimeString()
Returns a textual representation of the time that this phone call was originated. |
String |
toString()
Returns a brief textual description of this phone call. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPhoneCall()
| Method Detail |
|---|
public abstract String getCaller()
public abstract String getCallee()
public Date getStartTime()
Date.
public abstract String getStartTimeString()
public Date getEndTime()
Date.
public abstract String getEndTimeString()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||