|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.pdx.cs399J.AbstractPhoneBill
public abstract class AbstractPhoneBill
This abstract class represents a customer's phone bill that consists of multiple phone calls.
| Constructor Summary | |
|---|---|
AbstractPhoneBill()
|
|
| Method Summary | |
|---|---|
abstract void |
addPhoneCall(AbstractPhoneCall call)
Adds a phone call to this phone bill |
abstract String |
getCustomer()
Returns the name of the customer whose phone bill this is |
abstract Collection |
getPhoneCalls()
Returns all of the phone calls (as instances of AbstractPhoneCall) in this phone bill |
String |
toString()
Returns a brief textual description of this phone bill |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPhoneBill()
| Method Detail |
|---|
public abstract String getCustomer()
public abstract void addPhoneCall(AbstractPhoneCall call)
public abstract Collection getPhoneCalls()
AbstractPhoneCall) in this phone bill
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||