@Entity public class SiteProfileXrefImpl extends Object implements SiteProfileXref
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id
Use a separate primary key (rather than a composite key with @Embeddedid) to prevent
ConcurrentModificationException from cache
|
protected org.broadleafcommerce.common.site.domain.Site |
profile |
protected org.broadleafcommerce.common.site.domain.Site |
site |
| Constructor and Description |
|---|
SiteProfileXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Unique id of this cross reference.
|
org.broadleafcommerce.common.site.domain.Site |
getProfile()
Returns the associated
Site which must be of type SiteType.PROFILE
"Profiles" are a specialized implementation of the Site entity. |
org.broadleafcommerce.common.site.domain.Site |
getSite()
Returns the associated
Site which must be of type SiteType.TEMPLATE |
void |
setId(Long id)
Sets the unique id.
|
void |
setProfile(org.broadleafcommerce.common.site.domain.Site profile)
Sets the associated Site which must be of type
SiteType.PROFILE
"Profiles" are a specialized implementation of the Site entity. |
void |
setSite(org.broadleafcommerce.common.site.domain.Site site)
Sets the associated Site which must be of type
SiteType.TEMPLATE |
protected Long id
protected org.broadleafcommerce.common.site.domain.Site site
protected org.broadleafcommerce.common.site.domain.Site profile
public Long getId()
SiteProfileXrefgetId in interface SiteProfileXrefpublic void setId(Long id)
SiteProfileXrefsetId in interface SiteProfileXrefpublic org.broadleafcommerce.common.site.domain.Site getSite()
SiteProfileXrefSite which must be of type SiteType.TEMPLATEgetSite in interface SiteProfileXrefpublic void setSite(org.broadleafcommerce.common.site.domain.Site site)
SiteProfileXrefSiteType.TEMPLATEsetSite in interface SiteProfileXrefpublic org.broadleafcommerce.common.site.domain.Site getProfile()
SiteProfileXrefSite which must be of type SiteType.PROFILE
"Profiles" are a specialized implementation of the Site entity.getProfile in interface SiteProfileXrefpublic void setProfile(org.broadleafcommerce.common.site.domain.Site profile)
SiteProfileXrefSiteType.PROFILE
"Profiles" are a specialized implementation of the Site entity.setProfile in interface SiteProfileXrefCopyright © 2020. All rights reserved.