/* Author : Michael Robinson Program : superCustomer.java Purpose : This is a super-class that implements the customerInterface interface. From this super-class two sub-classes are inheriting, in addition it contains three methods: public String[] getCustomerData() public String getCustomerType(), and public String getCustomerName() Updated : September 1, 2099 */ public class superCustomer implements customerInterface { //implement interface variables public String name = "superCustomer Guy"; public String customerType = "superCustomer Type"; public String customerID = "id"; public String customerLastName = "Last Name"; public String customerFirstName = "First Name"; public String customerMiddleName = "Middle Name"; public String customerAddress1 = "Address 1"; public String customerAddress2 = "Address 2"; public String customerCity = "City"; public String customerState = "State"; public String customerCountry = "Country"; public String customerZipCode = "Zip"; public String customerTelNumber = "Telephone"; // set all variables implemented from customerInterface public void setCustomerType( String customerType ) { this.customerType = customerType; }//end public void setCustomerType( String customerType ) public void setCustomerID( String customerID ) { this.customerID = customerID; }//end public void setCustomerID( String customerID ) public void setCustomerLastName( String customerLastName ) { this.customerLastName = customerLastName; }//end public void setCustomerLastName( //String customerLastName ) public void setCustomerFirstName( String customerFirstName ) { this.customerFirstName = customerFirstName; }//end public void setCustomerFirstName( //String customerFirstName ) public void setCustomerMiddleName( String customerMiddleName ) { this.customerMiddleName = customerMiddleName; }//end public void setCustomerMiddleName( String //customerMiddleName ) public void setCustomerAddress1( String customerAddress1 ) { this.customerAddress1 = customerAddress1; }//end public void setCustomerAddress1( String //customerAddress1 public void setCustomerAddress2( String customerAddress2 ) { this.customerAddress2 = customerAddress2; }//end public void setCustomerAddress2( String //customerAddress2 ) public void setCustomerCity( String customerCity ) { this.customerCity = customerCity; }//end public void setCustomerCity( String customerCity ) public void setCustomerState( String customerState ) { this.customerState = customerState; }//end public void setCustomerState( String customerState ) public void setCustomerCountry( String customerCountry ) { this.customerCountry = customerCountry; }//end public void setCustomerCountry( String customerCountry ) public void setCustomerZipCode( String customerZipCode ) { this.customerZipCode = customerZipCode; }//end public void setCustomerZipCode( String customerZipCode ) public void setCustomerTelNumber( String customerTelNumber ) { this.customerTelNumber = customerTelNumber; }//end public void setCustomerTelNumber( String //customerTelNumber ) //create an array with all variables and return it public String[] getCustomerData() { String customerData[] = new String[] { customerID, customerLastName, customerFirstName, customerMiddleName, customerAddress1, customerAddress2, customerCity, customerState, customerCountry, customerZipCode, customerTelNumber }; return customerData; }//end public String[] getCustomerData() public String getCustomerType() { return ( customerType ); }//end public String getCustomerType() public String getCustomerName() { return ( name ); }//end public String getCustomerName() }//end public class superCustomer implements customerInterface