|
|||||||||
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.AttributeBean
public class AttributeBean
The AttributeBean is the value object for asset data related services. It represents an attribute associated with an asset.
Every asset is an instance of an asset type composed of an ensemble of associated properties called attributes. An asset may also be further classified into a sub-type defined using a subset of those attributes from its enclosing type. An attribute is populated with data in the context of an asset.
TypeBean
,
AssetBean
,
Serialized FormConstructor Summary | |
---|---|
AttributeBean()
Default constructor. |
Method Summary | |
---|---|
boolean |
canOverwriteData()
Returns the over-write flag for this attribute. |
java.util.List<java.lang.Object> |
getData()
Returns the data associated with this attribute. |
java.lang.String |
getName()
Returns the name of this attribute. |
void |
setData(java.util.List<java.lang.Object> data)
Sets the data associated with this attribute. |
void |
setName(java.lang.String name)
Sets the name fo this attribute. |
void |
setOverwriteData(boolean overwritedata)
Sets the the over-write flag for this attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeBean()
Default constructor.
Data can be over-written in an attribute built out of this constructor unless explicitly set tofalse
using the
AttributeBean.setOverwriteData(boolean)
method.
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to set for this attribute.public java.util.List<java.lang.Object> getData()
public void setData(java.util.List<java.lang.Object> data)
data
- the data to set for this attribute.public boolean canOverwriteData()
true
if data for this attribute can be
over-written.
true
if data for this attribute can be over-written.public void setOverwriteData(boolean overwritedata)
overwritedata
- set to true
if data for this attribute can be allowed to be
over-written.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |