Interface InternationalMessage
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<InternationalMessage>,Serializable
- All Known Implementing Classes:
InternationalMessageImpl
public interface InternationalMessage
extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<InternationalMessage>
This interface represents a International Message stored in the database.
- Author:
- Elbert Bautista (elbertbautista)
-
Method Summary
Modifier and TypeMethodDescriptiongetId()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.Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId()Unique id of the DB record- Returns:
- the id
-
setId
Sets the id of the DB record- Parameters:
id-
-
getName
String getName()The name of the property as it exists in property files (for example cart.title)- Returns:
- the name
-
setName
Sets the property name.- Parameters:
name-
-
getValue
String getValue()Returns the property value.- Returns:
- the property value
-
setValue
Sets the property value.- Parameters:
value-
-
getLocale
org.broadleafcommerce.common.locale.domain.Locale getLocale()Returns a Broadleaf Locale.- Returns:
- the locale
-
setLocale
void setLocale(org.broadleafcommerce.common.locale.domain.Locale locale) Sets the the Broadleaf Locale value.- Parameters:
locale-
-