Package edu.pdx.cs410J.phonebill
Class PhoneCall
java.lang.Object
edu.pdx.cs410J.AbstractPhoneCall
edu.pdx.cs410J.phonebill.PhoneCall
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a textual representation of the time that this phone call began.Returns the phone number of the person who received this phone call.Returns the phone number of the person who originated this phone call.Returns a textual representation of the time that this phone call was completed.Methods inherited from class edu.pdx.cs410J.AbstractPhoneCall
getBeginTime, getEndTime, toString
-
Constructor Details
-
PhoneCall
public PhoneCall()
-
-
Method Details
-
getCaller
Description copied from class:AbstractPhoneCall
Returns the phone number of the person who originated this phone call.- Specified by:
getCaller
in classAbstractPhoneCall
-
getCallee
Description copied from class:AbstractPhoneCall
Returns the phone number of the person who received this phone call.- Specified by:
getCallee
in classAbstractPhoneCall
-
getBeginTimeString
Description copied from class:AbstractPhoneCall
Returns a textual representation of the time that this phone call began.- Specified by:
getBeginTimeString
in classAbstractPhoneCall
-
getEndTimeString
Description copied from class:AbstractPhoneCall
Returns a textual representation of the time that this phone call was completed.- Specified by:
getEndTimeString
in classAbstractPhoneCall
-