Class InternationalMessageImpl
java.lang.Object
com.broadleafcommerce.i18n.enterprise.config.domain.InternationalMessageImpl
- All Implemented Interfaces:
InternationalMessage,Serializable,org.broadleafcommerce.common.admin.domain.AdminMainEntity,org.broadleafcommerce.common.copy.MultiTenantCloneable<InternationalMessage>,org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
@Entity
public class InternationalMessageImpl
extends Object
implements InternationalMessage, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
- Author:
- Elbert Bautista (elbertbautista)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected org.broadleafcommerce.common.locale.domain.Localeprotected Stringprotected StringFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends InternationalMessage>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) getId()Unique id of the DB recordorg.broadleafcommerce.common.locale.domain.LocaleReturns a Broadleaf Locale.getName()The name of the property as it exists in property files (for example cart.title)getValue()Returns the property value.voidSets the id of the DB recordvoidsetLocale(org.broadleafcommerce.common.locale.domain.Locale locale) Sets the the Broadleaf Locale value.voidSets the property name.voidSets the property value.
-
Field Details
-
id
-
name
-
value
-
locale
protected org.broadleafcommerce.common.locale.domain.Locale locale
-
-
Constructor Details
-
InternationalMessageImpl
public InternationalMessageImpl()
-
-
Method Details
-
getId
Description copied from interface:InternationalMessageUnique id of the DB record- Specified by:
getIdin interfaceInternationalMessage- Returns:
- the id
-
setId
Description copied from interface:InternationalMessageSets the id of the DB record- Specified by:
setIdin interfaceInternationalMessage
-
getName
Description copied from interface:InternationalMessageThe name of the property as it exists in property files (for example cart.title)- Specified by:
getNamein interfaceInternationalMessage- Returns:
- the name
-
setName
Description copied from interface:InternationalMessageSets the property name.- Specified by:
setNamein interfaceInternationalMessage
-
getValue
Description copied from interface:InternationalMessageReturns the property value.- Specified by:
getValuein interfaceInternationalMessage- Returns:
- the property value
-
setValue
Description copied from interface:InternationalMessageSets the property value.- Specified by:
setValuein interfaceInternationalMessage
-
getLocale
public org.broadleafcommerce.common.locale.domain.Locale getLocale()Description copied from interface:InternationalMessageReturns a Broadleaf Locale.- Specified by:
getLocalein interfaceInternationalMessage- Returns:
- the locale
-
setLocale
public void setLocale(org.broadleafcommerce.common.locale.domain.Locale locale) Description copied from interface:InternationalMessageSets the the Broadleaf Locale value.- Specified by:
setLocalein interfaceInternationalMessage
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceorg.broadleafcommerce.common.admin.domain.AdminMainEntity
-
createOrRetrieveCopyInstance
public <G extends InternationalMessage> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<InternationalMessage>- Throws:
CloneNotSupportedException
-