@Entity public class CustomerAddressImpl extends Object implements CustomerAddress
Modifier and Type | Field and Description |
---|---|
protected Address |
address |
protected String |
addressName |
protected Customer |
customer |
protected Long |
id |
Constructor and Description |
---|
CustomerAddressImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Address |
getAddress() |
String |
getAddressName() |
Customer |
getCustomer() |
Long |
getId() |
int |
hashCode() |
void |
setAddress(Address address) |
void |
setAddressName(String addressName) |
void |
setCustomer(Customer customer) |
void |
setId(Long id) |
String |
toString() |
protected Long id
protected String addressName
protected Customer customer
protected Address address
public Long getId()
getId
in interface CustomerAddress
public void setId(Long id)
setId
in interface CustomerAddress
public String getAddressName()
getAddressName
in interface CustomerAddress
public void setAddressName(String addressName)
setAddressName
in interface CustomerAddress
public Customer getCustomer()
getCustomer
in interface CustomerAddress
public void setCustomer(Customer customer)
setCustomer
in interface CustomerAddress
public Address getAddress()
getAddress
in interface CustomerAddress
public void setAddress(Address address)
setAddress
in interface CustomerAddress
Copyright © 2014. All rights reserved.