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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateThe customer assigned to thecustomerSegment.The customer segment thecustomerbelongs to.getId()The id of this SegmentMemberThe 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.voidThe id of this SegmentMembervoidThe source of creation of this segment customer relationship.toString()
-
Constructor Details
-
SegmentMember
public SegmentMember()
-
-
Method Details
-
getId
The id of this SegmentMember- Returns:
- The SegmentMember id
-
getSource
The source of creation of this segment customer relationship.- Returns:
- The source of creation of this segment customer relationship.
- See Also:
-
getCustomerSegment
The customer segment thecustomerbelongs to.- Returns:
- The customer segment the customer belongs to.
-
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
The id of this SegmentMember -
setSource
The source of creation of this segment customer relationship.- See Also:
-
setCustomerSegment
The customer segment thecustomerbelongs to. -
setCustomer
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-