public class AssetBean extends BaseBean
AssetBean.getType()
should match the string returned by the AssetId.getType()
method.AssetId
, TypeBean
, Serialized FormModifier and Type | Class and Description |
---|---|
static class |
AssetBean.Status
Enumerated values for asset status.
|
Modifier and Type | Field and Description |
---|---|
protected List<AttributeBean> |
attributes
List of attributes
|
protected String |
description
Description of the asset used typically in the UI context.
|
protected AssetId |
id
Unique identifier for this asset
|
protected String |
name
Name of this asset, a unique value within the same type of assets.
|
protected TypeBean |
type
Type of this asset.
|
Constructor and Description |
---|
AssetBean() |
Modifier and Type | Method and Description |
---|---|
List<AttributeBean> |
getAttributes()
Returns the list of attributes for this asset.
|
String |
getDescription()
Returns the description of this asset.
|
AssetId |
getId()
Returns the identifier for this asset.
|
String |
getName()
Returns the name of this asset.
|
TypeBean |
getType()
Gets the type of this asset.
|
void |
setDescription(String description)
Sets the description for this asset.
|
void |
setId(AssetId id)
Sets the identifier for this asset.
|
void |
setName(String name)
Sets the name for this asset.
|
void |
setType(TypeBean type)
Sets the type for this asset.
|
protected AssetId id
protected String name
protected String description
protected TypeBean type
protected final List<AttributeBean> attributes
public AssetId getId()
public void setId(AssetId id)
id
- the id to set for this asset.public String getName()
public void setName(String name)
name
- the name to set for this asset.public String getDescription()
public void setDescription(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 List<AttributeBean> getAttributes()