Getter for the customerName property.returnThe current value of the customerName property. return this.customerName;
return this.customerName;
Setter for the customerName property.paramcustomerName The current value for the customerName property.throwsNullPointerException If the given string is null.throwsIllegalArgumentException if the given string is of size 0. if (customerName == null) { throw new NullPointerException(); } if (customerName.length() == 0) { throw new IllegalArgumentException(); } this.customerName = customerName;
if (customerName == null) { throw new NullPointerException(); } if (customerName.length() == 0) { throw new IllegalArgumentException(); } this.customerName = customerName;