Class OfferCustomerSegmentXrefImpl
java.lang.Object
com.broadleafcommerce.customersegment.domain.offer.OfferCustomerSegmentXrefImpl
- All Implemented Interfaces:
OfferCustomerSegmentXref,Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferCustomerSegmentXref>
@Entity
public class OfferCustomerSegmentXrefImpl
extends Object
implements OfferCustomerSegmentXref
- Author:
- Chris Kittrell
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CustomerSegmentprotected Longprotected org.broadleafcommerce.core.offer.domain.Offer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends OfferCustomerSegmentXref>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) getId()org.broadleafcommerce.core.offer.domain.OffergetOffer()voidsetCustomerSegment(CustomerSegment customerSegment) voidvoidsetOffer(org.broadleafcommerce.core.offer.domain.Offer offer)
-
Field Details
-
id
-
offer
protected org.broadleafcommerce.core.offer.domain.Offer offer -
customerSegment
-
-
Constructor Details
-
OfferCustomerSegmentXrefImpl
public OfferCustomerSegmentXrefImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceOfferCustomerSegmentXref
-
setId
- Specified by:
setIdin interfaceOfferCustomerSegmentXref
-
getOffer
public org.broadleafcommerce.core.offer.domain.Offer getOffer()- Specified by:
getOfferin interfaceOfferCustomerSegmentXref
-
setOffer
public void setOffer(org.broadleafcommerce.core.offer.domain.Offer offer) - Specified by:
setOfferin interfaceOfferCustomerSegmentXref
-
getCustomerSegment
- Specified by:
getCustomerSegmentin interfaceOfferCustomerSegmentXref
-
setCustomerSegment
- Specified by:
setCustomerSegmentin interfaceOfferCustomerSegmentXref
-
createOrRetrieveCopyInstance
public <G extends OfferCustomerSegmentXref> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<OfferCustomerSegmentXref>- Throws:
CloneNotSupportedException
-