|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.impl.AbstractEntityImpl com.elasticpath.domain.catalog.impl.BrandImpl
public class BrandImpl
The default implementation of Product
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Fields inherited from interface com.elasticpath.domain.catalog.Brand |
---|
LOCALIZED_PROPERTY_DISPLAY_NAME |
Constructor Summary | |
---|---|
BrandImpl()
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this object equals to the given object. |
java.lang.String |
getCode()
Returns the brand code. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Get the localized display name for this brand. |
java.lang.String |
getGuid()
Return the guid. |
java.lang.String |
getImageUrl()
Returns the url of the brand logo image. |
LocalizedProperties |
getLocalizedProperties()
Returns the LocalizedProperties . |
java.lang.String |
getSeoUrlWithoutSuffix(java.util.Locale locale)
Get the seo url for this brand. |
int |
hashCode()
Generate the hash code. |
void |
setCode(java.lang.String code)
Sets the brand code. |
void |
setGuid(java.lang.String guid)
Set the guid. |
void |
setImageUrl(java.lang.String imageUrl)
Sets the url of the brand logo image. |
void |
setLocalizedProperties(LocalizedProperties localizedProperties)
Sets the LocalizedProperties . |
Methods inherited from class com.elasticpath.domain.impl.AbstractEntityImpl |
---|
convertAttributeGroupAttributes, setDefaultValues |
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public BrandImpl()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
true
if this object equals to the given object.
equals
in class java.lang.Object
obj
- the given object
true
if this object equals to the given objectpublic java.lang.String getCode()
getCode
in interface Brand
public java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName
in interface Brand
locale
- the current Locale
public java.lang.String getGuid()
getGuid
in interface Entity
getGuid
in class AbstractEntityImpl
public java.lang.String getImageUrl()
getImageUrl
in interface Brand
public LocalizedProperties getLocalizedProperties()
LocalizedProperties
.
getLocalizedProperties
in interface Brand
LocalizedProperties
public java.lang.String getSeoUrlWithoutSuffix(java.util.Locale locale)
getSeoUrlWithoutSuffix
in interface Brand
locale
- the current Locale
public int hashCode()
hashCode
in class java.lang.Object
public void setCode(java.lang.String code)
setCode
in interface Brand
code
- the brand code of the brandpublic void setGuid(java.lang.String guid)
setGuid
in interface Entity
setGuid
in class AbstractEntityImpl
guid
- the guid to set.public void setImageUrl(java.lang.String imageUrl)
setImageUrl
in interface Brand
imageUrl
- the url of the brand logo imagepublic void setLocalizedProperties(LocalizedProperties localizedProperties)
LocalizedProperties
.
localizedProperties
- the LocalizedProperties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |