|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.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:
The type returned by AssetBean.getType() should match the string returned by the AssetId.getType() method.
AssetId, TypeBean, Serialized Form| Nested Class Summary | |
|---|---|
static class |
AssetBean.StatusEnumerated values for asset status. |
| Field Summary | |
|---|---|
protected java.util.List<AttributeBean> |
attributesList of attributes |
protected java.lang.String |
descriptionDescription of the asset used typically in the UI context. |
protected AssetId |
idUnique identifier for this asset |
protected java.lang.String |
nameName of this asset, a unique value within the same type of assets. |
protected TypeBean |
typeType 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 | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.