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
Constructors -
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:AbstractPhoneCallReturns the phone number of the person who originated this phone call.- Specified by:
getCallerin classAbstractPhoneCall
-
getCallee
Description copied from class:AbstractPhoneCallReturns the phone number of the person who received this phone call.- Specified by:
getCalleein classAbstractPhoneCall
-
getBeginTimeString
Description copied from class:AbstractPhoneCallReturns a textual representation of the time that this phone call began.- Specified by:
getBeginTimeStringin classAbstractPhoneCall
-
getEndTimeString
Description copied from class:AbstractPhoneCallReturns a textual representation of the time that this phone call was completed.- Specified by:
getEndTimeStringin classAbstractPhoneCall
-