X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjshopcore%2Fmodel%2Fcustomer%2FCustomer.java;h=d2bd2b356744ba42ad66cdb9e0eb3bd971be99c9;hb=2f41e66470201a3057be8757cc53f737d53e2c82;hp=a86b71b2f109890bb4b4bbfaf11446869292a640;hpb=c65fa698270f5d8d2827b88accc04f27fafdb190;p=jproduct-core.git diff --git a/src/org/mxchange/jshopcore/model/customer/Customer.java b/src/org/mxchange/jshopcore/model/customer/Customer.java index a86b71b..d2bd2b3 100644 --- a/src/org/mxchange/jshopcore/model/customer/Customer.java +++ b/src/org/mxchange/jshopcore/model/customer/Customer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 Roland Haeder + * Copyright (C) 2016 Roland Haeder * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,117 +33,123 @@ public interface Customer extends Serializable { *

* @param customer Source instance */ - public void copyAll (final Customer customer); + void copyAll (final Customer customer); /** * Getter for contact instance *

* @return Contact id number */ - public Contact getContact (); + Contact getContact (); /** * Setter for contact instance *

* @param contact Contact instance */ - public void setContact (final Contact contact); + void setContact (final Contact contact); /** * Getter for confirmation key *

* @return Confirmation key */ - public String getCustomerConfirmKey (); + String getCustomerConfirmKey (); /** * Setter for confirmation key *

* @param customerConfirmKey Confirmation key */ - public void setCustomerConfirmKey (final String customerConfirmKey); + void setCustomerConfirmKey (final String customerConfirmKey); /** * Getter for "created" timestamp *

* @return "created" timestamp */ - public Calendar getCustomerCreated (); + Calendar getCustomerCreated (); /** * Setter for "created" timestamp *

* @param customerCreated "created" timestamp */ - public void setCustomerCreated (final Calendar customerCreated); + void setCustomerCreated (final Calendar customerCreated); /** * Getter for customer id number *

* @return Customer id number */ - public Long getCustomerId (); + Long getCustomerId (); /** * Settte for customer id number *

* @param customerId Customer id number */ - public void setCustomerId (final Long customerId); + void setCustomerId (final Long customerId); /** * Getter for "locked" timestamp *

* @return "locked" timestamp */ - public Calendar getCustomerLocked (); + Calendar getCustomerLocked (); /** * Getter for "locked" timestamp *

* @param customerLocked "locked" timestamp */ - public void setCustomerLocked (final Calendar customerLocked); + void setCustomerLocked (final Calendar customerLocked); /** * Getter for customer number *

* @return Customer number */ - public String getCustomerNumber (); + String getCustomerNumber (); /** * Setter for customer number *

* @param customerNumber Customer number */ - public void setCustomerNumber (final String customerNumber); + void setCustomerNumber (final String customerNumber); /** * Getter for password hash *

* @return Password hash */ - public String getCustomerPasswordHash (); + String getCustomerPasswordHash (); /** * Setter for password hash *

* @param customerPasswordHash Password hash */ - public void setCustomerPasswordHash (final String customerPasswordHash); + void setCustomerPasswordHash (final String customerPasswordHash); /** * Getter for account status *

* @return Account status */ - public CustomerAccountStatus getCustomerAccountStatus (); + CustomerAccountStatus getCustomerAccountStatus (); /** * Setter for account status *

* @param customerStatus Account status */ - public void setCustomerAccountStatus (final CustomerAccountStatus customerStatus); + void setCustomerAccountStatus (final CustomerAccountStatus customerStatus); + + @Override + boolean equals (final Object object); + + @Override + int hashCode (); }