com.fatwire.assetapi.data
Interface MutableAssetData

All Superinterfaces:
AssetData
All Known Implementing Classes:
AssetDataImpl

public interface MutableAssetData
extends AssetData

Interface that is a mutable extension of AssetData


Method Summary
 void addAssociation(java.lang.String associationName, java.util.List<AssetId> assets)
          Adds an associations by a given name
 void addAttributeData(AttributeData data)
          Adds an attribute data.
 void removeAttributeData(java.lang.String attributeName)
          Removes an attribute data from collection
 void setAttributeData(java.util.List<AttributeData> data)
          Sets data for this instance of AssetData
 void setParents(java.util.List<AssetId> ids)
          Sets parent assets for this instance of AssetData
 
Methods inherited from interface com.fatwire.assetapi.data.AssetData
getAssetId, getAssetTypeDef, getAssociatedAssets, getAttributeData, getAttributeData, getAttributeNames, getParents
 

Method Detail

setAttributeData

void setAttributeData(java.util.List<AttributeData> data)
Sets data for this instance of AssetData

Parameters:
data - data to set

addAttributeData

void addAttributeData(AttributeData data)
Adds an attribute data.

Parameters:
data - data to add

removeAttributeData

void removeAttributeData(java.lang.String attributeName)
Removes an attribute data from collection

Parameters:
attributeName - attribute to remove

setParents

void setParents(java.util.List<AssetId> ids)
Sets parent assets for this instance of AssetData

Parameters:
ids - ids of parents

addAssociation

void addAssociation(java.lang.String associationName,
                    java.util.List<AssetId> assets)
Adds an associations by a given name

Parameters:
associationName - name of the association to add
assets - to be added as associations.