|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--DME.DME4CCustomer
DME4CCustomer class for the creation of customer electrial service objects with associated attributes and methods.
| Field Summary | |
static java.lang.String |
DME_PANE_TITLE
|
| Constructor Summary | |
DME4CCustomer()
Initialize (create default values for) instance variables that includes customer number and name, customer type, service type, meter reading day/month/year and kilowatt hours |
|
| Method Summary | |
java.lang.String |
getCustomerName()
Provides the current value of the customer name |
int |
getCustomerNumber()
Provides the current value of the customer number |
java.lang.String |
getCustomerType()
Provides the current value of the customer type |
int |
getKilowattHours()
Provides the current value of the kilowatt hours used |
int |
getMeterReadingDay()
Provides the current value of the meter reading day |
int |
getMeterReadingMonth()
Provides the current value of the meter reading month |
int |
getMeterReadingYear()
Provides the current value of the meter reading year |
int |
getServiceType()
Provides the current value of the service type |
void |
setCustomerName()
Controls prompting the user for the customer name (a string variable) |
void |
setCustomerNumber()
Controls prompting the user for the customer number (an integer variable) |
void |
setCustomerType()
Controls prompting the user for the customer type (a string variable with valid values of R, C or G) |
void |
setKilowattHours()
Controls prompting the user for the number of kilowatt hours used (an integer variable) |
void |
setMeterReadingDay()
Controls prompting the user for the meter reading day (an integer variable) |
void |
setMeterReadingMonth()
Controls prompting the user for the meter reading month (an integer variable) |
void |
setMeterReadingYear()
Controls prompting the user for the meter reading year (an integer variable) |
void |
setServiceType()
Controls prompting the user for the service type (an integer variable with valid values of 1 or 2) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DME_PANE_TITLE
| Constructor Detail |
public DME4CCustomer()
| Method Detail |
public void setCustomerNumber()
public void setCustomerName()
public void setCustomerType()
public void setServiceType()
public void setMeterReadingDay()
public void setMeterReadingMonth()
public void setMeterReadingYear()
public void setKilowattHours()
public int getCustomerNumber()
public java.lang.String getCustomerName()
public java.lang.String getCustomerType()
public int getServiceType()
public int getMeterReadingDay()
public int getMeterReadingMonth()
public int getMeterReadingYear()
public int getKilowattHours()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||