@Entity public class CartRuleCustomerSegmentXrefImpl extends Object implements CartRuleCustomerSegmentXref
| Modifier and Type | Field and Description |
|---|---|
protected CartRule |
cartRule |
protected com.broadleafcommerce.customersegment.domain.CustomerSegment |
customerSegment |
protected Long |
id |
| Constructor and Description |
|---|
CartRuleCustomerSegmentXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends CartRuleCustomerSegmentXref> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
CartRule |
getCartRule()
Returns the
CartRule associated with this CartRuleCustomerSegmentXrefs |
com.broadleafcommerce.customersegment.domain.CustomerSegment |
getCustomerSegment()
Returns the
CustomerSegment associated with this CartRuleCustomerSegmentXrefs |
Long |
getId()
Returns the
CartRuleCustomerSegmentXrefs id |
void |
setCartRule(CartRule cartRule)
Sets the
CartRule to be associated with this CartRuleCustomerSegmentXrefs |
void |
setCustomerSegment(com.broadleafcommerce.customersegment.domain.CustomerSegment customerSegment)
Sets the
CustomerSegment to be associated with this CartRuleCustomerSegmentXrefs |
void |
setId(Long id)
Sets the
CartRuleCustomerSegmentXrefs id |
protected Long id
protected CartRule cartRule
protected com.broadleafcommerce.customersegment.domain.CustomerSegment customerSegment
public Long getId()
CartRuleCustomerSegmentXrefCartRuleCustomerSegmentXrefs idgetId in interface CartRuleCustomerSegmentXrefpublic void setId(Long id)
CartRuleCustomerSegmentXrefCartRuleCustomerSegmentXrefs idsetId in interface CartRuleCustomerSegmentXrefpublic CartRule getCartRule()
CartRuleCustomerSegmentXrefCartRule associated with this CartRuleCustomerSegmentXrefsgetCartRule in interface CartRuleCustomerSegmentXrefpublic void setCartRule(CartRule cartRule)
CartRuleCustomerSegmentXrefCartRule to be associated with this CartRuleCustomerSegmentXrefssetCartRule in interface CartRuleCustomerSegmentXrefpublic com.broadleafcommerce.customersegment.domain.CustomerSegment getCustomerSegment()
CartRuleCustomerSegmentXrefCustomerSegment associated with this CartRuleCustomerSegmentXrefsgetCustomerSegment in interface CartRuleCustomerSegmentXrefpublic void setCustomerSegment(com.broadleafcommerce.customersegment.domain.CustomerSegment customerSegment)
CartRuleCustomerSegmentXrefCustomerSegment to be associated with this CartRuleCustomerSegmentXrefssetCustomerSegment in interface CartRuleCustomerSegmentXrefpublic <G extends CartRuleCustomerSegmentXref> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<CartRuleCustomerSegmentXref>CloneNotSupportedExceptionCopyright © 2019. All rights reserved.