Class JpaCartFieldMapping

java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.JpaCartFieldMapping
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(APPLICATION) public class JpaCartFieldMapping extends Object implements Serializable, 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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    org.modelmapper.ModelMapper
     
     
    The attribute name where this field's value should be stored in.
     
     
    com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
     
    The JsonPath on the Product to retrieve the value(s) which should be stored in that attribute.
    int
     
    void
     
    void
    setAttributeName(String attributeName)
    The attribute name where this field's value should be stored in.
    void
    setContextId(String contextId)
     
    void
    setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
     
    void
    setValuePath(String valuePath)
    The JsonPath on the Product to retrieve the value(s) which should be stored in that attribute.
    org.modelmapper.ModelMapper
     
     

    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

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable

    getDisplay, getNotificationStates, getNotificationStates, setNotificationStates

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable

    setTracking
  • Constructor Details

    • JpaCartFieldMapping

      public JpaCartFieldMapping()
  • Method Details

    • fromMe

      public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • get_id

      public String get_id()
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getAttributeName

      public String getAttributeName()
      The attribute name where this field's value should be stored in.
    • getValuePath

      public String getValuePath()
      The JsonPath on the Product to retrieve the value(s) which should be stored in that attribute.
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      Returns:
      the ApplicationJpaTracking information for this menu
      See Also:
      • ApplicationJpaTracking
    • set_id

      public void set_id(String _id)
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setAttributeName

      public void setAttributeName(String attributeName)
      The attribute name where this field's value should be stored in.
    • setValuePath

      public void setValuePath(String valuePath)
      The JsonPath on the Product to retrieve the value(s) which should be stored in that attribute.
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
      Parameters:
      tracking - the ApplicationJpaTracking information for this menu
      See Also:
      • ApplicationJpaTracking
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object