Class JpaCustomerSegment
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaCustomerSegment
-
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,Serializable
@Entity @TrackableExtension({TENANT,APPLICATION}) public class JpaCustomerSegment extends Object implements com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaCustomerSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
org.modelmapper.ModelMapper
fromMe()
Class<?>
getBusinessDomainType()
String
getContextId()
String
getCustomerSegmentType()
String
getDescription()
String
getName()
Integer
getPriority()
String
getProcessingState()
String
getSegmentMatchRule()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
getTracking()
int
hashCode()
boolean
isActive()
void
setActive(boolean active)
void
setContextId(String contextId)
void
setCustomerSegmentType(String customerSegmentType)
void
setDescription(String description)
void
setName(String name)
void
setPriority(Integer priority)
void
setProcessingState(String processingState)
void
setSegmentMatchRule(String segmentMatchRule)
void
setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
org.modelmapper.ModelMapper
toMe()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
-
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
-
-
-
-
Method Detail
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()
- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()
- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getPriority
public Integer getPriority()
-
getProcessingState
public String getProcessingState()
-
getCustomerSegmentType
public String getCustomerSegmentType()
-
getSegmentMatchRule
public String getSegmentMatchRule()
-
isActive
public boolean isActive()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()
- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
Tracking
information for this relationship - See Also:
Tracking
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setName
public void setName(String name)
-
setDescription
public void setDescription(String description)
-
setPriority
public void setPriority(Integer priority)
-
setProcessingState
public void setProcessingState(String processingState)
-
setCustomerSegmentType
public void setCustomerSegmentType(String customerSegmentType)
-
setSegmentMatchRule
public void setSegmentMatchRule(String segmentMatchRule)
-
setActive
public void setActive(boolean active)
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
- Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
- Parameters:
tracking
- theTracking
information for this relationship- See Also:
Tracking
-
canEqual
protected boolean canEqual(Object other)
-
-