Class SegmentMember
- java.lang.Object
 - 
- com.broadleafcommerce.customer.domain.SegmentMember
 
 
- 
- All Implemented Interfaces:
 com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class SegmentMember extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Domain object representing a customer/customer segment relationship.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SegmentMember() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStategetContextState()CustomergetCustomer()The customer assigned to thecustomerSegment.CustomerSegmentgetCustomerSegment()The customer segment thecustomerbelongs to.StringgetId()The id of this SegmentMemberStringgetSource()The source of creation of this segment customer relationship.inthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)voidsetCustomer(Customer customer)The customer assigned to thecustomerSegment.voidsetCustomerSegment(CustomerSegment customerSegment)The customer segment thecustomerbelongs to.voidsetId(String id)The id of this SegmentMembervoidsetSource(String source)The source of creation of this segment customer relationship.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getId
public String getId()
The id of this SegmentMember- Returns:
 - The SegmentMember id
 
 
- 
getSource
public String getSource()
The source of creation of this segment customer relationship.- Returns:
 - The source of creation of this segment customer relationship.
 - See Also:
 SegmentMemberSource
 
- 
getCustomerSegment
public CustomerSegment getCustomerSegment()
The customer segment thecustomerbelongs to.- Returns:
 - The customer segment the customer belongs to.
 
 
- 
getCustomer
public Customer getCustomer()
The customer assigned to thecustomerSegment.- Returns:
 - The customer assigned to the customer segment.
 
 
- 
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
- Specified by:
 getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
 
- 
setId
public void setId(String id)
The id of this SegmentMember 
- 
setSource
public void setSource(String source)
The source of creation of this segment customer relationship.- See Also:
 SegmentMemberSource
 
- 
setCustomerSegment
public void setCustomerSegment(CustomerSegment customerSegment)
The customer segment thecustomerbelongs to. 
- 
setCustomer
public void setCustomer(Customer customer)
The customer assigned to thecustomerSegment. 
- 
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
- Specified by:
 setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -