|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.services.beans.BaseBean
com.fatwire.services.beans.asset.AssetBean
public class AssetBean
The AssetBean is the value object for asset model related servcies. It represents an asset and can hold the following information:
AssetBean.getType()
should match the string returned by
the AssetId.getType()
method.
AssetId
,
TypeBean
,
Serialized FormNested Class Summary | |
---|---|
static class |
AssetBean.Status
Enumerated values for asset status. |
Field Summary | |
---|---|
protected java.util.List<AttributeBean> |
attributes
List of attributes |
protected java.lang.String |
description
Description of the asset used typically in the UI context. |
protected AssetId |
id
Unique identifier for this asset |
protected java.lang.String |
name
Name of this asset, a unique value within the same type of assets. |
protected TypeBean |
type
Type of this asset. |
Constructor Summary | |
---|---|
AssetBean()
|
Method Summary | |
---|---|
java.util.List<AttributeBean> |
getAttributes()
Returns the list of attributes for this asset. |
java.lang.String |
getDescription()
Returns the description of this asset. |
AssetId |
getId()
Returns the identifier for this asset. |
java.lang.String |
getName()
Returns the name of this asset. |
TypeBean |
getType()
Gets the type of this asset. |
void |
setDescription(java.lang.String description)
Sets the description for this asset. |
void |
setId(AssetId id)
Sets the identifier for this asset. |
void |
setName(java.lang.String name)
Sets the name for this asset. |
void |
setType(TypeBean type)
Sets the type for this asset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AssetId id
protected java.lang.String name
protected java.lang.String description
protected TypeBean type
protected final java.util.List<AttributeBean> attributes
Constructor Detail |
---|
public AssetBean()
Method Detail |
---|
public AssetId getId()
public void setId(AssetId id)
id
- the id to set for this asset.public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to set for this asset.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to set for this asset.public TypeBean getType()
public void setType(TypeBean type)
type
- the type to set for this asset.public java.util.List<AttributeBean> getAttributes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |