java.lang.Object
com.broadleafcommerce.translation.provider.jpa.domain.JpaTranslation
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.FullTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.FullJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.search.Indexable, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TrackableBehaviorInheritable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.FullJpaTracking>, Serializable

@Entity public class JpaTranslation extends Object implements com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, Serializable, com.broadleafcommerce.data.tracking.core.FullTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.FullJpaTracking>, com.broadleafcommerce.data.tracking.core.TrackableBehaviorInheritable, com.broadleafcommerce.data.tracking.core.search.Indexable
Persistent domain corresponding to Translation for use with a JPA datastore.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • JpaTranslation

      public JpaTranslation()
  • Method Details

    • getValue

      public Object getValue()
    • setValue

      public void setValue(Object value)
    • fromMe

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

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

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

      public String inheritTrackableBehaviorClass()
      Specified by:
      inheritTrackableBehaviorClass in interface com.broadleafcommerce.data.tracking.core.TrackableBehaviorInheritable
    • get_id

      public String get_id()
    • getContextId

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

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.FullJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      See Also:
      • FullJpaTracking
    • getLocale

      public Locale getLocale()
      See Also:
    • getEntityType

      public String getEntityType()
      See Also:
    • getEntityId

      public String getEntityId()
      See Also:
    • getEntityField

      public String getEntityField()
      See Also:
    • 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
      See Also:
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.FullJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.FullJpaTracking>
      See Also:
      • FullJpaTracking
    • setLocale

      public void setLocale(Locale locale)
      See Also:
    • setEntityType

      public void setEntityType(String entityType)
      See Also:
    • setEntityId

      public void setEntityId(String entityId)
      See Also:
    • setEntityField

      public void setEntityField(String entityField)
      See Also:
    • 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