public class SiteBean extends BaseBean
Constructor and Description |
---|
SiteBean()
Default Constructor.
|
SiteBean(long id)
Overloaded constructor which sets the identifier for the site.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Returns the description of this site.
|
long |
getId()
Returns the numeric identifier for this site.
|
String |
getName()
Returns the name of this site.
|
AssetId |
getPreviewAsset()
Returns the asset identifier for the default asset configured for preview of this site.
|
int |
hashCode() |
void |
setDescription(String description)
Sets the description for this site.
|
void |
setId(long id)
Sets the numeric identifier for this site.
|
void |
setName(String name)
Sets the name of this site.
|
void |
setPreviewAsset(AssetId previewAsset)
Sets the asset identifier for the default asset configured for preview of this site.
|
public SiteBean()
public SiteBean(long id)
id
- the identifier to set.public void setId(long id)
id
- the identifier to set for this site.public long getId()
public void setName(String name)
name
- the name of this site to set.public String getName()
public void setDescription(String description)
description
- the description of this site to set.public String getDescription()
public void setPreviewAsset(AssetId previewAsset)
previewAsset
- the asset identifier to set.public AssetId getPreviewAsset()