@Entity public class CustomerPhoneImpl extends Object implements CustomerPhone, CustomerPhoneAdminPresentation
CustomerPhoneAdminPresentation.FieldOrder, CustomerPhoneAdminPresentation.GroupName, CustomerPhoneAdminPresentation.GroupOrder, CustomerPhoneAdminPresentation.TabName, CustomerPhoneAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected Customer |
customer |
protected Long |
id |
protected boolean |
isActive |
protected boolean |
isDefault |
protected Long |
phoneExternalId |
protected String |
phoneName |
| Constructor and Description |
|---|
CustomerPhoneImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends CustomerPhone> |
createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
boolean |
equals(Object obj) |
Customer |
getCustomer() |
Long |
getId() |
Long |
getPhoneExternalId() |
String |
getPhoneName() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isDefault() |
void |
setActive(boolean isActive) |
void |
setCustomer(Customer customer) |
void |
setDefault(boolean isDefault) |
void |
setId(Long id) |
void |
setPhoneExternalId(Long phoneReferenceId) |
void |
setPhoneName(String phoneName) |
protected Long id
protected String phoneName
protected boolean isDefault
protected boolean isActive
protected Customer customer
protected Long phoneExternalId
public Long getId()
getId in interface CustomerPhonepublic void setId(Long id)
setId in interface CustomerPhonepublic String getPhoneName()
getPhoneName in interface CustomerPhonepublic void setPhoneName(String phoneName)
setPhoneName in interface CustomerPhonepublic boolean isDefault()
isDefault in interface CustomerPhonepublic void setDefault(boolean isDefault)
setDefault in interface CustomerPhonepublic boolean isActive()
isActive in interface CustomerPhonepublic void setActive(boolean isActive)
setActive in interface CustomerPhonepublic Customer getCustomer()
getCustomer in interface CustomerPhonepublic void setCustomer(Customer customer)
setCustomer in interface CustomerPhonepublic Long getPhoneExternalId()
getPhoneExternalId in interface CustomerPhonepublic void setPhoneExternalId(Long phoneReferenceId)
setPhoneExternalId in interface CustomerPhonepublic <G extends CustomerPhone> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<CustomerPhone>CloneNotSupportedExceptionCopyright © 2017. All rights reserved.